public class ActionbarItemWidget
extends com.google.gwt.user.client.ui.Widget
Modifier and Type | Field and Description |
---|---|
protected ActionbarItem |
data |
protected com.googlecode.mgwt.ui.client.widget.touch.TouchDelegate |
delegate |
protected com.google.web.bindery.event.shared.EventBus |
eventBus |
protected VActionbarGroup |
group |
protected boolean |
isEnabled |
Constructor and Description |
---|
ActionbarItemWidget(ActionbarItem data,
VActionbarGroup group,
com.google.web.bindery.event.shared.EventBus eventBus)
Instantiates a new action in action bar.
|
ActionbarItemWidget(ActionbarItem data,
VActionbarGroup group,
com.google.web.bindery.event.shared.EventBus eventBus,
com.vaadin.client.ui.Icon icon)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
bindHandlers() |
ActionbarItem |
getData() |
String |
getName() |
boolean |
isEnabled() |
void |
setEnabled(boolean enabled) |
void |
update() |
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
protected final ActionbarItem data
protected final com.google.web.bindery.event.shared.EventBus eventBus
protected VActionbarGroup group
protected com.googlecode.mgwt.ui.client.widget.touch.TouchDelegate delegate
protected boolean isEnabled
@Deprecated public ActionbarItemWidget(ActionbarItem data, VActionbarGroup group, com.google.web.bindery.event.shared.EventBus eventBus, com.vaadin.client.ui.Icon icon)
data
- the data json objecteventBus
- the event busicon
- the icon
Use #VActionbarItem(VActionbarItemJSO, VActionbarGroup, EventBus)
instead.public ActionbarItemWidget(ActionbarItem data, VActionbarGroup group, com.google.web.bindery.event.shared.EventBus eventBus)
data
- the data json objectgroup
- the groupeventBus
- the event busprotected void bindHandlers()
public String getName()
public void setEnabled(boolean enabled)
public boolean isEnabled()
public void update()
public ActionbarItem getData()
Copyright © 2015 Magnolia International Ltd.. All rights reserved.