|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface to be implemented by viewer for some part of data. It defines component that will be used to show the data and provides TransactionListener that will be notified about data changes. When transaction is completed then view should be updated if necessary.
| Field Summary | |
static float |
DEFAULT_PRIORITY
|
static java.lang.String |
PRIORITY
Constant used by ViewPart action to specify view parts order when they are located in some tabbed pane or other container. |
static java.lang.String |
STATIC_VIEW
The constant to idicate that view part do not depends from the data, that it is not depends from model passed in explore method. |
| Method Summary | |
boolean |
canExplore(java.lang.Object model)
|
void |
explore(java.lang.Object model,
Document document)
Notifies the view part that it should explore new data. |
javax.swing.Action |
getAction()
Return action that contains information about the view part (display name, icon, etc). |
javax.swing.Action[] |
getActions()
Returns actions that are specific for this view part. |
Document |
getDocument()
Returns document that is edited. |
java.lang.Object |
getModel()
|
javax.swing.JComponent |
getView()
Returns the view. |
| Methods inherited from interface com.beanexplorer.undo.TransactionListener |
addEdit, completeTransaction, startTransaction |
| Field Detail |
public static final java.lang.String PRIORITY
public static final float DEFAULT_PRIORITY
public static final java.lang.String STATIC_VIEW
| Method Detail |
public javax.swing.JComponent getView()
public javax.swing.Action getAction()
public javax.swing.Action[] getActions()
public boolean canExplore(java.lang.Object model)
public void explore(java.lang.Object model,
Document document)
public java.lang.Object getModel()
public Document getDocument()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||