com.jgoodies.jdiskreport.model
Class NavigationModel

java.lang.Object
  extended by com.jgoodies.binding.beans.Model
      extended by com.jgoodies.jdiskreport.model.NavigationModel
All Implemented Interfaces:
com.jgoodies.binding.beans.Observable, Serializable

public final class NavigationModel
extends com.jgoodies.binding.beans.Model

Provides bound properties, operations and Actions for the navigation tree.

Version:
$Revision: 1.7 $
Author:
Karsten Lentzsch
See Also:
Serialized Form

Field Summary
static String PROPERTYNAME_SELECTION
           
 
Method Summary
 TreeModel getNavigationTreeModel()
          Returns the tree model for the navigation tree.
 TreeSelectionModel getNavigationTreeSelectionModel()
          Returns the fixed selection model for the navigation tree.
 DirectoryNode getSelection()
          Returns the current selection, a directory node.
 
Methods inherited from class com.jgoodies.binding.beans.Model
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, equals, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, fireMultiplePropertiesChanged, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTYNAME_SELECTION

public static final String PROPERTYNAME_SELECTION
See Also:
Constant Field Values
Method Detail

getSelection

public DirectoryNode getSelection()
Returns the current selection, a directory node. This selection will be updated if the selection in the navigation tree changes. During the transition from one tree selection to another this value may hold the old or new selection.

Returns:
the navigation tree selection

getNavigationTreeModel

public TreeModel getNavigationTreeModel()
Returns the tree model for the navigation tree.

Returns:
the tree model for the navigation tree.

getNavigationTreeSelectionModel

public TreeSelectionModel getNavigationTreeSelectionModel()
Returns the fixed selection model for the navigation tree.

Returns:
the fixed selection model for the navigation tree.


Copyright © 2000-2008 JGoodies Karsten Lentzsch. All Rights Reserved.