|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.yworks.yfiles.server.graphml.flexio.data.Stripe
com.yworks.yfiles.server.graphml.flexio.data.Row
Represents a row of a Table
.
Constructor Summary | |
Row()
Creates a new instance. |
Method Summary | |
void |
addRow(Row row)
Adds the given row as child of this row. |
void |
addRow(Row row,
int index)
Adds the given row as child of this row. |
MarkupExtension |
createMarkupExtension(Lookup lookup)
Creates a markup extension that can be used instead of the original class. |
java.util.ArrayList |
getChildren()
Gets a list of this stripe's direct children. |
java.awt.geom.Rectangle2D.Double |
getLayout()
Gets the bounding box of this row. |
Row |
getOwner()
The parent row of this row. |
java.util.ArrayList |
getRows()
A list of the nested child rows of this row. |
void |
setOwner(Row owner)
Sets the parent row of this row. |
Methods inherited from class com.yworks.yfiles.server.graphml.flexio.data.Stripe |
addLabel, addLabel, addLabel, getActualSize, getEffectiveMinSize, getInsets, getLabels, getLeaves, getMinimumSize, getSize, getStyle, getTable, setInsets, setMinimumSize, setSize, setStyle, setTable |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Row()
Method Detail |
public Row getOwner()
If this row is at the root level null
is returned.
public void setOwner(Row owner)
Adding the row with addRow always sets the parent stripe correctly.
owner
- The parent row.public java.util.ArrayList getRows()
public java.util.ArrayList getChildren()
Stripe
Subclasses have to override this method to return a list of their direct children.
getChildren
in class Stripe
public MarkupExtension createMarkupExtension(Lookup lookup)
IMarkupExtensionFactory
createMarkupExtension
in interface IMarkupExtensionFactory
lookup
- The lookup that shall be considered when creating the markup extension.public void addRow(Row row)
owner
and table
.
row
- The row to add.public void addRow(Row row, int index)
owner
and table
.
row
- The row to add.index
- The position of the new row.public java.awt.geom.Rectangle2D.Double getLayout()
The upper left corner of the bounding box is relative to the upper left corner of the node which is bound to this table.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |