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
-
NoteHeader()
-
Method index
-
getEditor(Frame)
- Gets the HeaderEditor associated to this Header.
-
getText()
- Gets the text of this header.
-
save(TemplateLoader)
- Saves this Header using the specified TemplateLoader.
-
setProperties(TemplateLoader, String)
- Sets the properties of this Header using the specified TemplateLoader.
-
setText(String)
- Sets the text of this header to the specified text.
-
toString()
- Returns a string representation of the object.
-
update(HeaderEditor)
- Updates this header with the specified editor.
Constructors
NoteHeader
public NoteHeader()
Methods
getText
public String getText()
- Gets the text of this header.
setText
public void setText(String text)
- Sets the text of this header to the specified text.
- Parameters:
- text - the text of this header
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
getEditor
public HeaderEditor getEditor(Frame parent)
- Gets the HeaderEditor associated to this Header.
- Overrides:
- getEditor in class Header
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
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
toString
public String toString()
- Returns a string representation of the object.
- Overrides:
- toString in class Object