| HEADER | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | 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 | |
final static float | DEFAULT_PRIORITY |
final static String | PRIORITYConstant used by ViewPart action to specify view parts order when they are located in some tabbed pane or other container. |
final static String | STATIC_VIEWThe 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(Object model) |
void | explore(Object model, Document document)Notifies the view part that it should explore new data. |
Action | getAction()Return action that contains information about the view part (display name, icon, etc). |
Action[] | getActions()Returns actions that are specific for this view part. |
Document | getDocument()Returns document that is edited. |
Object | getModel() |
JComponent | getView()Returns the view. |
| Field Detail |
public final static float DEFAULT_PRIORITY
public final static String PRIORITY
public final static String STATIC_VIEW
| Method Detail |
public boolean canExplore(Object model)
false then parent can disable this tab.public void explore(Object model, Document document)
public Action getAction()
public Action[] getActions()
public Document getDocument()
public Object getModel()
public JComponent getView()
| Association Links |
to Class java.lang.String
| FOOTER | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||