Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.arranger.jarl.shell.views
Class JarlObjectViewTree.JarlObjectInfoTreeNode  view JarlObjectViewTree.JarlObjectInfoTreeNode download JarlObjectViewTree.JarlObjectInfoTreeNode.java

java.lang.Object
  extended bycom.arranger.jarl.shell.views.JarlObjectViewTree.JarlTreeNode
      extended bycom.arranger.jarl.shell.views.JarlObjectViewTree.JarlObjectInfoTreeNode
All Implemented Interfaces:
javax.swing.tree.TreeNode
Enclosing class:
JarlObjectViewTree

public static class JarlObjectViewTree.JarlObjectInfoTreeNode
extends JarlObjectViewTree.JarlTreeNode


Field Summary
protected  boolean m_expandedChildren
           
protected  com.arranger.jarl.base.IJarlObject m_jarlObject
           
protected  com.arranger.jarl.base.IJarlObjectInfo m_jarlObjectInfo
           
protected  java.lang.String m_jarlObjectName
           
 
Fields inherited from class com.arranger.jarl.shell.views.JarlObjectViewTree.JarlTreeNode
m_childVector, m_parent
 
Constructor Summary
JarlObjectViewTree.JarlObjectInfoTreeNode(javax.swing.tree.TreeNode parent, com.arranger.jarl.base.IJarlObject jarlObject, com.arranger.jarl.base.IJarlObjectInfo jarlObjectInfo)
          This is for leafs (leaves)
JarlObjectViewTree.JarlObjectInfoTreeNode(javax.swing.tree.TreeNode parent, com.arranger.jarl.base.IJarlObject jarlObject, java.lang.String jarlObjectName)
          This will contain more children
 
Method Summary
protected  void addCollection(java.util.Collection collection)
           
 boolean getAllowsChildren()
          Returns true if the receiver allows children.
 com.arranger.jarl.base.IJarlObject getJarlObject()
           
 boolean isLeaf()
          Returns true if the receiver is a leaf.
 java.lang.String toString()
          Convert this Object to a human-readable String.
 
Methods inherited from class com.arranger.jarl.shell.views.JarlObjectViewTree.JarlTreeNode
children, getChildAt, getChildCount, getIndex, getParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_jarlObjectName

protected java.lang.String m_jarlObjectName

m_jarlObject

protected com.arranger.jarl.base.IJarlObject m_jarlObject

m_jarlObjectInfo

protected com.arranger.jarl.base.IJarlObjectInfo m_jarlObjectInfo

m_expandedChildren

protected boolean m_expandedChildren
Constructor Detail

JarlObjectViewTree.JarlObjectInfoTreeNode

public JarlObjectViewTree.JarlObjectInfoTreeNode(javax.swing.tree.TreeNode parent,
                                                 com.arranger.jarl.base.IJarlObject jarlObject,
                                                 java.lang.String jarlObjectName)
This will contain more children


JarlObjectViewTree.JarlObjectInfoTreeNode

public JarlObjectViewTree.JarlObjectInfoTreeNode(javax.swing.tree.TreeNode parent,
                                                 com.arranger.jarl.base.IJarlObject jarlObject,
                                                 com.arranger.jarl.base.IJarlObjectInfo jarlObjectInfo)
This is for leafs (leaves)

Method Detail

getJarlObject

public com.arranger.jarl.base.IJarlObject getJarlObject()

getAllowsChildren

public boolean getAllowsChildren()
Returns true if the receiver allows children.

Specified by:
getAllowsChildren in interface javax.swing.tree.TreeNode
Overrides:
getAllowsChildren in class JarlObjectViewTree.JarlTreeNode

isLeaf

public boolean isLeaf()
Returns true if the receiver is a leaf.

Specified by:
isLeaf in interface javax.swing.tree.TreeNode
Overrides:
isLeaf in class JarlObjectViewTree.JarlTreeNode

toString

public java.lang.String toString()
Description copied from class: java.lang.Object
Convert this Object to a human-readable String. There are no limits placed on how long this String should be or what it should contain. We suggest you make it as intuitive as possible to be able to place it into System.out.println() 55 and such.

It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.

This method will be called when performing string concatenation with this object. If the result is null, string concatenation will instead use "null".

The default implementation returns getClass().getName() + "@" + Integer.toHexString(hashCode()).


addCollection

protected void addCollection(java.util.Collection collection)