V
- Type of view builder to return from chain methods.public abstract class ViewBuilder<V extends ViewBuilder>
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
V |
setUiActionListener(UiActionListener uiActionListener)
Sets the UI action listener.
|
V |
setViewStateListener(ViewStateListener listener)
Sets the view state listener for the window, that will be invoked when view is opened and closed.
|
V |
setWindowTitle(java.lang.String title)
Sets the title for the window.
|
boolean |
show()
Show window on the screen.
|
public V setWindowTitle(java.lang.String title)
title
- Title for the window.public V setViewStateListener(ViewStateListener listener)
listener
- Listener object.public V 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, 2019. All Rights Reserved.