Class org.jfouffa.jslider.LogoHeader
java.lang.Object
|
+----org.jfouffa.jslider.Header
|
+----org.jfouffa.jslider.LogoHeader
- public class LogoHeader
- extends Header
Defines the logo header.
Constructor index
-
LogoHeader()
-
Method index
-
getEditor(Frame)
- Gets the HeaderEditor associated to this Header.
-
getLogoUrl()
- Gets the logo's url.
-
getType()
- Gets the type of this header.
-
save(TemplateLoader)
- Saves this Header using the specified TemplateLoader.
-
setLogoUrl(String)
- Sets the logo's url to the specified url.
-
setProperties(TemplateLoader, String)
- Sets the properties of this Header using the specified TemplateLoader.
-
toString()
- Returns a string representation of the object.
-
update(HeaderEditor)
- Updates this header with the specified editor.
Constructors
LogoHeader
public LogoHeader()
Methods
getType
public String getType()
- Gets the type of this header.
- Overrides:
- getType in class Header
getLogoUrl
public String getLogoUrl()
- Gets the logo's url.
setLogoUrl
public void setLogoUrl(String logoUrl)
- Sets the logo's url to the specified url.
- Parameters:
- logoUrl - the logo's url
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 Header
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 Header
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 Header
toString
public String toString()
- Returns a string representation of the object.
- Overrides:
- toString in class Object