public abstract class LayoutHandler extends Object implements BeforeLayoutEvent.BeforeLayoutHandler, AfterLayoutEvent.AfterLayoutHandler
Modifier and Type | Class and Description |
---|---|
static interface |
LayoutHandler.HasLayoutHandlers
A layout that implements this interface is a public source of
BeforeLayoutEvent and AfterLayoutEvent events. |
Constructor and Description |
---|
LayoutHandler() |
Modifier and Type | Method and Description |
---|---|
void |
onAfterLayout(AfterLayoutEvent event)
Called after a container's layout is executed.
|
void |
onBeforeLayout(BeforeLayoutEvent event)
Called before a container's layout is executed.
|
public void onAfterLayout(AfterLayoutEvent event)
AfterLayoutEvent.AfterLayoutHandler
onAfterLayout
in interface AfterLayoutEvent.AfterLayoutHandler
event
- the AfterLayoutEvent
that was firedpublic void onBeforeLayout(BeforeLayoutEvent event)
BeforeLayoutEvent.BeforeLayoutHandler
BeforeShowContextMenuEvent.setCancelled(boolean)
.onBeforeLayout
in interface BeforeLayoutEvent.BeforeLayoutHandler
event
- the BeforeLayoutEvent
that was firedCopyright © 2015. All rights reserved.