|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface defines the methods necessary to handle the determination of style items that should by applied to the primitives or children of a composite when a style is applied to it.
An implementation of this interface can be registered to the
StyleDescriptorHandlerRegistry and
will then be called during application of a style descriptor.
| Method Summary | |
java.util.Map |
createMapItem2Children(java.util.List basecomposites,
StyleDescriptor style)
Stores the style items that should be used for each of the given basecomposites into a map which is then returned. |
java.util.Map |
createMapItem2Primitives(java.util.List primitives,
StyleDescriptor style)
Stores the style items that should be used for each of the given primitives into a map which is then returned. |
boolean |
willHandleChildren(Composite composite,
StyleDescriptor style)
Returns true, if this handler will handle children of a composite (e.g. |
boolean |
willHandlePrimitives(Composite composite,
StyleDescriptor style)
Returns true, if this handler will handle the primitives of a composite during an apply of a style. |
| Method Detail |
public boolean willHandlePrimitives(Composite composite,
StyleDescriptor style)
composite - The composite containing the primitivesstyle - The style that is currently being applied
public java.util.Map createMapItem2Primitives(java.util.List primitives,
StyleDescriptor style)
primitives - The list of primitives to determine the
style item forstyle - The style descriptor that is currently
being applied
public boolean willHandleChildren(Composite composite,
StyleDescriptor style)
composite - The composite containing the childrenstyle - The style that is currently being applied
public java.util.Map createMapItem2Children(java.util.List basecomposites,
StyleDescriptor style)
basecomposites - The list of composites to determine the
style item forstyle - The style descriptor that is currently
being applied
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||