LayoutUiEvent
Emitted for subscribers to obtain a layout hint (equivalent to the layout()
supporting method).
The class has a number of responsibilities:
-
capture the target object being interacted with
-
capture the layout, if any, as specified to one of the subscribers
The class itself is instantiated automatically by the framework.
API
LayoutUiEvent.java
class LayoutUiEvent<S> {
LayoutUiEvent() (1)
LayoutUiEvent(S source)
void setLayout(String layout) (2)
}
1 | LayoutUiEvent()
If used then the framework will set state via (non-API) setters. |
2 | setLayout(String)
For subscribers to call to provide a layout for this object. |