public interface ExpandableToolbarItemListener
ExpandableToolbarItem
, it will be informed
if the ExpandedState
s change.Modifier and Type | Method and Description |
---|---|
void |
changed(ExpandableToolbarItem item,
ExpandedState oldState,
ExpandedState newState)
Called if the state of
item changed from
oldState to newState . |
void |
enablementChanged(ExpandableToolbarItem item,
ExpandedState state,
boolean enabled)
Called if the result of
ExpandableToolbarItem.isEnabled(ExpandedState) changed
for item and state to enabled . |
void enablementChanged(ExpandableToolbarItem item, ExpandedState state, boolean enabled)
ExpandableToolbarItem.isEnabled(ExpandedState)
changed
for item
and state
to enabled
.item
- the source of the eventstate
- the state which was changedenabled
- whether state
is now enabled or notvoid changed(ExpandableToolbarItem item, ExpandedState oldState, ExpandedState newState)
item
changed from
oldState
to newState
.item
- the source of the eventoldState
- the old state of item
newState
- the new state of item