|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jgoodies.skeleton.domain.Model
com.jgoodies.skeleton.model.NavigationModel
public final class NavigationModel
A presentation model that provides bound properties, operations and Actions for the navigation tree.
Field Summary | |
---|---|
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 | |
---|---|
Action |
getAddFlangeAction()
|
Action |
getAddSegmentAction()
|
Action |
getAddShaftAction()
|
Action |
getDeleteItemAction()
|
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 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
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()
public Action getAddFlangeAction()
public Action getAddSegmentAction()
public Action getAddShaftAction()
public Action getDeleteItemAction()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |