|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mindfusion.diagramming.Row
public class Row
Represents a row of cells in a table. Rows are the entity to which arrows related to a table are connected.
Constructor Summary | |
---|---|
Row()
Used internally to implement serialization functionality. |
|
Row(TableNode table)
Initializes a new instance of the Row class and assigns the specified table as its parent. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Copies the row properties to a new Row instance. |
AnchorPattern |
getAnchorPattern()
Gets the AnchorPattern assigned to this row. |
boolean |
getExpanded()
Gets a value indicating whether the section of rows below this header row is expanded or collapsed. |
boolean |
getHeader()
Gets a value indicating whether this row is the header of a section of rows. |
float |
getHeight()
Gets the height of this row. |
DiagramLinkList |
getIncomingLinks()
Gets a list of all arrows coming into this row. |
DiagramLinkList |
getOutgoingLinks()
Gets a list of all arrows going out of this row. |
protected void |
loadFromXml(org.w3c.dom.Element xmlElement,
XmlPersistContext context)
|
void |
readExternal(java.io.ObjectInput in)
Implements Externalizable. |
protected void |
saveToXml(org.w3c.dom.Element xmlElement,
XmlPersistContext context)
|
void |
setAnchorPattern(AnchorPattern value)
Sets the AnchorPattern to whose point arrows should be aligned
when connecting to this row. |
void |
setExpanded(boolean value)
Expands or collapses the section of rows below this header row. |
void |
setHeader(boolean value)
Sets a value indicating whether this row should be the header of a section of rows. |
void |
setHeight(float value)
Sets the height of this row and all cells inside it. |
void |
writeExternal(java.io.ObjectOutput out)
Implements Externalizable. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Row(TableNode table)
table
- The TableNode
that contains this row.public Row()
Method Detail |
---|
public java.lang.Object clone()
clone
in class java.lang.Object
Row
object.public float getHeight()
public void setHeight(float value)
value
- A float value specifying the row height.public boolean getHeader()
true
if this row is a header of an expandable
section of table rows, otherwise false
.public void setHeader(boolean value)
value
- true
if this row is a header of an expandable
section of table rows, otherwise false
.public boolean getExpanded()
true
if the section of rows that starts from
a header row is expanded, otherwise false
.public void setExpanded(boolean value)
value
- true
if the section of rows that starts from
a header row should be expanded, otherwise false
.public DiagramLinkList getIncomingLinks()
DiagramLinkList
containing the incoming arrows.public DiagramLinkList getOutgoingLinks()
DiagramLinkList
containing the outgoing arrows.public AnchorPattern getAnchorPattern()
AnchorPattern
assigned to this row.
AnchorPattern
object defining the row's anchor points.public void setAnchorPattern(AnchorPattern value)
AnchorPattern
to whose point arrows should be aligned
when connecting to this row.
value
- An AnchorPattern
object defining the row's anchor points.public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
protected void saveToXml(org.w3c.dom.Element xmlElement, XmlPersistContext context)
protected void loadFromXml(org.w3c.dom.Element xmlElement, XmlPersistContext context) throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |