org.xnap.gui.table
Class LeafTreeTableNode

java.lang.Object
  extended by org.xnap.gui.table.LeafTreeTableNode
All Implemented Interfaces:
TreeTableNode
Direct Known Subclasses:
TransferTreeTableNode

public class LeafTreeTableNode
extends java.lang.Object
implements TreeTableNode

Provides a default implementation for a leaf node in a TreeTableModel.


Constructor Summary
LeafTreeTableNode(java.lang.Object data)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.Object getChildAt(int index)
          Always returns null.
 int getChildCount()
          Always returns 0.
 java.lang.Object getData()
          Returns the data object that is held by this node.
 void sort(java.util.Comparator c)
          Sort all children.
 java.lang.String toString()
          Returns null.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LeafTreeTableNode

public LeafTreeTableNode(java.lang.Object data)
Method Detail

getChildAt

public java.lang.Object getChildAt(int index)
Always returns null.

Specified by:
getChildAt in interface TreeTableNode

getChildCount

public int getChildCount()
Always returns 0.

Specified by:
getChildCount in interface TreeTableNode

getData

public java.lang.Object getData()
Description copied from interface: TreeTableNode
Returns the data object that is held by this node.

Specified by:
getData in interface TreeTableNode

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

sort

public void sort(java.util.Comparator c)
Description copied from interface: TreeTableNode
Sort all children.

Specified by:
sort in interface TreeTableNode

toString

public java.lang.String toString()
Returns null.

Overrides:
toString in class java.lang.Object


Copyright © 2001-2005 XNap Team. All Rights Reserved.