HANDLER
- is the generic type of the handler interface
. E.g.
UiHandlerActionSave
.public interface UiSingleWidgetButtonFactory<HANDLER extends UiHandlerAction>
UiWidgetButton
for a particular
UiHandlerAction
.Modifier and Type | Method and Description |
---|---|
UiWidgetButton |
create(UiContext context,
HANDLER handler,
boolean preventConfirmationPopup) |
Class<HANDLER> |
getHandlerInterface() |
boolean |
isInstance(UiHandlerAction handler)
|
Class<HANDLER> getHandlerInterface()
UiHandlerAction
sub-interface managed by this factory.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
.UiWidgetButton create(UiContext context, HANDLER 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.