Class org.jfouffa.jslider.gui.DialogEditor
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Dialog
|
+----org.jfouffa.jslider.gui.DialogEditor
- public abstract class DialogEditor
- extends Dialog
- implements Editor
This class defines a generic dialog that enables style customization for
the generic class Header. A DialogBox needs a controller to call its handle
method in order to update its header.
Constructor index
-
DialogEditor(Frame, String)
- Constructs an initially invisible DialogEditor with a title.
Method index
-
getEditingHeader()
- Gets the header this dialog is editing.
-
getEditorHandler()
- Gets the EditorHandler for this Editor.
-
setEditingHeader(Header)
- Sets the header this dialog will edit to the specified header.
-
setEditorHandler(EditorHandler)
- Sets the EditorHandler to the specified object and the specified
handler.
Constructors
DialogEditor
public DialogEditor(Frame parent,
String title)
- Constructs an initially invisible DialogEditor with a title.
- Parameters:
- parent - the owner of the dialog
- title - the title of the dialog
Methods
getEditingHeader
public Header getEditingHeader()
- Gets the header this dialog is editing.
setEditingHeader
public void setEditingHeader(Header header)
- Sets the header this dialog will edit to the specified header.
- Parameters:
- header - the header this dialog must edit
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