public class Actionbar
extends com.vaadin.ui.AbstractComponent
Modifier and Type | Class and Description |
---|---|
static class |
Actionbar.ActionTriggerEvent
The event fired when triggering actions from the action bar.
|
static interface |
Actionbar.ActionTriggerListener
The listener interface for triggering actions from the action bar.
|
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listener
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
Constructor and Description |
---|
Actionbar() |
Modifier and Type | Method and Description |
---|---|
void |
addAction(ActionbarItem action,
String sectionName) |
void |
addActionTriggerListener(Actionbar.ActionTriggerListener listener) |
void |
addSection(String sectionName,
String caption) |
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 |
removeActionTriggerListener(Actionbar.ActionTriggerListener listener) |
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 |
setOpen(boolean isOpen) |
void |
setSectionPreview(com.vaadin.server.Resource previewResource,
String sectionName) |
void |
setSectionVisible(String sectionName,
boolean isVisible) |
addListener, addShortcutListener, addStyleName, attach, beforeClientResponse, detach, findAncestor, fireComponentErrorEvent, fireComponentEvent, focus, getActionManager, getCaption, getComponentError, getCustomAttributes, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isEnabled, isImmediate, isOrHasAncestor, isReadOnly, isVisible, readDesign, removeListener, removeShortcutListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setData, setDebugId, setDescription, setEnabled, setHeight, setHeight, setHeightUndefined, setIcon, setId, setImmediate, setLocale, setParent, setPrimaryStyleName, setReadOnly, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidth, setWidthUndefined, writeDesign
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addAttachListener, addDetachListener, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
public void setOpen(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)
public void removeAction(String actionName)
public void removeSection(String sectionName)
public void setSectionPreview(com.vaadin.server.Resource previewResource, String sectionName)
public Map<String,ActionbarSection> getSections()
public void setSectionVisible(String sectionName, boolean isVisible)
public boolean isSectionVisible(String sectionName)
public void setGroupEnabled(String groupName, boolean isEnabled)
public void setGroupEnabled(String groupName, String sectionName, boolean isEnabled)
public void setActionEnabled(String actionName, boolean isEnabled)
public void setActionEnabled(String sectionName, String actionName, boolean isEnabled)
public void registerActionIconResource(String actionName, com.vaadin.server.ThemeResource iconResource)
public void addActionTriggerListener(Actionbar.ActionTriggerListener listener)
public void removeActionTriggerListener(Actionbar.ActionTriggerListener listener)
Copyright © 2015 Magnolia International Ltd.. All rights reserved.