|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
B - Type of the view data.public interface GUIView<B>
View instance.
| Method Summary | |
|---|---|
void |
addViewListener(GUIViewListener<B> listener)
Adds a listener for the view life-cycle |
void |
close()
Actually closes the view |
boolean |
close(boolean force)
Closes the view |
ActionContext |
getActionContext()
Gets the action context for this view |
GUIApplication |
getApplication()
Gets the view owner |
String |
getID()
Gets the ID for the view |
GUIWindow<?> |
getParentWindow()
Gets the parent window. |
JComponent |
getViewComponent()
Gets the view component. |
B |
getViewData()
Data for the view |
GUIViewDescriptor<B> |
getViewDescriptor()
Gets the view descriptor. |
void |
init()
This method when the view is created. |
void |
installToolBar(ActionPathList toolBar,
ActionContext actionContext)
Installs a tool bar in the view |
boolean |
isClosed()
Returns true if the view is closed. |
void |
removeViewListener(GUIViewListener<B> listener)
Removes a listener for the view life-cycle |
void |
show()
Shows the view |
| Methods inherited from interface net.sf.doolin.gui.util.PropertyContainer |
|---|
getProperty, setProperty |
| Method Detail |
|---|
void addViewListener(GUIViewListener<B> listener)
listener - Listener to addvoid close()
boolean close(boolean force)
force - true if the view must be closed.
true if the view could be closedActionContext getActionContext()
GUIApplication getApplication()
String getID()
GUIWindow<?> getParentWindow()
JComponent getViewComponent()
B getViewData()
GUIViewDescriptor<B> getViewDescriptor()
void init()
void installToolBar(ActionPathList toolBar,
ActionContext actionContext)
toolBar - Tool bar specificationactionContext - Action context for the tool barboolean isClosed()
true if the view is closed.
true if the view is closed.void removeViewListener(GUIViewListener<B> listener)
listener - Listener to removevoid show()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||