|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doolin.gui.window.descriptor.AbstractGUIWindowDescriptor<B>
net.sf.doolin.gui.window.descriptor.AbstractCompositeGUIWindowDescriptor<B,C>
B - Type of data for the windowC - Type of constraint for the viewspublic abstract class AbstractCompositeGUIWindowDescriptor<B,C>
Window descriptor that contains several views.
| Constructor Summary | |
|---|---|
AbstractCompositeGUIWindowDescriptor()
|
|
| Method Summary | ||
|---|---|---|
protected
|
arrangeView(GUIWindow<B> window,
GUIView<V> view,
C constraint,
DecorationStyle decorationStyle)
Arrange view. |
|
protected abstract
|
arrangeViewInWindow(GUIWindow<B> window,
GUIView<V> view,
JComponent viewDecoratedComponent,
C constraint)
Arrange view. |
|
protected
|
arrangeViewReference(ViewReference<V,C> viewReference,
GUIWindow<B> window)
Arrange view reference. |
|
protected void |
arrangeViews(GUIWindow<B> window)
Arranges the views inside the window. |
|
protected
|
arrangeViewWithReference(GUIWindow<B> window,
ViewReference<V,C> viewReference,
V viewData)
Arrange view with reference. |
|
protected abstract void |
arrangeWindow(GUIWindow<B> window)
Arranges the window. |
|
protected
|
findViewReference(GUIWindow<B> parentWindow,
GUIViewDescriptor<V> viewDescriptor,
V viewData)
Finds a view reference for the given view descriptor and view model. |
|
GUIViewDecorator |
getViewDecorator()
Gets the view decorator. |
|
List<ViewReference<?,C>> |
getViewReferences()
Gets the view references. |
|
|
openView(GUIWindow<B> parentWindow,
GUIViewDescriptor<V> viewDescriptor,
V viewData)
Opens a view in the window |
|
void |
setViewDecorator(GUIViewDecorator viewDecorator)
Sets the view decorator. |
|
void |
setViewReferences(List<ViewReference<?,C>> viewReferences)
Sets the view references. |
|
| Methods inherited from class net.sf.doolin.gui.window.descriptor.AbstractGUIWindowDescriptor |
|---|
activateView, arrange, arrangeActionBars, createWindow, getActionFactory, getCloseAction, getIconId, getIconService, getMenuBar, getSize, getTitleExpression, getToolBars, getWindow, getWindowId, getWindowId, getWindowListeners, hideView, initViewComponent, onCloseWindow, onClosingWindow, onOpenedWindow, setActionFactory, setBeanName, setCloseAction, setIconId, setIconService, setMenuBar, setSize, setTitleExpression, setToolBars, setWindowFactory, setWindowId, setWindowListeners |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.springframework.beans.factory.BeanNameAware |
|---|
setBeanName |
| Constructor Detail |
|---|
public AbstractCompositeGUIWindowDescriptor()
| Method Detail |
|---|
protected <V> void arrangeView(GUIWindow<B> window,
GUIView<V> view,
C constraint,
DecorationStyle decorationStyle)
V - Type of data for the viewwindow - the windowview - the viewconstraint - the constraintdecorationStyle - the decoration style
protected abstract <V> void arrangeViewInWindow(GUIWindow<B> window,
GUIView<V> view,
JComponent viewDecoratedComponent,
C constraint)
V - Type of data for the viewwindow - the windowview - the viewviewDecoratedComponent - the view decorated componentconstraint - the constraint
protected <V> void arrangeViewReference(ViewReference<V,C> viewReference,
GUIWindow<B> window)
V - Type of data for the viewviewReference - the view referencewindow - the windowprotected void arrangeViews(GUIWindow<B> window)
arrangeViews in class AbstractGUIWindowDescriptor<B>window - Window to arrange
protected <V> GUIView<V> arrangeViewWithReference(GUIWindow<B> window,
ViewReference<V,C> viewReference,
V viewData)
V - Type of data for the viewwindow - the windowviewReference - the view referenceviewData - the view data
protected abstract void arrangeWindow(GUIWindow<B> window)
arrangeWindow in class AbstractGUIWindowDescriptor<B>window - Window
protected <V> ViewReference<V,C> findViewReference(GUIWindow<B> parentWindow,
GUIViewDescriptor<V> viewDescriptor,
V viewData)
V - Type of data for the viewparentWindow - Parent windowviewDescriptor - View descriptorviewData - Data for the view
public GUIViewDecorator getViewDecorator()
public List<ViewReference<?,C>> getViewReferences()
public <V> GUIView<V> openView(GUIWindow<B> parentWindow,
GUIViewDescriptor<V> viewDescriptor,
V viewData)
GUIWindowDescriptor
openView in interface GUIWindowDescriptor<B>V - Type of data for the viewparentWindow - Parent windowviewDescriptor - Descriptor for the view to openviewData - Data for the view
public void setViewDecorator(GUIViewDecorator viewDecorator)
viewDecorator - the view decoratorpublic void setViewReferences(List<ViewReference<?,C>> viewReferences)
viewReferences - the new view references
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||