|
||||||||||
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.Column
Represents a column of a Table
.
Constructor Summary | |
Column()
Creates a new instance. |
Method Summary | |
void |
addColumn(Column column)
Adds the given column as child of this column. |
void |
addColumn(Column column,
int index)
Adds the given column as child of this column. |
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.util.ArrayList |
getColumns()
A list of the nested child columns of this column. |
java.awt.geom.Rectangle2D.Double |
getLayout()
Gets the bounding box of this column. |
Column |
getOwner()
The parent column of this column. |
void |
setOwner(Column owner)
Sets the parent column of this column. |
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 Column()
Method Detail |
public Column getOwner()
If this column is at the root level null
is returned.
public void setOwner(Column owner)
Adding the column with addColumn always sets the parent stripe correctly.
owner
- The parent column.public java.util.ArrayList getColumns()
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 addColumn(Column column)
owner
and table
.
column
- The column to add.public void addColumn(Column column, int index)
owner
and table
.
column
- The column to add.index
- The position of the new column.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 |