com.jgoodies.jdiskreport.model
Class MainModel

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

public final class MainModel
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 ACTION_EXPORT
           
static String ACTION_HELP
           
static String ACTION_PRINT
           
static String ACTION_SCAN
           
static String ACTION_UPDATE
           
static String PROPERTYNAME_ROOT_NODE
           
 
Constructor Summary
MainModel(RootNode rootNode)
          Constructs a MainModel for the given root node.
 
Method Summary
 void export(ActionEvent e)
           
 RootNode getRootNode()
           
 GUISettings guiSettings()
           
 void help(ActionEvent e)
           
 com.jgoodies.uifextras.history.History<DirectoryNode> history()
           
 NavigationModel navigationModel()
           
 PresentationModel presentationModel()
           
 void print(ActionEvent e)
           
 void scan(ActionEvent e)
           
 void setRootNode(RootNode newRootNode)
          Sets a new root node.
 void update(ActionEvent e)
           
 
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_ROOT_NODE

public static final String PROPERTYNAME_ROOT_NODE
See Also:
Constant Field Values

ACTION_UPDATE

public static final String ACTION_UPDATE
See Also:
Constant Field Values

ACTION_SCAN

public static final String ACTION_SCAN
See Also:
Constant Field Values

ACTION_EXPORT

public static final String ACTION_EXPORT
See Also:
Constant Field Values

ACTION_PRINT

public static final String ACTION_PRINT
See Also:
Constant Field Values

ACTION_HELP

public static final String ACTION_HELP
See Also:
Constant Field Values
Constructor Detail

MainModel

public MainModel(RootNode rootNode)
Constructs a MainModel for the given root node.

Parameters:
rootNode - the initial root node
Method Detail

navigationModel

public NavigationModel navigationModel()

history

public com.jgoodies.uifextras.history.History<DirectoryNode> history()

presentationModel

public PresentationModel presentationModel()

guiSettings

public GUISettings guiSettings()

getRootNode

public RootNode getRootNode()

setRootNode

public void setRootNode(RootNode newRootNode)
Sets a new root node.

Parameters:
newRootNode - the root node to set
See Also:
getRootNode()

update

@Action
public void update(ActionEvent e)

scan

@Action
public void scan(ActionEvent e)

export

@Action
public void export(ActionEvent e)

print

@Action
public void print(ActionEvent e)

help

@Action
public void help(ActionEvent e)


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