HANDLER - is the generic type of the handler interface. E.g.
UiHandlerActionSave.public abstract class AbstractUiSingleWidgetButtonFactory<HANDLER extends UiHandlerAction> extends Object implements UiSingleWidgetButtonFactory<HANDLER>
UiSingleWidgetButtonFactory.| Constructor and Description |
|---|
AbstractUiSingleWidgetButtonFactory()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected UiWidgetButton |
createButton(UiContext context,
NlsMessage label,
UiHandlerEventClick handler,
NlsMessage tooltip,
String style)
Creates a new
UiWidgetButton. |
protected NlsBundleClientUiRoot |
getBundle() |
protected Boolean |
getShowIfEditable() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, getHandlerInterface, isInstancepublic AbstractUiSingleWidgetButtonFactory()
protected NlsBundleClientUiRoot getBundle()
NlsBundleClientUiRoot.protected Boolean getShowIfEditable()
true if the
button
shall only be visible if editable
mode, false for inverse and null for always visible.protected UiWidgetButton createButton(UiContext context, NlsMessage label, UiHandlerEventClick handler, NlsMessage tooltip, String style)
UiWidgetButton.context - is the UiContext.label - is the optional label.handler - is the required click handler.tooltip - is the optional tooltip.style - is an additional style for the button or null.Copyright © 2001–2016 mmm-Team. All rights reserved.