org.gnu.gtk

Class ColorSelectionDialog

public class ColorSelectionDialog extends Dialog

Deprecated: This class is part of the java-gnome 2.x family of libraries, which, due to their inefficiency and complexity, are no longer being maintained and have been abandoned by the java-gnome project. This class may in the future have an equivalent in java-gnome 4.0, try looking for org.gnome.gtk.ColorSelectionDialog. You should be aware that there is a considerably different API in the new library: the architecture is completely different and most notably internals are no longer exposed to public view.

The ColorSelectionDialog provides a standard dialog which allows the user to select a color much like the 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)

Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.

Construct a new ColorSelectionDialog.

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

ColorSelectionDialog

public ColorSelectionDialog(Handle handle)

Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.

Construct a ColorSelectionDialog using a handle to a native resource.

Method Detail

getCancelButton

public Button getCancelButton()

Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.

Return the Cancel Button widget for this dialog.

Returns: The Cancel Button.

getColorSelectionDialog

public static ColorSelectionDialog getColorSelectionDialog(Handle handle)

Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.

Internal static factory method to be used by Java-Gnome only.

getColorSelectionWidget

public ColorSelection getColorSelectionWidget()

Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.

Return the ColorSelection widget for this dialog.

Returns: The ColorSelection widget.

getHelpButton

public Button getHelpButton()

Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.

Return the Help Button widget for this dialog.

Returns: The Help Button.

getOKButton

public Button getOKButton()

Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.

Return the OK Button widget for this Dialog.

Returns: The OK Button.

getType

public static Type getType()

Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.

Retrieve the runtime type used by the GLib library.