|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectchrriis.uihierarchy.accessor.AccessorFactory
The factory that is used to create the accessors.
Constructor Summary | |
AccessorFactory()
Construct an AccessorFactory. |
Method Summary | |
Accessor |
createAccessor(UIHConfig uihConfig,
HLevel[] hLevels)
Create an accessor for some levels of a hierarchy. |
Accessor |
newAccessor(UIHConfig uihConfig,
HLevel[] hLevels)
Create an accessor for some levels of a hierarchy. |
ParentLevelAccessor |
newParentLevelAccessor(UIHConfig uihConfig,
HParentLevel hParentLevel)
Create an accessor for a single parent level of a hierarchy. |
SingleLevelAccessor |
newSingleLevelAccessor(UIHConfig uihConfig,
HLevel hLevel)
Create an accessor for a single level of a hierarchy. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AccessorFactory()
Method Detail |
public final Accessor createAccessor(UIHConfig uihConfig, HLevel[] hLevels)
newAccessor(UIHConfig, HLevel[])
which is called when more
than one level is to be handled. When only one level is concerned
newSingleLevelAccessor(UIHConfig, HLevel)
is invoked.
uihConfig
- The configuration that this accessor is going to use.hLevels
- The levels for which to create the accessor.
public ParentLevelAccessor newParentLevelAccessor(UIHConfig uihConfig, HParentLevel hParentLevel)
newSingleLevelAccessor(...)
to create an accessor that
manipulates a single parent level. This method may be overriden when
defining a new factory.
uihConfig
- The configuration that this accessor is going to use.hParentLevel
- The parent level for which to create the accessor.
public SingleLevelAccessor newSingleLevelAccessor(UIHConfig uihConfig, HLevel hLevel)
newParentLevelAccessor(...)
when the level is a
parent level.
uihConfig
- The configuration that this accessor is going to use.hLevel
- The level for which to create the accessor.
public Accessor newAccessor(UIHConfig uihConfig, HLevel[] hLevels)
uihConfig
- The hierarchy configuration that this accessor is going
to act on.hLevels
- The levels for which to create the accessor.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |