JRubik v0.6

es.aeat.eett.plugins.infoRubik.reports
Class ReportMutableTreeNode

java.lang.Object
  extended byjavax.swing.tree.DefaultMutableTreeNode
      extended byes.aeat.eett.plugins.infoRubik.reports.ReportMutableTreeNode
All Implemented Interfaces:
java.lang.Cloneable, javax.swing.tree.MutableTreeNode, java.io.Serializable, javax.swing.tree.TreeNode

public class ReportMutableTreeNode
extends javax.swing.tree.DefaultMutableTreeNode

Author:
f00992 TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.tree.DefaultMutableTreeNode
 
Field Summary
private static java.lang.String KEY_CONTENT_LEAF
           
static java.lang.String KEY_ID_LEAF
           
private static java.lang.String KEY_REPORT_LEAF
           
private static java.lang.String KEY_REPORT_NODO
           
private  LeafReport leafReport
           
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
(package private) ReportMutableTreeNode(java.lang.Object userObject)
           
 
Method Summary
 ReportMutableTreeNode addLeaf(java.lang.String nameLeaf)
           
 java.lang.String getIDLeafReport()
           
 ReportMutableTreeNode getJobsRootNode()
           
static java.lang.String getKEY_ID_LEAF()
           
static java.lang.String getKEY_REPORT_LEAF()
           
static java.lang.String getKEY_REPORT_NODO()
           
 LeafReport getLeafReport()
           
 ReportMutableTreeNode getReportRootNode()
           
 org.jdom.Element getRootElement()
           
 boolean isEditable()
           
 boolean isEmpty()
           
 boolean isFixecJob()
           
 boolean isReportLeaf()
           
 boolean isReportRootNode()
           
private  boolean isValidIDLeafReport(java.lang.String id)
           
 boolean loadRootElement(org.jdom.Element rootElement)
           
 void setLeafReport(LeafReport leafReport)
           
 void setUserObject(java.lang.Object userObject)
           
 
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, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

KEY_REPORT_NODO

private static final java.lang.String KEY_REPORT_NODO
See Also:
Constant Field Values

KEY_REPORT_LEAF

private static final java.lang.String KEY_REPORT_LEAF
See Also:
Constant Field Values

KEY_CONTENT_LEAF

private static final java.lang.String KEY_CONTENT_LEAF
See Also:
Constant Field Values

KEY_ID_LEAF

public static final java.lang.String KEY_ID_LEAF
See Also:
Constant Field Values

leafReport

private LeafReport leafReport
Constructor Detail

ReportMutableTreeNode

ReportMutableTreeNode(java.lang.Object userObject)
Method Detail

isEditable

public boolean isEditable()

addLeaf

public ReportMutableTreeNode addLeaf(java.lang.String nameLeaf)

setUserObject

public void setUserObject(java.lang.Object userObject)

getIDLeafReport

public java.lang.String getIDLeafReport()

isValidIDLeafReport

private boolean isValidIDLeafReport(java.lang.String id)

isReportRootNode

public boolean isReportRootNode()

isEmpty

public boolean isEmpty()

getReportRootNode

public ReportMutableTreeNode getReportRootNode()

getJobsRootNode

public ReportMutableTreeNode getJobsRootNode()

isReportLeaf

public boolean isReportLeaf()

isFixecJob

public boolean isFixecJob()

getRootElement

public org.jdom.Element getRootElement()

loadRootElement

public boolean loadRootElement(org.jdom.Element rootElement)

getLeafReport

public LeafReport getLeafReport()
Returns:
Returns the leafReport.

setLeafReport

public void setLeafReport(LeafReport leafReport)
Parameters:
leafReport - The leafReport to set.

getKEY_REPORT_LEAF

public static java.lang.String getKEY_REPORT_LEAF()
Returns:
Returns the kEY_REPORT_LEAF.

getKEY_REPORT_NODO

public static java.lang.String getKEY_REPORT_NODO()
Returns:
Returns the kEY_REPORT_NODO.

getKEY_ID_LEAF

public static java.lang.String getKEY_ID_LEAF()
Returns:
Returns the kEY_ID_LEAF.

JRubik v0.6

JRubik v0.6