|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.vaadin.server.AbstractClientConnector com.vaadin.ui.AbstractComponent com.vaadin.ui.AbstractComponentContainer com.vaadin.ui.AbstractLayout com.vaadin.ui.AbstractOrderedLayout com.vaadin.ui.VerticalLayout info.magnolia.ui.workbench.WorkbenchViewImpl
public class WorkbenchViewImpl
Implementation of the workbench view.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface info.magnolia.ui.workbench.WorkbenchView |
---|
WorkbenchView.Listener |
Nested classes/interfaces inherited from interface com.vaadin.ui.Layout |
---|
com.vaadin.ui.Layout.AlignmentHandler, com.vaadin.ui.Layout.MarginHandler, com.vaadin.ui.Layout.SpacingHandler |
Nested classes/interfaces inherited from interface com.vaadin.ui.HasComponents |
---|
com.vaadin.ui.HasComponents.ComponentAttachDetachNotifier, com.vaadin.ui.HasComponents.ComponentAttachEvent, com.vaadin.ui.HasComponents.ComponentAttachListener, com.vaadin.ui.HasComponents.ComponentDetachEvent, com.vaadin.ui.HasComponents.ComponentDetachListener |
Nested classes/interfaces inherited from interface com.vaadin.ui.Component |
---|
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listener |
Nested classes/interfaces inherited from interface com.vaadin.server.ClientConnector |
---|
com.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener |
Nested classes/interfaces inherited from interface com.vaadin.server.Sizeable |
---|
com.vaadin.server.Sizeable.Unit |
Field Summary | |
---|---|
protected com.vaadin.ui.Panel |
keyboardEventPanel
|
Fields inherited from class com.vaadin.ui.AbstractOrderedLayout |
---|
ALIGNMENT_DEFAULT, components |
Fields inherited from interface com.vaadin.server.Sizeable |
---|
SIZE_UNDEFINED, UNITS_CM, UNITS_EM, UNITS_EX, UNITS_INCH, UNITS_MM, UNITS_PERCENTAGE, UNITS_PICAS, UNITS_PIXELS, UNITS_POINTS |
Constructor Summary | |
---|---|
WorkbenchViewImpl(info.magnolia.i18nsystem.SimpleTranslator i18n)
|
Method Summary | |
---|---|
void |
addContentView(String viewType,
ContentView view,
ContentPresenterDefinition contentViewDefintion)
Use this method to add sub views hosted by this view. |
com.vaadin.ui.Component |
asVaadinComponent()
Returns the Vaadin component managed by this view. |
void |
bindKeyboardHandlers()
|
ContentView |
getSelectedView()
|
com.vaadin.event.Action.Container |
getshortcutActionManager()
|
void |
setListener(WorkbenchView.Listener listener)
|
void |
setMultiselect(boolean multiselect)
Whether the user can select more items. |
void |
setSearchQuery(String query)
Updates the search box with given search query. |
void |
setStatusBarView(StatusBarView statusBar)
Use this method to add a status bar to this sub app view. |
void |
setViewType(String type)
|
Methods inherited from class com.vaadin.ui.AbstractOrderedLayout |
---|
addComponent, addComponent, addComponentAsFirst, addLayoutClickListener, addListener, getComponent, getComponentAlignment, getComponentCount, getComponentIndex, getDefaultComponentAlignment, getExpandRatio, getMargin, getState, isSpacing, iterator, removeComponent, removeLayoutClickListener, removeListener, replaceComponent, setComponentAlignment, setDefaultComponentAlignment, setExpandRatio, setMargin, setMargin, setSpacing |
Methods inherited from class com.vaadin.ui.AbstractComponentContainer |
---|
addComponentAttachListener, addComponentDetachListener, addComponents, addListener, addListener, fireComponentAttachEvent, fireComponentDetachEvent, getComponentIterator, moveComponentsFrom, removeAllComponents, removeComponentAttachListener, removeComponentDetachListener, removeListener, removeListener, setHeight, setWidth |
Methods inherited from class com.vaadin.ui.AbstractComponent |
---|
addListener, addShortcutListener, addStyleName, attach, beforeClientResponse, detach, findAncestor, fireComponentErrorEvent, fireComponentEvent, focus, getActionManager, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getState, getStyleName, getWidth, getWidthUnits, isConnectorEnabled, isEnabled, isImmediate, isReadOnly, isVisible, removeListener, removeShortcutListener, removeStyleName, setCaption, setComponentError, setData, setDebugId, setDescription, setEnabled, setHeight, setIcon, setId, setImmediate, setLocale, setParent, setPrimaryStyleName, setReadOnly, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth |
Methods inherited from class com.vaadin.server.AbstractClientConnector |
---|
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hasListeners, isAttached, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource |
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.ComponentContainer |
---|
addComponents, addListener, addListener, getComponentIterator, moveComponentsFrom, removeAllComponents, removeListener, removeListener |
Methods inherited from interface com.vaadin.ui.Component |
---|
addListener, addStyleName, attach, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isReadOnly, isVisible, removeListener, removeStyleName, setCaption, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setReadOnly, setStyleName, setVisible |
Methods inherited from interface com.vaadin.server.ClientConnector |
---|
addAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler |
Methods inherited from interface com.vaadin.shared.Connector |
---|
getConnectorId |
Methods inherited from interface com.vaadin.server.Sizeable |
---|
getHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setSizeFull, setSizeUndefined, setWidth, setWidth |
Methods inherited from interface com.vaadin.ui.HasComponents.ComponentAttachDetachNotifier |
---|
addComponentAttachListener, addComponentDetachListener, removeComponentAttachListener, removeComponentDetachListener |
Field Detail |
---|
protected final com.vaadin.ui.Panel keyboardEventPanel
Constructor Detail |
---|
@Inject public WorkbenchViewImpl(info.magnolia.i18nsystem.SimpleTranslator i18n)
Method Detail |
---|
public com.vaadin.event.Action.Container getshortcutActionManager()
getshortcutActionManager
in interface WorkbenchView
public void bindKeyboardHandlers()
public void setSearchQuery(String query)
WorkbenchView
setSearchQuery
in interface WorkbenchView
public void addContentView(String viewType, ContentView view, ContentPresenterDefinition contentViewDefintion)
WorkbenchView
addContentView
in interface WorkbenchView
public void setViewType(String type)
setViewType
in interface WorkbenchView
public void setStatusBarView(StatusBarView statusBar)
WorkbenchView
setStatusBarView
in interface WorkbenchView
public ContentView getSelectedView()
getSelectedView
in interface WorkbenchView
public com.vaadin.ui.Component asVaadinComponent()
View
asVaadinComponent
in interface View
public void setListener(WorkbenchView.Listener listener)
setListener
in interface WorkbenchView
public void setMultiselect(boolean multiselect)
WorkbenchView
setMultiselect
in interface WorkbenchView
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |