All Packages Class Hierarchy This Package Previous Next Index

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

 o DialogEditor(Frame, String)
Constructs an initially invisible DialogEditor with a title.

Method index

 o getEditingHeader()
Gets the header this dialog is editing.
 o getEditorHandler()
Gets the EditorHandler for this Editor.
 o setEditingHeader(Header)
Sets the header this dialog will edit to the specified header.
 o setEditorHandler(EditorHandler)
Sets the EditorHandler to the specified object and the specified handler.

Constructors

 o 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

 o getEditingHeader
 public Header getEditingHeader()
Gets the header this dialog is editing.

 o 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
 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