com.hack23.cia.web.impl.ui.page.common
Class AbstractPage

Package class diagram package AbstractPage
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.impl.ui.page.common.AbstractPage
All Implemented Interfaces:
Page, 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:
AbstractAdminPage, AbstractUserPage

public abstract class AbstractPage
extends com.vaadin.ui.CustomComponent
implements Page

The Class AbstractPage.

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.ComponentContainer
com.vaadin.ui.ComponentContainer.ComponentAttachEvent, com.vaadin.ui.ComponentContainer.ComponentAttachListener, com.vaadin.ui.ComponentContainer.ComponentDetachEvent, com.vaadin.ui.ComponentContainer.ComponentDetachListener
 
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
 
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
protected AbstractPage()
          Instantiates a new abstract page.
 
Method Summary
protected  com.hack23.cia.service.api.ApplicationManager getApplicationManager()
          Gets the application manager.
protected  com.vaadin.terminal.gwt.server.WebBrowser getBrowser()
          Gets the browser.
protected  com.hack23.cia.service.api.ConfigurationManager getConfigurationManager()
          Gets the configuration manager.
 org.slf4j.Logger getLogger()
          Gets the logger.
abstract  String getPageTitle()
          Gets the page title.
protected  String getScreenHeight()
          Gets the screen height.
protected  ApplicationUserState getUserState()
          Gets the user state.
 void navigateTo(Class<? extends com.vaadin.ui.Component> page)
          Navigate to.
 void navigateTo(Class<? extends com.vaadin.ui.Component> page, String params)
          Navigate to.
protected  String translateFromEnglish(String string)
          Translate from english.
 
Methods inherited from class com.vaadin.ui.CustomComponent
addComponent, getComponentCount, 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, addListener, addStyleName, changeVariables, childRequestedRepaint, fireComponentErrorEvent, fireComponentEvent, fireEvent, focus, getApplication, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorHandler, getErrorMessage, getHeight, getHeightUnits, getIcon, getListeners, getLocale, getParent, getStyle, getStyleName, getWidth, getWidthUnits, getWindow, handleError, hasListeners, isEnabled, isImmediate, isReadOnly, isVisible, paint, removeListener, 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, childRequestedRepaint, getApplication, getCaption, getIcon, getLocale, getParent, getStyleName, getWindow, isEnabled, isReadOnly, isVisible, removeListener, removeStyleName, setCaption, 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, setHeightUnits, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthUnits
 

Constructor Detail

AbstractPage

protected AbstractPage()
Instantiates a new abstract page.

Method Detail

getApplicationManager

protected final com.hack23.cia.service.api.ApplicationManager getApplicationManager()
Gets the application manager.

Returns:
the application manager

getBrowser

protected final com.vaadin.terminal.gwt.server.WebBrowser getBrowser()
Gets the browser.

Returns:
the browser

getConfigurationManager

protected final com.hack23.cia.service.api.ConfigurationManager getConfigurationManager()
Gets the configuration manager.

Returns:
the configuration manager

getLogger

public final org.slf4j.Logger getLogger()
Description copied from interface: Page
Gets the logger.

Specified by:
getLogger in interface Page
Returns:
the logger

getPageTitle

public abstract String getPageTitle()
Description copied from interface: Page
Gets the page title.

Specified by:
getPageTitle in interface Page
Returns:
the page title

getScreenHeight

protected final String getScreenHeight()
Gets the screen height.

Returns:
the screen height

getUserState

protected final ApplicationUserState getUserState()
Gets the user state.

Returns:
the user state

navigateTo

public final void navigateTo(Class<? extends com.vaadin.ui.Component> page)
Description copied from interface: Page
Navigate to.

Specified by:
navigateTo in interface Page
Parameters:
page - the page

navigateTo

public final void navigateTo(Class<? extends com.vaadin.ui.Component> page,
                             String params)
Description copied from interface: Page
Navigate to.

Specified by:
navigateTo in interface Page
Parameters:
page - the page
params - the params

translateFromEnglish

protected final String translateFromEnglish(String string)
Translate from english.

Parameters:
string - the string
Returns:
the string


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