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 |
getComponent()
Deprecated.
Use
getSource() instead. |
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 getComponent()
getSource()
instead.public boolean isExpanded()
public boolean isUserOriginated()
HasUserOriginated
isUserOriginated
in interface HasUserOriginated
true
if this event originates by user interaction, false
otherwise.public Collapsable getSource()
getSource
in class java.util.EventObject