com.hack23.cia.web.views.navigationview.common
Class AbstractNavigationView

Package class diagram package AbstractNavigationView
java.lang.Object
  extended by com.vaadin.ui.AbstractComponent
      extended by com.vaadin.ui.AbstractComponentContainer
          extended by com.vaadin.ui.CustomComponent
              extended by com.hack23.cia.web.views.navigationview.common.AbstractNavigationView
All Implemented Interfaces:
Navigator.View, com.vaadin.event.MethodEventSource, com.vaadin.terminal.Paintable, com.vaadin.terminal.Sizeable, com.vaadin.terminal.VariableOwner, com.vaadin.ui.Component, com.vaadin.ui.ComponentContainer, Serializable, EventListener
Direct Known Subclasses:
AbstractAdminNavigationView, AbstractParliamentNavigationView, AbstractUserNavigationView

public abstract class AbstractNavigationView
extends com.vaadin.ui.CustomComponent
implements Navigator.View

The Class AbstractNavigationView.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.vaadin.ui.AbstractComponent
com.vaadin.ui.AbstractComponent.ComponentErrorEvent, com.vaadin.ui.AbstractComponent.ComponentErrorHandler
 
Nested classes/interfaces inherited from interface com.vaadin.ui.Component
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.ErrorListener, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listener
 
Nested classes/interfaces inherited from interface com.vaadin.terminal.Paintable
com.vaadin.terminal.Paintable.RepaintRequestEvent, com.vaadin.terminal.Paintable.RepaintRequestListener
 
Nested classes/interfaces inherited from interface com.vaadin.ui.ComponentContainer
com.vaadin.ui.ComponentContainer.ComponentAttachEvent, com.vaadin.ui.ComponentContainer.ComponentAttachListener, com.vaadin.ui.ComponentContainer.ComponentDetachEvent, com.vaadin.ui.ComponentContainer.ComponentDetachListener
 
Field Summary
 
Fields inherited from interface com.vaadin.terminal.Sizeable
SIZE_UNDEFINED, UNIT_SYMBOLS, UNITS_CM, UNITS_EM, UNITS_EX, UNITS_INCH, UNITS_MM, UNITS_PERCENTAGE, UNITS_PICAS, UNITS_PIXELS, UNITS_POINTS
 
Constructor Summary
AbstractNavigationView()
           
 
Method Summary
abstract  com.vaadin.ui.Panel createComponentPanel()
          Creates the component panel.
protected  org.slf4j.Logger getLogger()
          Gets the logger.
protected  Navigator getNavigator()
          Gets the navigator.
protected  String getUriPrefix()
          Gets the uri prefix.
protected  UserSessionDTO getUserSessionDTO()
          Gets the user session dto.
abstract  String getWarningForNavigatingFrom()
          Gets the warning for navigating from.
 void init(Navigator navigator, com.vaadin.Application application)
          Inits the.
abstract  void navigateTo(String requestedDataId)
          Navigate to.
abstract  void process(ModelAndView modelAndView)
          Process.
 
Methods inherited from class com.vaadin.ui.CustomComponent
addComponent, getComponentIterator, getComponentType, getCompositionRoot, moveComponentsFrom, paintContent, removeAllComponents, removeComponent, replaceComponent, setComponentType, setCompositionRoot
 
Methods inherited from class com.vaadin.ui.AbstractComponentContainer
addListener, addListener, attach, detach, fireComponentAttachEvent, fireComponentDetachEvent, removeListener, removeListener, requestRepaintAll, setEnabled, setHeight, setWidth
 
Methods inherited from class com.vaadin.ui.AbstractComponent
addListener, addListener, addListener, addListener, addStyleName, changeVariables, childRequestedRepaint, fireComponentErrorEvent, fireComponentEvent, fireEvent, getApplication, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorHandler, getErrorMessage, getHeight, getHeightUnits, getIcon, getLocale, getParent, getStyle, getStyleName, getTag, getWidth, getWidthUnits, getWindow, handleError, isEnabled, isImmediate, isReadOnly, isVisible, paint, removeListener, removeListener, removeListener, removeListener, removeListener, removeStyleName, requestRepaint, requestRepaintRequests, setCaption, setComponentError, setData, setDebugId, setDescription, setErrorHandler, setHeight, setHeight, setHeightUnits, setIcon, setImmediate, setLocale, setParent, setReadOnly, setSizeFull, setSizeUndefined, setStyle, setStyleName, setVisible, setWidth, setWidth, setWidthUnits
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.vaadin.ui.Component
addListener, addStyleName, attach, childRequestedRepaint, detach, getApplication, getCaption, getIcon, getLocale, getParent, getStyleName, getWindow, isEnabled, isReadOnly, isVisible, removeListener, removeStyleName, setCaption, setEnabled, setIcon, setParent, setReadOnly, setStyleName, setVisible
 
Methods inherited from interface com.vaadin.terminal.Paintable
addListener, getDebugId, paint, removeListener, requestRepaint, requestRepaintRequests, setDebugId
 
Methods inherited from interface com.vaadin.terminal.VariableOwner
changeVariables, isImmediate
 
Methods inherited from interface com.vaadin.terminal.Sizeable
getHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setHeight, setHeightUnits, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidth, setWidthUnits
 

Constructor Detail

AbstractNavigationView

public AbstractNavigationView()
Method Detail

createComponentPanel

public abstract com.vaadin.ui.Panel createComponentPanel()
                                                  throws Exception
Creates the component panel.

Returns:
the panel
Throws:
Exception - the exception

getLogger

protected final org.slf4j.Logger getLogger()
Gets the logger.

Returns:
the logger

getNavigator

protected final Navigator getNavigator()
Gets the navigator.

Returns:
the navigator

getUriPrefix

protected final String getUriPrefix()
Gets the uri prefix.

Returns:
the uri prefix

getUserSessionDTO

protected final UserSessionDTO getUserSessionDTO()
Gets the user session dto.

Returns:
the user session dto

getWarningForNavigatingFrom

public abstract String getWarningForNavigatingFrom()
Description copied from interface: Navigator.View
Gets the warning for navigating from.

Specified by:
getWarningForNavigatingFrom in interface Navigator.View
Returns:
the warning for navigating from

init

public final void init(Navigator navigator,
                       com.vaadin.Application application)
Description copied from interface: Navigator.View
Inits the.

Specified by:
init in interface Navigator.View
Parameters:
navigator - the navigator
application - the application

navigateTo

public abstract void navigateTo(String requestedDataId)
Description copied from interface: Navigator.View
Navigate to.

Specified by:
navigateTo in interface Navigator.View
Parameters:
requestedDataId - the requested data id

process

public abstract void process(ModelAndView modelAndView)
Description copied from interface: Navigator.View
Process.

Specified by:
process in interface Navigator.View
Parameters:
modelAndView - the model and view


Copyright © 2008-2009 www.hack23.com. All Rights Reserved.