public static class Collapsable.ExpandedStateChangeEvent extends java.util.EventObject implements HasUserOriginated
Constructor and Description |
---|
ExpandedStateChangeEvent(Collapsable component,
boolean expanded,
boolean userOriginated) |
Modifier and Type | Method and Description |
---|---|
Collapsable |
getSource() |
boolean |
isExpanded() |
boolean |
isUserOriginated()
Returns whether this event was triggered by user interaction or programmatically.
|
public ExpandedStateChangeEvent(Collapsable component, boolean expanded, boolean userOriginated)
public Collapsable getSource()
getSource
in class java.util.EventObject
public boolean isExpanded()
public boolean isUserOriginated()
HasUserOriginated
isUserOriginated
in interface HasUserOriginated
true
if this event originates by user interaction, false
otherwise.