oracle.dacf.style
Class StylesLoader
java.lang.Object
|
+--oracle.dacf.style.StylesLoader
- All Implemented Interfaces:
- StylesUserListener
- public class StylesLoader
- extends java.lang.Object
- implements StylesUserListener
StylesLoader is responsible for serializing the Styles table
and the defaultvalues in the StyleManager.
It also maintains the deltas and serializes them.
The StylesLoader parses and recreates ClientDocuments/ClientElements
using the DTD definition described above.
This DTD definition is hardcoded on the client side, to avoid the need
for a parser in the thin client.
The StyleLayer is the class responsible for saving and delivering the
parsed trees.
- Version:
- INTERNAL
Method Summary |
void |
defaultValueAdded(StylesUserEvent event)
Called when a default value is added or redefined
event.getSource() : returns null
event.getPropertyName() : returns null
event.getOldValue() : returns the old Object
event.getNewValue() : returns the new Object |
static void |
InitLayers(StyleLayer[] layerSources)
Initializes the sources that hold the serialize definition for
every layer. |
void |
styleAdded(StylesUserEvent event)
Called when a Style is added by the StyleManager
event.getSource() : returns the Style being updated
event.getPropertyName() : returns null
event.getOldValue() : returns null
event.getNewValue() : returns null |
void |
styleOverwriteUpdated(StylesUserEvent event)
Called when a StyleOverWrite is updated by the StyleManager
event.getSource() : returns the Style being updated
event.getPropertyName() : returns Name of overwriting component
event.getOldValue() : returns array of old StyleElements
event.getNewValue() : returns array of new StyleElements |
void |
styleRemoved(StylesUserEvent event)
Called when a Style is removed by the StyleManager
event.getSource() : returns the Style being updated
event.getPropertyName() : returns null
event.getOldValue() : returns null
event.getNewValue() : returns null |
void |
styleUpdated(StylesUserEvent event)
Called when a Style is updated by the StyleManager
event.getSource() : returns the Style being updated
event.getPropertyName() : returns null
event.getOldValue() : returns array of old StyleElements
event.getNewValue() : returns array of new StyleElements |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STYLESDEFINITION
public static final java.lang.String STYLESDEFINITION
STYLES
public static final java.lang.String STYLES
DEFAULTVALUES
public static final java.lang.String DEFAULTVALUES
STYLE
public static final java.lang.String STYLE
DEFAULTVALUE
public static final java.lang.String DEFAULTVALUE
OVERRIDE
public static final java.lang.String OVERRIDE
PROPERTY
public static final java.lang.String PROPERTY
NAME
public static final java.lang.String NAME
PARENTSTYLENAME
public static final java.lang.String PARENTSTYLENAME
DESCRIPTION
public static final java.lang.String DESCRIPTION
TYPE
public static final java.lang.String TYPE
VALUE
public static final java.lang.String VALUE
PARENTVALUE
public static final java.lang.String PARENTVALUE
PROTECTED
public static final java.lang.String PROTECTED
InitLayers
public static void InitLayers(StyleLayer[] layerSources)
- Initializes the sources that hold the serialize definition for
every layer. The order in this array defines the requested layer
sequence.
- Parameters:
layerSources
- array of sources holding serialized definitions
styleAdded
public void styleAdded(StylesUserEvent event)
- Called when a Style is added by the StyleManager
event.getSource() : returns the Style being updated
event.getPropertyName() : returns null
event.getOldValue() : returns null
event.getNewValue() : returns null
- Specified by:
styleAdded
in interface StylesUserListener
styleRemoved
public void styleRemoved(StylesUserEvent event)
- Called when a Style is removed by the StyleManager
event.getSource() : returns the Style being updated
event.getPropertyName() : returns null
event.getOldValue() : returns null
event.getNewValue() : returns null
- Specified by:
styleRemoved
in interface StylesUserListener
styleUpdated
public void styleUpdated(StylesUserEvent event)
- Called when a Style is updated by the StyleManager
event.getSource() : returns the Style being updated
event.getPropertyName() : returns null
event.getOldValue() : returns array of old StyleElements
event.getNewValue() : returns array of new StyleElements
- Specified by:
styleUpdated
in interface StylesUserListener
styleOverwriteUpdated
public void styleOverwriteUpdated(StylesUserEvent event)
- Called when a StyleOverWrite is updated by the StyleManager
event.getSource() : returns the Style being updated
event.getPropertyName() : returns Name of overwriting component
event.getOldValue() : returns array of old StyleElements
event.getNewValue() : returns array of new StyleElements
- Specified by:
styleOverwriteUpdated
in interface StylesUserListener
defaultValueAdded
public void defaultValueAdded(StylesUserEvent event)
- Called when a default value is added or redefined
event.getSource() : returns null
event.getPropertyName() : returns null
event.getOldValue() : returns the old Object
event.getNewValue() : returns the new Object
- Specified by:
defaultValueAdded
in interface StylesUserListener