|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.vaadin.ui.AbstractComponent com.vaadin.ui.AbstractComponentContainer com.vaadin.ui.CustomComponent com.hack23.cia.web.views.common.Navigator
public class Navigator
The Class Navigator.
Nested Class Summary | |
---|---|
static interface |
Navigator.NavigableApplication
The Interface NavigableApplication. |
static interface |
Navigator.View
The Interface View. |
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 | |
---|---|
Navigator()
Instantiates a new navigator. |
Method Summary | |
---|---|
void |
addView(String uri,
Class<?> viewClass)
Adds the view. |
Navigator.View |
getCurrentView()
Gets the current view. |
String |
getMainView()
Gets the main view. |
String |
getUri(Class<?> viewClass)
Gets the uri. |
Class<?> |
getViewClass(String uri)
Gets the view class. |
static com.vaadin.ui.Window |
getWindow(Navigator.NavigableApplication application,
String name,
com.vaadin.ui.Window superGetWindow)
Gets the window. |
void |
navigateTo(Class<?> viewClass)
Navigate to. |
void |
navigateTo(String uri)
Navigate to. |
void |
removeView(String uri)
Removes the view. |
void |
setCurrentView(Navigator.View currentView)
Sets the current view. |
void |
setMainView(String mainViewUri)
Sets the main view. |
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, 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 |
---|
public Navigator()
Method Detail |
---|
public static com.vaadin.ui.Window getWindow(Navigator.NavigableApplication application, String name, com.vaadin.ui.Window superGetWindow)
application
- the applicationname
- the namesuperGetWindow
- the super get window
public final void addView(String uri, Class<?> viewClass)
uri
- the uriviewClass
- the view classpublic final Navigator.View getCurrentView()
public final String getMainView()
public final String getUri(Class<?> viewClass)
viewClass
- the view class
public final Class<?> getViewClass(String uri)
uri
- the uri
public final void navigateTo(Class<?> viewClass)
viewClass
- the view classpublic final void navigateTo(String uri)
uri
- the uripublic final void removeView(String uri)
uri
- the uripublic final void setCurrentView(Navigator.View currentView)
currentView
- the new current viewpublic final void setMainView(String mainViewUri)
mainViewUri
- the new main view
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |