public abstract class AbstractBar extends SimpleBar
initLayout()
sets up the layout and the widgets in the necessary order: The buttons are placed
first in the DOM, followed by the status-indicator and the label.
addLabel(String, int)
or addStatusIndicator(int)
as these are depending on their div being
present in the DOM, when added. If not called the divs will remain empty and without any class-name.
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
Modifier and Type | Field and Description |
---|---|
protected static String |
ADD_CLASS_NAME |
protected static String |
AREA_CLASS_NAME |
protected static String |
COMPONENT_CLASS_NAME |
protected static String |
EDIT_CLASS_NAME |
protected static String |
ICON_CLASS_NAME |
EDITOR_CLASS_NAME
Constructor and Description |
---|
AbstractBar() |
Modifier and Type | Method and Description |
---|---|
protected void |
addButton(com.google.gwt.user.client.ui.Widget button) |
protected void |
addLabel(String text,
int level)
Adds the label to the control-bar.
|
protected void |
addStatusIndicator(int activationStatus)
Adds the status-indicator to the control-bar and the correlating css classes-names to the status-div as well
as the control-bar itself for the left indentation.
|
protected void |
initLayout()
Initializes the layout.
|
void |
onAttach() |
removeFocus, setFocus
add, add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, remove
add, adopt, doAttachChildren, doDetachChildren, orphan, remove
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getWidgetIndex
getWidget, getWidgetCount, getWidgetIndex, remove
forEach, spliterator
protected static final String AREA_CLASS_NAME
protected static final String COMPONENT_CLASS_NAME
protected static final String ICON_CLASS_NAME
protected static final String EDIT_CLASS_NAME
protected static final String ADD_CLASS_NAME
protected void initLayout()
protected void addLabel(String text, int level)
protected void addStatusIndicator(int activationStatus)
public void onAttach()
onAttach
in class com.google.gwt.user.client.ui.Widget
protected void addButton(com.google.gwt.user.client.ui.Widget button)
Copyright © 2018 Magnolia International Ltd.. All rights reserved.