public class ChooseColorDialog
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
ChooseColorDialog.Options
Options class represents options set for ChooseColorDialog
|
Constructor and Description |
---|
ChooseColorDialog() |
ChooseColorDialog(java.awt.Window owner) |
Modifier and Type | Method and Description |
---|---|
boolean |
execute()
Opens the dialog.
|
java.awt.Color |
getColor()
Returns a selected color.
|
java.util.List |
getCustomColors()
Returns the list of custom colors selected by user.
|
protected com.jniwrapper.Callback |
getDialogCallback() |
ChooseColorDialog.Options |
getOptions() |
java.awt.Window |
getOwner() |
void |
setColor(java.awt.Color color)
Sets the default selected color.
|
void |
setOwner(java.awt.Window owner)
Sets the owner of the dialog.
|
public ChooseColorDialog()
public ChooseColorDialog(java.awt.Window owner)
public java.awt.Window getOwner()
public void setOwner(java.awt.Window owner)
owner
- public ChooseColorDialog.Options getOptions()
ChooseColorDialog.Options
that contains dialog options. These options
customize the dialog behavior and style.public java.awt.Color getColor()
public void setColor(java.awt.Color color)
color
- is color to be selected by defaultpublic java.util.List getCustomColors()
protected com.jniwrapper.Callback getDialogCallback()
public boolean execute()