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(final S source)
  void setLayout(final 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.

Members

LayoutUiEvent()

If used then the framework will set state via (non-API) setters.

Because the EventObject superclass prohibits a null source, a dummy value is temporarily used.

setLayout(String)

For subscribers to call to provide a layout for this object.