org.xnap.gui.table
Class FilteredTransferContainerTreeTableNode

java.lang.Object
  extended by org.xnap.gui.table.DefaultTreeTableNode
      extended by org.xnap.gui.table.TransferContainerTreeTableNode
          extended by org.xnap.gui.table.FilteredTransferContainerTreeTableNode
All Implemented Interfaces:
java.util.EventListener, ListListener, StateListener, TreeTableNode

public class FilteredTransferContainerTreeTableNode
extends TransferContainerTreeTableNode


Constructor Summary
FilteredTransferContainerTreeTableNode(TransferTableModel model, Transfer transfer)
          Constructs a TransferContainerTreeTableNode.
 
Method Summary
 boolean add(Transfer transfer)
          Creates a LeafTreeTableNode, if data is not already contained in children.
 void remove(Transfer transfer)
           
 void stateChanged(StateEvent event)
          Invoked when the object has changed.
 
Methods inherited from class org.xnap.gui.table.TransferContainerTreeTableNode
addExistingChildren, itemAdded, itemRemoved
 
Methods inherited from class org.xnap.gui.table.DefaultTreeTableNode
add, changed, changedChildAt, children, getChildAt, getChildCount, getData, getIndexOfChildByData, getModel, removeChildAt, sort, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FilteredTransferContainerTreeTableNode

public FilteredTransferContainerTreeTableNode(TransferTableModel model,
                                              Transfer transfer)
Constructs a TransferContainerTreeTableNode.

Parameters:
model - the table model
transfer - the container
Method Detail

add

public boolean add(Transfer transfer)
Creates a LeafTreeTableNode, if data is not already contained in children.

Overrides:
add in class TransferContainerTreeTableNode
Returns:
true, if data was added; false, otherwise

remove

public void remove(Transfer transfer)
Overrides:
remove in class TransferContainerTreeTableNode

stateChanged

public void stateChanged(StateEvent event)
Description copied from interface: StateListener
Invoked when the object has changed. Usually if the object is represented on screen the gui needs to be updated.

Specified by:
stateChanged in interface StateListener
Overrides:
stateChanged in class TransferContainerTreeTableNode


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