TViewBuilder
- Type of view builder to return from chain methods.public abstract class ViewBuilder<TViewBuilder extends ViewBuilder> extends Object
Constructor and Description |
---|
ViewBuilder() |
Modifier and Type | Method and Description |
---|---|
TViewBuilder |
setUiActionListener(UiActionListener uiActionListener)
Sets the UI action listener.
|
TViewBuilder |
setViewStateListener(ViewStateListener listener)
Sets the view state listener for the window, that will be invoked when view is opened and closed.
|
TViewBuilder |
setWindowTitle(String title)
Sets the title for the window.
|
boolean |
show()
Show window on the screen.
|
public TViewBuilder setWindowTitle(String title)
title
- Title for the window.public TViewBuilder setViewStateListener(ViewStateListener listener)
listener
- Listener object.public TViewBuilder setUiActionListener(UiActionListener uiActionListener)
UiAction.Pending.proceed()
. Without calling it, action won't be invoked.
If you don't set a listener, all actions will be performed.uiActionListener
- instance of UiActionListener
.public boolean show()
(c) Copyright GetSocial BV, 2017. All Rights Reserved.