|
||||||||||
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 | |
---|---|
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. |
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 |
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)
|
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)
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 addSection(String sectionName, String caption)
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |