|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.gwt.user.client.ui.UIObject com.google.gwt.user.client.ui.Widget com.google.gwt.user.client.ui.Panel com.google.gwt.user.client.ui.ComplexPanel info.magnolia.ui.vaadin.gwt.client.actionbar.widget.ActionbarWidgetViewImpl
public class ActionbarWidgetViewImpl
The Class VActionbarViewImpl, GWT implementation for the VActionbarView interface.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
---|
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
Nested classes/interfaces inherited from interface info.magnolia.ui.vaadin.gwt.client.actionbar.widget.ActionbarWidgetView |
---|
ActionbarWidgetView.Presenter |
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets |
---|
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget |
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.IndexedPanel |
---|
com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget |
Field Summary | |
---|---|
static String |
CLASSNAME
|
static String |
CLASSNAME_TOGGLE
|
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
---|
DEBUG_ID_PREFIX |
Constructor Summary | |
---|---|
ActionbarWidgetViewImpl(com.google.web.bindery.event.shared.EventBus eventBus,
ActionbarWidgetView.Presenter presenter)
|
Method Summary | |
---|---|
void |
addAction(ActionbarItem actionParams,
String sectionName)
|
void |
addSection(ActionbarSection sectionParams)
|
Map<String,ActionbarSectionWidget> |
getSections()
Gets the section widgets inside this action bar view. |
boolean |
isOpen()
|
void |
onActionTriggered(ActionTriggerEvent event)
|
void |
refreshActionsPositionsTablet()
Update the classes on the actions so that they are positioned correctly. |
void |
setDisabledActions(Collection<ActionbarItem> disabledActions)
|
void |
setOpen(boolean isOpen)
|
void |
setPresenter(ActionbarWidgetView.Presenter presenter)
Sets the presenter. |
void |
setSectionPreview(String sectionName,
String previewUrl)
|
void |
setSections(Collection<ActionbarSection> newSections)
|
void |
setVisibleSections(Collection<ActionbarSection> visibleSections)
|
Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel |
---|
add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, remove |
Methods inherited from class com.google.gwt.user.client.ui.Panel |
---|
add, add, adopt, adopt, clear, disown, doAttachChildren, doDetachChildren, orphan, remove |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
---|
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents |
Methods inherited from class com.google.gwt.user.client.ui.UIObject |
---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.google.gwt.user.client.ui.HasWidgets |
---|
add, clear, iterator, remove |
Methods inherited from interface com.google.gwt.user.client.ui.IsWidget |
---|
asWidget |
Field Detail |
---|
public static final String CLASSNAME
public static final String CLASSNAME_TOGGLE
Constructor Detail |
---|
public ActionbarWidgetViewImpl(com.google.web.bindery.event.shared.EventBus eventBus, ActionbarWidgetView.Presenter presenter)
Method Detail |
---|
public void refreshActionsPositionsTablet()
ActionbarWidgetView
refreshActionsPositionsTablet
in interface ActionbarWidgetView
public Map<String,ActionbarSectionWidget> getSections()
ActionbarWidgetView
getSections
in interface ActionbarWidgetView
public void setPresenter(ActionbarWidgetView.Presenter presenter)
ActionbarWidgetView
setPresenter
in interface ActionbarWidgetView
presenter
- the new presenterpublic void addSection(ActionbarSection sectionParams)
public void addAction(ActionbarItem actionParams, String sectionName)
public void onActionTriggered(ActionTriggerEvent event)
onActionTriggered
in interface ActionTriggerEvent.Handler
public void setSections(Collection<ActionbarSection> newSections)
setSections
in interface ActionbarWidgetView
public void setVisibleSections(Collection<ActionbarSection> visibleSections)
setVisibleSections
in interface ActionbarWidgetView
public void setDisabledActions(Collection<ActionbarItem> disabledActions)
setDisabledActions
in interface ActionbarWidgetView
public boolean isOpen()
isOpen
in interface ActionbarWidgetView
public void setOpen(boolean isOpen)
setOpen
in interface ActionbarWidgetView
public void setSectionPreview(String sectionName, String previewUrl)
setSectionPreview
in interface ActionbarWidgetView
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |