|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mindfusion.diagramming.Column
public class Column
Represents a column of cells in a table.
Constructor Summary | |
---|---|
Column()
Used internally to implement serialization functionality. |
|
Column(TableNode table)
Initializes a new instance of the Column class and assigns the specified table as its parent. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Copies the column properties to a new Column instance. |
int |
getColumnStyle()
Gets a value indicating whether this column is automatically resized when the table is resized. |
float |
getWidth()
Gets the width of this column. |
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 |
setColumnStyle(int value)
Sets a value indicating whether this column should be automatically resized when the table is resized. |
void |
setWidth(float value)
Sets the width of this column 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 Column(TableNode table)
table
- The TableNode
that contains this column.public Column()
Method Detail |
---|
public java.lang.Object clone()
clone
in class java.lang.Object
Column
instance.public float getWidth()
public void setWidth(float value)
value
- A float value specifying the column width.public int getColumnStyle()
ColumnStyle
constants.public void setColumnStyle(int value)
value
- One of the ColumnStyle
constants.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 |