Class org.jfouffa.jslider.gui.ColorDialog
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Dialog
|
+----org.jfouffa.jslider.gui.ColorDialog
- public class ColorDialog
- extends Dialog
- implements Editor
This class is a Dialog that enables the customization of color properties.
Basically it contains a TextFields for editing the RBG triplets and a
table containing the default CSS color.
Constructor index
-
ColorDialog(Frame)
- Constructs a new ColorDialog with the specified frame as parent and the
specified TextField to edit.
Method index
-
getColor()
- Gets the color's value.
-
getEditorHandler()
- Gets the EditorHandler for this Editor.
-
setEditorHandler(EditorHandler)
- Sets the EditorHandler to the specified object and the specified
handler.
Constructors
ColorDialog
public ColorDialog(Frame parent)
- Constructs a new ColorDialog with the specified frame as parent and the
specified TextField to edit.
- Parameters:
- parent - the parent of this dialog
- colorText - the TextField this dialog is editing
Methods
getColor
public String getColor()
- Gets the color's value.
getEditorHandler
public EditorHandler getEditorHandler()
- Gets the EditorHandler for this Editor.
setEditorHandler
public void setEditorHandler(EditorHandler handler)
- Sets the EditorHandler to the specified object and the specified
handler.
- Parameters:
- handler - the new EditorHandler of this Editor