|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jgoodies.binding.beans.Model
com.jgoodies.skeleton.model.NavigationModel
public final class NavigationModel
Provides bound properties, operations and Actions for the navigation tree.
Field Summary | |
---|---|
static String |
ACTION_ADD_FLANGE
|
static String |
ACTION_ADD_SEGMENT
|
static String |
ACTION_ADD_SHAFT
|
static String |
ACTION_DELETE_ITEM
|
static String |
PROPERTYNAME_NAVIGATION_TREE_MODEL
|
static String |
PROPERTYNAME_SELECTION
|
static String |
PROPERTYNAME_SELECTION_TYPE
|
Constructor Summary | |
---|---|
NavigationModel(MainModel mainModel)
Constructs a NavigationModel that has no selection and no tree model. |
Method Summary | |
---|---|
void |
addFlange(ActionEvent e)
|
void |
addSegment(ActionEvent e)
|
void |
addShaft(ActionEvent e)
|
void |
deleteItem(ActionEvent e)
|
TreeModel |
getNavigationTreeModel()
Returns the tree model for the navigation tree. |
TreeSelectionModel |
getNavigationTreeSelectionModel()
Returns the fixed selection model for the navigation tree. |
Object |
getSelection()
Returns the current selection, a domain object. |
Class |
getSelectionType()
Returns the class of the selected domain object. |
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 |
---|
public static final String PROPERTYNAME_SELECTION
public static final String PROPERTYNAME_SELECTION_TYPE
public static final String PROPERTYNAME_NAVIGATION_TREE_MODEL
public static final String ACTION_ADD_SHAFT
public static final String ACTION_ADD_FLANGE
public static final String ACTION_ADD_SEGMENT
public static final String ACTION_DELETE_ITEM
Constructor Detail |
---|
public NavigationModel(MainModel mainModel)
mainModel
- the parent model, the MainModelMethod Detail |
---|
public Object getSelection()
getSelectionType()
public Class getSelectionType()
getSelection()
public TreeModel getNavigationTreeModel()
public TreeSelectionModel getNavigationTreeSelectionModel()
@Action public void addShaft(ActionEvent e)
@Action public void addFlange(ActionEvent e)
@Action public void addSegment(ActionEvent e)
@Action public void deleteItem(ActionEvent e)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |