|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.umber.crucible.old.templates.generic.GenericOp org.umber.crucible.old.templates.generic.ContentOp org.umber.crucible.old.templates.generic.GroupOp
A vertical or horizontal container of other ops, depending on whether the op was a <row> or <column> element. Can have a border and insets.
Constructor Summary | |
GroupOp(Datum op,
StyleMap styleMap)
Creates a new instance of a vertically oriented GroupOp. |
|
GroupOp(Datum op,
StyleMap styleMap,
int orientation)
Creates a new instance of a GroupOp. |
|
GroupOp(Datum op,
StyleMap styleMap,
StyleChain chain)
Creates a new instance of a vertically oriented GroupOp with an optional StyleChain fallback. |
|
GroupOp(Datum op,
StyleMap styleMap,
StyleChain chain,
int orientation)
Creates a new instance of a GroupOp with an optional StyleChain fallback. |
Method Summary | |
boolean |
isHorizontal()
Determines if this group op should be oriented horizontally. |
boolean |
isVertical()
Determines if this group op should be oriented vertically. |
java.util.List |
resolve(Datum xmlNode)
Runs a Datum XML node through the op and returns a List of LayoutArea objects. |
Methods inherited from class org.umber.crucible.old.templates.generic.GenericOp |
createOp, createOp, getChain, getDatum, getDatumProperty, getOp, getOpType, getParameter, getStyleMap, resolveParameter, resolvePath, runQuery |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GroupOp(Datum op, StyleMap styleMap)
op
- the XML template op to wrapstyleMap
- the StyleMap to lookup named styles inpublic GroupOp(Datum op, StyleMap styleMap, StyleChain chain)
op
- the XML template op to wrapstyleMap
- the StyleMap to lookup named styles inchain
- optional fallback StyleChainpublic GroupOp(Datum op, StyleMap styleMap, int orientation)
op
- the XML template op to wrapstyleMap
- the StyleMap to lookup named styles inorientation
- the axis to arrange child objects along; can be
LayoutGroup.VERTICAL or LayoutGroup.HORIZONTALpublic GroupOp(Datum op, StyleMap styleMap, StyleChain chain, int orientation)
op
- the XML template op to wrapstyleMap
- the StyleMap to lookup named styles inchain
- optional fallback StyleChainorientation
- the axis to arrange child objects along; can be
LayoutGroup.VERTICAL or LayoutGroup.HORIZONTALMethod Detail |
public boolean isVertical()
public boolean isHorizontal()
public java.util.List resolve(Datum xmlNode)
resolve
in class GenericOp
xmlNode
- the input data node to run through the op
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |