private class AbstractUiWidgetCollapsableSection.CollapseHandler extends UiHandlerEventCollapse
Modifier and Type | Field and Description |
---|---|
private List<UiWidget> |
widgets
The list of
UiWidget to collapse and expand. |
Constructor and Description |
---|
CollapseHandler()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
onCollapse(UiEventCollapse event)
This method is invoked if an
collapsable
object is to be collapsed . |
private void |
onCollapseOrExpand(UiEventCollapseOrExpand event,
boolean collapse) |
void |
onExpand(UiEventExpand event)
This method is invoked if an
collapsable
object is to be expanded . |
onEvent
public void onCollapse(UiEventCollapse event)
collapsable
object
is to be collapsed
.onCollapse
in class UiHandlerEventCollapse
event
- is the collapse event
.public void onExpand(UiEventExpand event)
collapsable
object
is to be expanded
.onExpand
in class UiHandlerEventCollapse
event
- is the expand event
.private void onCollapseOrExpand(UiEventCollapseOrExpand event, boolean collapse)
event
- is the UiEventCollapseOrExpand
.collapse
- true
for collapse, false
for expand.onCollapse(UiEventCollapse)
,
onExpand(UiEventExpand)
Copyright © 2001–2016 mmm-Team. All rights reserved.