|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
sg.edu.nus.gui.dbview.ColumnNode
public class ColumnNode
A customized node in the DBTree to represent the column
of tables in database
DefaultMutableTreeNode
,
TableNode
,
Serialized FormField Summary |
---|
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
---|
EMPTY_ENUMERATION |
Constructor Summary | |
---|---|
ColumnNode(java.lang.String columnName)
Constructor |
Method Summary | |
---|---|
java.lang.String |
getName()
Return the name of the column |
java.lang.String |
getNodeType()
|
boolean |
getShared()
Return the share symbol of the column |
boolean |
isTemShare()
|
boolean |
isTemUnshare()
|
void |
setName(java.lang.String columnName)
Set the string value as the name of column |
void |
setNodeType(java.lang.String nodeType)
|
void |
setShared(boolean shared)
Set the boolean value as the share symbol of column |
void |
setTemShare(boolean temShare)
|
void |
setTemUnshare(boolean temUnshare)
|
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode |
---|
add, breadthFirstEnumeration, children, clone, 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, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ColumnNode(java.lang.String columnName)
columnName
- - the name of the columnMethod Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String columnName)
columnName
- - the name of columnpublic boolean getShared()
public void setShared(boolean shared)
shared
- - the share symbol of columnpublic boolean isTemShare()
public void setTemShare(boolean temShare)
temShare
- the temShare to setpublic boolean isTemUnshare()
public void setTemUnshare(boolean temUnshare)
temUnshare
- the temUnshare to setpublic java.lang.String getNodeType()
public void setNodeType(java.lang.String nodeType)
nodeType
- the nodeType to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |