All Packages Class Hierarchy This Package Previous Next Index

Class org.jfouffa.jslider.NoteHeader

java.lang.Object
   |
   +----org.jfouffa.jslider.Header
           |
           +----org.jfouffa.jslider.TextHeader
                   |
                   +----org.jfouffa.jslider.NoteHeader

public class NoteHeader
extends TextHeader
Defines a header storing notes.


Constructor index

 o NoteHeader()

Method index

 o getEditor(Frame)
Gets the HeaderEditor associated to this Header.
 o getText()
Gets the text of this header.
 o save(TemplateLoader)
Saves this Header using the specified TemplateLoader.
 o setProperties(TemplateLoader, String)
Sets the properties of this Header using the specified TemplateLoader.
 o setText(String)
Sets the text of this header to the specified text.
 o toString()
Returns a string representation of the object.
 o update(HeaderEditor)
Updates this header with the specified editor.

Constructors

 o NoteHeader
 public NoteHeader()

Methods

 o getText
 public String getText()
Gets the text of this header.

 o setText
 public void setText(String text)
Sets the text of this header to the specified text.

Parameters:
text - the text of this header
 o update
 public void update(HeaderEditor editor)
Updates this header with the specified editor.

Parameters:
editor - the editor that contains the new attributs for thsi header
Overrides:
update in class TextHeader
 o getEditor
 public HeaderEditor getEditor(Frame parent)
Gets the HeaderEditor associated to this Header.

Overrides:
getEditor in class Header
 o setProperties
 public void setProperties(TemplateLoader loader,
                           String index)
Sets the properties of this Header using the specified TemplateLoader.

Parameters:
loader - the TemplateLoader
index - the index of this header (the string format)
Overrides:
setProperties in class TextHeader
 o save
 public void save(TemplateLoader loader)
Saves this Header using the specified TemplateLoader.

Parameters:
loader - the template loader to use for saving
Overrides:
save in class TextHeader
 o toString
 public String toString()
Returns a string representation of the object.

Overrides:
toString in class Object