|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
org.jgraph.graph.DefaultGraphCell
tico.board.components.TComponent
tico.board.components.TGridCell
public class TGridCell
Defines a TGridCell
and its attributes. A TGridCell
is allways part of a TGrid
.
Field Summary | |
---|---|
static java.lang.String |
TYPE
The TGridCell type used as attribute in XML encoding and decoding. |
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
---|
EMPTY_ENUMERATION |
Constructor Summary | |
---|---|
TGridCell()
Creates a new TGridCell . |
|
TGridCell(int row,
int column)
Creates a new TGridCell with the specified initial
row and column attributes. |
Method Summary | |
---|---|
TGrid |
getGrid()
Returns the grid cell parent grid . |
java.lang.String |
getId()
Returns the component id . |
java.lang.String |
newId()
Generates a new id for this component. |
static TGridCell |
XMLDecode(org.w3c.dom.Element element)
Returns a TGridCell object from the data contained in
the XML Element . |
org.w3c.dom.Node |
XMLEncode(org.w3c.dom.Document doc)
Generates an XML Element that contains the component information. |
Methods inherited from class tico.board.components.TComponent |
---|
toString, XMLDecodeType |
Methods inherited from class org.jgraph.graph.DefaultGraphCell |
---|
changeAttributes, clone, getAttributes, getChildren, setAttributes |
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode |
---|
add, breadthFirstEnumeration, children, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static java.lang.String TYPE
TGridCell
type used as attribute in XML encoding and decoding.
Constructor Detail |
---|
public TGridCell()
TGridCell
.
public TGridCell(int row, int column)
TGridCell
with the specified initial
row
and column
attributes.
row
- The specified initial row
column
- The specified initial column
Method Detail |
---|
public java.lang.String newId()
TComponent
newId
in class TComponent
public java.lang.String getId()
TComponent
id
.
getId
in class TComponent
id
public TGrid getGrid()
grid
.
grid
public org.w3c.dom.Node XMLEncode(org.w3c.dom.Document doc)
TComponent
Element
that contains the component information.
XMLEncode
in class TComponent
doc
- The Document
represents that represents the
entire XML document
Element
generatedpublic static TGridCell XMLDecode(org.w3c.dom.Element element) throws InvalidFormatException
TGridCell
object from the data contained in
the XML Element
.
element
- The XML Element
that contains the cell data
TGridCell
InvalidFormatException
- If Element
has an invalid format
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |