|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.jzeno.echo.GenericStyle
public class GenericStyle
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface net.sf.jzeno.echo.StyleManager |
|---|
StyleManager.MetaData |
| Constructor Summary | |
|---|---|
GenericStyle()
|
|
| Method Summary | |
|---|---|
java.lang.Class |
getDemoPanelClass(java.lang.String styleName)
Gets the class of the DemoPanel that is visualized when editing a given style. |
java.lang.String |
getDescription(java.lang.String styleName)
Gets the description for a given style. |
java.util.List |
getMetaData(java.lang.String styleName)
Returns a list of StyleManager.MetaData objects, describing all possible properties for the given style. |
Style |
getStyle(java.lang.String styleName)
Gets the Style with the given name. |
java.util.List |
getStyleNames()
Gives a list with all the style names known to this style manager. |
void |
remove(java.lang.String styleName)
Deletes a given style from the style manager. |
void |
save()
Instructs the style manager to persist the current styles. |
void |
setDemoPanelClass(java.lang.String styleName,
java.lang.Class demoPanelClass)
Sets the class of the DemoPanel that is visualized when editing a given style. |
void |
setDescription(java.lang.String styleName,
java.lang.String description)
Sets the description for a given style. |
void |
setMetaData(java.lang.String styleName,
java.util.List metaDataList)
Creates/Replaces a given style. |
void |
setStyle(java.lang.String styleName,
Style style)
Sets the Style with the given name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GenericStyle()
| Method Detail |
|---|
public Style getStyle(java.lang.String styleName)
StyleManagerGets the Style with the given name.
getStyle in interface StyleManager
public void setStyle(java.lang.String styleName,
Style style)
StyleManagerSets the Style with the given name.
setStyle in interface StyleManagerpublic java.util.List getStyleNames()
StyleManagerGives a list with all the style names known to this style manager.
getStyleNames in interface StyleManagerpublic void save()
StyleManagerInstructs the style manager to persist the current styles.
save in interface StyleManagerpublic java.util.List getMetaData(java.lang.String styleName)
StyleManagerReturns a list of StyleManager.MetaData objects, describing all possible properties for the given style.
getMetaData in interface StyleManager
public void setMetaData(java.lang.String styleName,
java.util.List metaDataList)
StyleManagerCreates/Replaces a given style. You need to supply the style's name, the class of a DemoPanel that needs to be shown when editing this Style (or null if no DemoPanel is available), and a list of StyleManager.MetaData objects, that describe all possible properties that are applicable for this Style.
setMetaData in interface StyleManagerpublic java.lang.Class getDemoPanelClass(java.lang.String styleName)
StyleManagerGets the class of the DemoPanel that is visualized when editing a given style.
getDemoPanelClass in interface StyleManager
public void setDemoPanelClass(java.lang.String styleName,
java.lang.Class demoPanelClass)
StyleManagerSets the class of the DemoPanel that is visualized when editing a given style.
setDemoPanelClass in interface StyleManagerpublic java.lang.String getDescription(java.lang.String styleName)
StyleManagerGets the description for a given style.
getDescription in interface StyleManager
public void setDescription(java.lang.String styleName,
java.lang.String description)
StyleManagerSets the description for a given style.
setDescription in interface StyleManagerpublic void remove(java.lang.String styleName)
StyleManagerDeletes a given style from the style manager.
remove in interface StyleManager
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||