|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExpandableToolbarItem
An ExpandableToolbarItem
is a part of a toolbar that can have
different shapes.
Method Summary | |
---|---|
void |
addExpandableListener(ExpandableToolbarItemListener listener)
Adds the observer listener to this item. |
ExpandedState |
getExpandedState()
Gets the current state of this item. |
boolean |
isEnabled(ExpandedState state)
Tells whether this ExpandableToolbarItem likes to be in state state . |
void |
removeExpandableListener(ExpandableToolbarItemListener listener)
Removes the observer listener from this item. |
void |
setExpandedState(ExpandedState state)
Changes the state of this item to state . |
Methods inherited from interface bibliothek.gui.Dockable |
---|
accept, accept, addDockableListener, addDockableStateListener, addDockHierarchyListener, addMouseInputListener, bind, configureDisplayerHints, getComponent, getController, getDockParent, getGlobalActionOffers, getLocalActionOffers, getTitleIcon, getTitleText, getTitleToolTip, isDockableShowing, isDockableVisible, listBoundTitles, removeDockableListener, removeDockableStateListener, removeDockHierarchyListener, removeMouseInputListener, requestDisplayer, requestDockTitle, setController, setDockParent, unbind |
Methods inherited from interface bibliothek.gui.dock.DockElement |
---|
asDockable, asDockStation, getFactoryID |
Methods inherited from interface bibliothek.gui.dock.component.DockComponentRoot |
---|
getComponentConfiguration, setComponentConfiguration |
Methods inherited from interface bibliothek.gui.dock.DockElementRepresentative |
---|
getElement, getPopupLocation, isUsedAsTitle, shouldFocus, shouldTransfersFocus |
Methods inherited from interface bibliothek.gui.dock.station.support.PlaceholderListItem |
---|
asDockable |
Method Detail |
---|
void addExpandableListener(ExpandableToolbarItemListener listener)
listener
to this item.
listener
- the new listener, not null
void removeExpandableListener(ExpandableToolbarItemListener listener)
listener
from this item.
listener
- the listener to removeboolean isEnabled(ExpandedState state)
ExpandableToolbarItem
likes to be in state state
.
state
- a possible state
this
item likes to be in state
void setExpandedState(ExpandedState state)
state
. Note that state
can be any state, including those for which isEnabled(ExpandedState)
returned
false
.
state
- the new stateExpandedState getExpandedState()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |