net.sf.doolin.gui.window.descriptor
Class TabbedGUIWindowDescriptor<B>

java.lang.Object
  extended by net.sf.doolin.gui.window.descriptor.AbstractGUIWindowDescriptor<B>
      extended by net.sf.doolin.gui.window.descriptor.AbstractCompositeGUIWindowDescriptor<B,Object>
          extended by net.sf.doolin.gui.window.descriptor.TabbedGUIWindowDescriptor<B>
Type Parameters:
B - Type of data for the window
All Implemented Interfaces:
GUIWindowDescriptor<B>, org.springframework.beans.factory.BeanNameAware

public class TabbedGUIWindowDescriptor<B>
extends AbstractCompositeGUIWindowDescriptor<B,Object>

Window descriptor that arranges views in their own tabs.

Author:
Damien Coraboeuf

Constructor Summary
TabbedGUIWindowDescriptor()
           
 
Method Summary
protected
<V> void
arrangeViewInWindow(GUIWindow<B> window, GUIView<V> view, JComponent viewDecoratedComponent, Object constraint)
          Arrange view.
protected  void arrangeWindow(GUIWindow<B> window)
          Arranges the window.
 
Methods inherited from class net.sf.doolin.gui.window.descriptor.AbstractCompositeGUIWindowDescriptor
arrangeView, arrangeViewReference, arrangeViews, arrangeViewWithReference, findViewReference, getViewDecorator, getViewReferences, openView, setViewDecorator, setViewReferences
 
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

TabbedGUIWindowDescriptor

public TabbedGUIWindowDescriptor()
Method Detail

arrangeViewInWindow

protected <V> void arrangeViewInWindow(GUIWindow<B> window,
                                       GUIView<V> view,
                                       JComponent viewDecoratedComponent,
                                       Object constraint)
Description copied from class: AbstractCompositeGUIWindowDescriptor
Arrange view.

Specified by:
arrangeViewInWindow in class AbstractCompositeGUIWindowDescriptor<B,Object>
Type Parameters:
V - Type of data for the view
Parameters:
window - the window
view - the view
viewDecoratedComponent - the view decorated component
constraint - the constraint

arrangeWindow

protected void arrangeWindow(GUIWindow<B> window)
Description copied from class: AbstractCompositeGUIWindowDescriptor
Arranges the window.

Specified by:
arrangeWindow in class AbstractCompositeGUIWindowDescriptor<B,Object>
Parameters:
window - Window


Copyright © 2011. All Rights Reserved.