public class GralColorSelector extends java.lang.Object
#openDialog(String, GralUserAction)
the window is placed in foreground in a concurrently mode.
The user have to implement a instance of GralColorSelector.SetColorIfc
. This interface instance
is used as parameter for openDialog(String, SetColorIfc)
to receive the color. The user should show
its graphic with the selected color immediately to see the effect in the users context.Modifier and Type | Class and Description |
---|---|
static class |
GralColorSelector.SetColorFor
Enumeration to specify what's color is changed.
|
static interface |
GralColorSelector.SetColorIfc
The user can build some instances with this interface.
|
Modifier and Type | Field and Description |
---|---|
static int |
version
Version, history and license.
|
Constructor and Description |
---|
GralColorSelector(java.lang.String name,
GralMngBuild_ifc mng)
Creates the dialog window to select colors.
|
Modifier and Type | Method and Description |
---|---|
void |
openDialog(java.lang.String sTitle,
GralColorSelector.SetColorIfc actionSelect)
Opens the window with the given title.
|
public static final int version
public GralColorSelector(java.lang.String name, GralMngBuild_ifc mng)
openDialog(String, SetColorIfc)
to open the window and specify the destination for selecting colors.public void openDialog(java.lang.String sTitle, GralColorSelector.SetColorIfc actionSelect)
sTitle
- The title of the windowactionSelect
- called method on press any color button.