org.gnu.gtk

Class ColorSelectionDialog

public class ColorSelectionDialog extends Dialog

The ColorSelectionDialog provides a standard dialog which allows the user to select a color much like the {@link FileSelection} provides a standard dialog for file selection.
Constructor Summary
ColorSelectionDialog(String title)
Construct a new ColorSelectionDialog.
ColorSelectionDialog(Handle handle)
Construct a ColorSelectionDialog using a handle to a native resource.
Method Summary
ButtongetCancelButton()
Return the Cancel Button widget for this dialog.
static ColorSelectionDialoggetColorSelectionDialog(Handle handle)
Internal static factory method to be used by Java-Gnome only.
ColorSelectiongetColorSelectionWidget()
Return the ColorSelection widget for this dialog.
ButtongetHelpButton()
Return the Help Button widget for this dialog.
ButtongetOKButton()
Return the OK Button widget for this Dialog.
static TypegetType()
Retrieve the runtime type used by the GLib library.

Constructor Detail

ColorSelectionDialog

public ColorSelectionDialog(String title)
Construct a new ColorSelectionDialog.

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

ColorSelectionDialog

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

Method Detail

getCancelButton

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

Returns: The Cancel Button.

getColorSelectionDialog

public static ColorSelectionDialog getColorSelectionDialog(Handle handle)
Internal static factory method to be used by Java-Gnome only.

getColorSelectionWidget

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

Returns: The ColorSelection widget.

getHelpButton

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

Returns: The Help Button.

getOKButton

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

Returns: The OK Button.

getType

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