public class UiSingleWidgetButtonFactoryDown extends AbstractUiSingleWidgetButtonFactory<UiHandlerActionDown>
Constructor and Description |
---|
UiSingleWidgetButtonFactoryDown()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
UiWidgetButton |
create(UiContext context,
UiHandlerActionDown handler,
boolean preventConfirmationPopup) |
Class<UiHandlerActionDown> |
getHandlerInterface() |
protected Boolean |
getShowIfEditable() |
boolean |
isInstance(UiHandlerAction handler)
|
createButton, getBundle
public UiSingleWidgetButtonFactoryDown()
public Class<UiHandlerActionDown> getHandlerInterface()
UiHandlerAction
sub-interface managed by this factory.public boolean isInstance(UiHandlerAction handler)
handler
is an instance
of the
managed handler interface
. Needs to be implemented explicitly in order to
be GWT compatible.handler
- is the handler instance to check.true
if the given handler
is an
instance
of the managed handler interface
.protected Boolean getShowIfEditable()
getShowIfEditable
in class AbstractUiSingleWidgetButtonFactory<UiHandlerActionDown>
true
if the
button
shall only be visible if editable
mode
, false
for inverse and null
for always visible.public UiWidgetButton create(UiContext context, UiHandlerActionDown handler, boolean preventConfirmationPopup)
context
- is the instance of UiContext
.handler
- is the instance of the UiHandlerAction
.preventConfirmationPopup
- - see
UiWidgetFactory.createButton(Class, UiHandlerAction, boolean)
UiWidgetButton
.UiWidgetFactory.createButton(Class, UiHandlerAction, boolean)
Copyright © 2001–2016 mmm-Team. All rights reserved.