|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jniwrapper.win32.ui.dialogs.ChooseColorDialog
ChooseColorDialog is a wrapper for the ChooseColor native dialog.
| Nested Class Summary | |
class |
ChooseColorDialog.Options
Options class represents options set for ChooseColorDialog |
| Constructor Summary | |
ChooseColorDialog()
|
|
ChooseColorDialog(java.awt.Window owner)
|
|
| Method Summary | |
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ChooseColorDialog()
public ChooseColorDialog(java.awt.Window owner)
| Method Detail |
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()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||