org.gnu.gtk
Class ColorSelectionDialog

java.lang.Object
  |
  +--org.gnu.glib.GObject
        |
        +--org.gnu.gtk.GtkObject
              |
              +--org.gnu.gtk.Widget
                    |
                    +--org.gnu.gtk.Container
                          |
                          +--org.gnu.gtk.Bin
                                |
                                +--org.gnu.gtk.Window
                                      |
                                      +--org.gnu.gtk.Dialog
                                            |
                                            +--org.gnu.gtk.ColorSelectionDialog

public class ColorSelectionDialog
extends Dialog

The ColorSelectionDialog provides a standard dialog which allows the user to select a color much like the FileSelectionDialog provides a standard dialog for file selection.


Constructor Summary
ColorSelectionDialog(int handle)
          Construct a ColorSelectionDialog using a handle to a native resource.
ColorSelectionDialog(java.lang.String title)
          Construct a new ColorSelectionDialog.
 
Method Summary
 Button getCancelButton()
          Return the Cancel Button widget for this dialog.
 ColorSelection getColorSelectionWidget()
          Return the ColorSelection widget for this dialog.
 Button getHelpButton()
          Return the Help Button widget for this dialog.
 Button getOKButton()
          Return the OK Button widget for this Dialog.
static Type getType()
          Retrieve the runtime type used by the GLib library.
 
Methods inherited from class org.gnu.gtk.Dialog
addButton, addListener, addWidget, getActionArea, getDialogLayout, getEventListenerClass, getEventType, getHasSeparator, removeListener, run, setDefaultResponse, setHasSeparator
 
Methods inherited from class org.gnu.gtk.Window
addAccelGroup, deiconify, getFocusWidget, getGravity, getPosition, getSize, getTitle, iconify, maximize, move, present, removeAccelGroup, resize, setDecorated, setDefaultSize, setDefaultWidget, setFocusWidget, setGeometryHints, setGravity, setIcon, setModal, setPosition, setResizable, setTitle, stick, unmaximize, unstick
 
Methods inherited from class org.gnu.gtk.Bin
getChild
 
Methods inherited from class org.gnu.gtk.Container
add, addListener, getBorderWidth, getResizeMode, remove, removeListener, resizeChildren, setBorderWidth, setResizeMode
 
Methods inherited from class org.gnu.gtk.Widget
activate, addListener, addListener, addListener, addListener, addListener, addListener, createContext, createLayout, destroy, draw, drawArea, drawArea, getAccessible, getColormap, getContext, getModifierStyle, getName, getParent, getParentWindow, getPointer, getSensitive, getStyle, getToplevel, grabDefault, grabFocus, hasFocus, hide, hideAll, intersect, isAncestor, makeWidget, modifyStyle, popColormap, pushColormap, realize, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, reparent, setBackgroundColor, setBaseColor, setColormap, setDoubleBuffered, setDragDestination, setDragSource, setFont, setForegroundColor, setMinimumSize, setName, setNoDragDestination, setNoDragSource, setSensitive, setTextColor, shapeCombineMask, show, showAll
 
Methods inherited from class org.gnu.glib.GObject
addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, equals, getData, getHandle, removeEventHandler, setData
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorSelectionDialog

public ColorSelectionDialog(java.lang.String title)
Construct a new ColorSelectionDialog.

Parameters:
title - The text to display on the title bar of the dialog.

ColorSelectionDialog

public ColorSelectionDialog(int handle)
Construct a ColorSelectionDialog using a handle to a native resource.

Method Detail

getOKButton

public Button getOKButton()
Return the OK Button widget for this Dialog.

Returns:
The OK Button.

getCancelButton

public Button getCancelButton()
Return the Cancel Button widget for this dialog.

Returns:
The Cancel Button.

getHelpButton

public Button getHelpButton()
Return the Help Button widget for this dialog.

Returns:
The Help Button.

getColorSelectionWidget

public ColorSelection getColorSelectionWidget()
Return the ColorSelection widget for this dialog.

Returns:
The ColorSelection widget.

getType

public static Type getType()
Retrieve the runtime type used by the GLib library.


Please send any bug reports, comments, or suggestions for the API or documentation to java-gnome-developer@lists.sf.net