All Packages Class Hierarchy This Package Previous Next Index

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

 o ColorDialog(Frame)
Constructs a new ColorDialog with the specified frame as parent and the specified TextField to edit.

Method index

 o getColor()
Gets the color's value.
 o getEditorHandler()
Gets the EditorHandler for this Editor.
 o setEditorHandler(EditorHandler)
Sets the EditorHandler to the specified object and the specified handler.

Constructors

 o 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

 o getColor
 public String getColor()
Gets the color's value.

 o getEditorHandler
 public EditorHandler getEditorHandler()
Gets the EditorHandler for this Editor.

 o 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