|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IlpStyleManager
Style manager interface. The style manager provides access to styles kept in memory or stored in the underlying storage. It also creates new styles when a requested style does not already exist.
| Method Summary | |
|---|---|
void |
cleanup()
Deprecated. Forces the Style Manager to clean up unnecessary styles, or styles that correspond to objects that are no longer needed by the application. |
IlpStyle |
getExistingStyle(IlpStyleContext id)
Deprecated. Gets a style by style context. |
IlpStyle |
getStyle(Class clazz)
Deprecated. Gets a style by Java class. |
IlpStyle |
getStyle(IlpAttribute attribute)
Deprecated. Gets a style by attribute. |
IlpStyle |
getStyle(IlpAttribute attribute,
IlpClass clazz)
Deprecated. Gets a style by attribute in the given class. |
IlpStyle |
getStyle(IlpClass clazz)
Deprecated. Gets a style by IlpClass. |
IlpStyle |
getStyle(IlpObject object)
Deprecated. Gets a style by IlpObject. |
IlpStyle |
getStyle(IlpStyleContext id)
Deprecated. Gets a style by style context. |
IlpStyle |
getStyle(String name)
Deprecated. Gets a style by name. |
List |
getStyleContexts()
Deprecated. Gets a list of all style contexts for available styles. |
void |
recustomizeStyles()
Deprecated. Updates the contents of the styles after the style sheets have changed. |
boolean |
removeStyle(IlpStyleContext id)
Deprecated. Removes an instance style from the currently buffered styles. |
void |
resetStyles()
Deprecated. Cleans the contents of all currently buffered styles. |
| Method Detail |
|---|
IlpStyle getStyle(String name)
name - Name of style to retrieve.
IlpStyle getStyle(IlpClass clazz)
IlpClass. This method is used for IlpClass styles.
clazz - IlpClass of style.
IlpStyle getStyle(IlpObject object)
IlpObject. This method is used for IlpObject
instance styles.
object - The IlpObject of the style.
IlpStyle getStyle(IlpAttribute attribute)
attribute - The IlpAttribute of the style.
IlpStyle getStyle(IlpAttribute attribute,
IlpClass clazz)
IlpClass passed as parameter is used. The IlpClass where the
attribute was initially defined must be assignable from the given IlpClass.
attribute - The IlpAttribute of the style.clazz - The business class that has access to the given attribute.
IlpStyle getStyle(Class clazz)
clazz - The class of the style.
IlpStyle getExistingStyle(IlpStyleContext id)
id - The identifier of the style.
null
if the style does not yet exist.IlpStyle getStyle(IlpStyleContext id)
id - The identifier of the style.
boolean removeStyle(IlpStyleContext id)
id - The style context identifying the style.
true if the style identified by the given style
context has been removed.List getStyleContexts()
IlpStyleContexts for all available styles.void resetStyles()
void recustomizeStyles()
void cleanup()
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||