org.viewaframework.widget.view
Class MasterView<E>

java.lang.Object
  extended by org.viewaframework.view.AbstractViewContainer
      extended by org.viewaframework.view.DefaultViewContainer
          extended by org.viewaframework.view.DefaultViewContainerEditor
              extended by org.viewaframework.widget.view.MasterView<E>
Type Parameters:
E -
All Implemented Interfaces:
RootPaneContainer, ViewControllerAware, ApplicationAware, MessageAware, ViewModelAware, ComponentsAware, DelegatorAware, ViewContainerEventAware, ViewContainerEventControllerAware, ViewContainer, ViewContainerEditor

public abstract class MasterView<E>
extends DefaultViewContainerEditor

Author:
mario

Field Summary
 
Fields inherited from interface org.viewaframework.view.ViewContainer
CONTENTPANE, FRAME, MENUBAR, ROOTPANE, TOOLBAR
 
Constructor Summary
MasterView(String id, List<MasterViewColumn> columns)
           
 
Method Summary
 List<ViewActionDescriptor> getActionDescriptors()
           
 List<MasterViewColumn> getColumns()
           
 List<Delegator> getDelegators()
           
abstract  Class<E> getMasterType()
           
 MasterViewModel<E> getModel()
           
 void setColumns(List<MasterViewColumn> columns)
           
 void setDelegators(List<Delegator> delegators)
           
 void setModel(MasterViewModel<E> model)
           
 
Methods inherited from class org.viewaframework.view.AbstractViewContainer
addDelegator, addModelValue, addViewContainerListener, fireViewClose, fireViewFinalUIState, fireViewInit, fireViewInitBackActions, fireViewInitUIState, getApplication, getComponentByName, getComponentsByName, getContainer, getContentPane, getGlassPane, getIconImage, getId, getJToolBar, getLayeredPane, getMessage, getMessageBundle, getModelValue, getNamedComponents, getRootPane, getTitle, getViewContainerListeners, getViewControllerMap, getViewModelMap, removeDelegator, removeViewContainerListener, setActionDescriptors, setApplication, setContentPane, setGlassPane, setIconImage, setId, setJToolbar, setLayeredPane, setMessageBundle, setNamedComponents, setTitle, setViewContainerListeners, setViewControllerMap, setViewModelMap, viewClose, viewFinalUIState, viewInit, viewInitBackActions, viewInitUIState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.viewaframework.view.ViewContainer
getIconImage, getId, getJToolBar, getTitle, setActionDescriptors, setIconImage, setId, setJToolbar, setTitle, viewClose, viewFinalUIState, viewInit, viewInitBackActions, viewInitUIState
 
Methods inherited from interface org.viewaframework.view.event.ViewContainerEventAware
fireViewClose, fireViewFinalUIState, fireViewInit, fireViewInitBackActions, fireViewInitUIState
 
Methods inherited from interface org.viewaframework.view.event.ViewContainerEventControllerAware
addViewContainerListener, getViewContainerListeners, removeViewContainerListener, setViewContainerListeners
 
Methods inherited from interface org.viewaframework.core.ApplicationAware
getApplication, setApplication
 
Methods inherited from interface org.viewaframework.view.ComponentsAware
getComponentByName, getComponentsByName, getNamedComponents, setNamedComponents
 
Methods inherited from interface org.viewaframework.controller.ViewControllerAware
getViewControllerMap, setViewControllerMap
 
Methods inherited from interface org.viewaframework.model.ViewModelAware
addModelValue, getModelValue, getViewModelMap, setViewModelMap
 
Methods inherited from interface org.viewaframework.view.delegator.DelegatorAware
addDelegator, removeDelegator
 
Methods inherited from interface javax.swing.RootPaneContainer
getContentPane, getGlassPane, getLayeredPane, getRootPane, setContentPane, setGlassPane, setLayeredPane
 
Methods inherited from interface org.viewaframework.core.MessageAware
getMessage, getMessageBundle, setMessageBundle
 

Constructor Detail

MasterView

public MasterView(String id,
                  List<MasterViewColumn> columns)
Method Detail

getActionDescriptors

public List<ViewActionDescriptor> getActionDescriptors()
Specified by:
getActionDescriptors in interface ViewContainer
Overrides:
getActionDescriptors in class AbstractViewContainer
Returns:

getColumns

public List<MasterViewColumn> getColumns()

getDelegators

public List<Delegator> getDelegators()
Specified by:
getDelegators in interface DelegatorAware
Overrides:
getDelegators in class AbstractViewContainer

getMasterType

public abstract Class<E> getMasterType()
Returns:

getModel

public MasterViewModel<E> getModel()
Returns:

setColumns

public void setColumns(List<MasterViewColumn> columns)

setDelegators

public void setDelegators(List<Delegator> delegators)
Specified by:
setDelegators in interface DelegatorAware
Overrides:
setDelegators in class AbstractViewContainer

setModel

public void setModel(MasterViewModel<E> model)
Parameters:
model -


Copyright © 2010. All Rights Reserved.