|
||||||||||
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 info.magnolia.ui.vaadin.actionbar.Actionbar
public class Actionbar
The Actionbar widget, consisting of sections and groups of actions.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface info.magnolia.ui.vaadin.actionbar.ActionbarView |
---|
ActionbarView.Listener |
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 |
---|
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 | |
---|---|
Actionbar()
|
Method Summary | |
---|---|
void |
addAction(ActionbarItem action,
String sectionName)
|
void |
addSection(String sectionName,
String caption)
|
Actionbar |
asVaadinComponent()
Returns the Vaadin component managed by this view. |
Map<String,ActionbarSection> |
getSections()
|
protected ActionbarState |
getState()
|
protected ActionbarState |
getState(boolean markAsDirty)
|
boolean |
isSectionVisible(String sectionName)
|
void |
registerActionIconResource(String actionName,
com.vaadin.server.ThemeResource iconResource)
|
void |
removeAction(String actionName)
|
void |
removeSection(String sectionName)
|
void |
setActionEnabled(String actionName,
boolean isEnabled)
|
void |
setActionEnabled(String sectionName,
String actionName,
boolean isEnabled)
|
void |
setGroupEnabled(String groupName,
boolean isEnabled)
|
void |
setGroupEnabled(String groupName,
String sectionName,
boolean isEnabled)
|
void |
setListener(ActionbarView.Listener listener)
|
void |
setOpen(boolean isOpen)
|
void |
setOpened(boolean isOpen)
|
void |
setSectionPreview(com.vaadin.server.Resource previewResource,
String sectionName)
|
void |
setSectionVisible(String sectionName,
boolean isVisible)
|
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, getStyleName, getWidth, getWidthUnits, isConnectorEnabled, isEnabled, isImmediate, isReadOnly, isVisible, removeListener, removeShortcutListener, removeStyleName, setCaption, setComponentError, setData, setDebugId, setDescription, setEnabled, setHeight, setHeight, setIcon, setId, setImmediate, setLocale, setParent, setPrimaryStyleName, setReadOnly, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, 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.Component |
---|
getUI |
Methods inherited from interface com.vaadin.server.ClientConnector |
---|
addAttachListener, addDetachListener, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler |
Methods inherited from interface com.vaadin.shared.Connector |
---|
getConnectorId |
Constructor Detail |
---|
public Actionbar()
Method Detail |
---|
public void setOpen(boolean isOpen)
setOpen
in interface ActionbarView
public Actionbar asVaadinComponent()
View
asVaadinComponent
in interface View
public void setListener(ActionbarView.Listener listener)
setListener
in interface ActionbarView
public void setOpened(boolean isOpen)
protected ActionbarState getState()
getState
in class com.vaadin.ui.AbstractComponent
protected ActionbarState getState(boolean markAsDirty)
getState
in class com.vaadin.ui.AbstractComponent
public void addAction(ActionbarItem action, String sectionName)
addAction
in interface ActionbarView
public void removeAction(String actionName)
removeAction
in interface ActionbarView
public void addSection(String sectionName, String caption)
addSection
in interface ActionbarView
public void removeSection(String sectionName)
removeSection
in interface ActionbarView
public void setSectionPreview(com.vaadin.server.Resource previewResource, String sectionName)
setSectionPreview
in interface ActionbarView
public Map<String,ActionbarSection> getSections()
public void setSectionVisible(String sectionName, boolean isVisible)
setSectionVisible
in interface ActionbarView
public boolean isSectionVisible(String sectionName)
isSectionVisible
in interface ActionbarView
public void setGroupEnabled(String groupName, boolean isEnabled)
setGroupEnabled
in interface ActionbarView
public void setGroupEnabled(String groupName, String sectionName, boolean isEnabled)
setGroupEnabled
in interface ActionbarView
public void setActionEnabled(String actionName, boolean isEnabled)
setActionEnabled
in interface ActionbarView
public void setActionEnabled(String sectionName, String actionName, boolean isEnabled)
setActionEnabled
in interface ActionbarView
public void registerActionIconResource(String actionName, com.vaadin.server.ThemeResource iconResource)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |