Class TimeTableFrame.TimeTableTreeNode

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode
    Enclosing class:
    TimeTableFrame

    static class TimeTableFrame.TimeTableTreeNode
    extends javax.swing.tree.DefaultMutableTreeNode
    Timetable Tree Node Definition.
    • Field Summary

      • Fields inherited from class javax.swing.tree.DefaultMutableTreeNode

        allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
    • Constructor Summary

      Constructors 
      Constructor Description
      TimeTableTreeNode​(java.lang.String nameText, java.lang.String type, int sysId, int row)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getId()  
      int getRow()  
      java.lang.String getText()  
      java.lang.String getType()  
      void setId​(int newId)  
      void setRow​(int newRow)  
      void setText​(java.lang.String newText)  
      java.lang.String toString()  
      • 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, getPathToRoot, 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, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TimeTableTreeNode

        public TimeTableTreeNode​(java.lang.String nameText,
                                 java.lang.String type,
                                 int sysId,
                                 int row)
    • Method Detail

      • getType

        public java.lang.String getType()
      • getId

        public int getId()
      • setId

        public void setId​(int newId)
      • getRow

        public int getRow()
      • setRow

        public void setRow​(int newRow)
      • getText

        public java.lang.String getText()
      • setText

        public void setText​(java.lang.String newText)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class javax.swing.tree.DefaultMutableTreeNode