|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbibliothek.gui.dock.action.actions.AbstractStandardDockAction
bibliothek.gui.dock.action.actions.SimpleDockAction
bibliothek.gui.dock.action.actions.SimpleDropDownItemAction
bibliothek.gui.dock.action.actions.SimpleSelectableAction
bibliothek.gui.dock.action.actions.SimpleSelectableAction.Radio
bibliothek.gui.dock.station.flap.FlapDockDirection.DirectedArrow
private class FlapDockDirection.DirectedArrow
A button pointing in a direction.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class bibliothek.gui.dock.action.actions.SimpleSelectableAction |
---|
SimpleSelectableAction.Check, SimpleSelectableAction.Radio |
Field Summary | |
---|---|
private FlapDockStation.Direction |
direction
the direction in which this button points |
Constructor Summary | |
---|---|
FlapDockDirection.DirectedArrow(FlapDockStation.Direction direction)
Creates a new button. |
Method Summary | |
---|---|
void |
fireSelectedChanged()
Fires an event to all observers of type SelectableDockActionListener . |
boolean |
isSelected(Dockable dockable)
Tells whether this DockAction is selected or not (in respect to the given dockable ). |
void |
setSelected(Dockable dockable,
boolean selected)
Sets the selected state for dockable . |
Methods inherited from class bibliothek.gui.dock.action.actions.SimpleSelectableAction |
---|
addSelectableListener, createView, firstNonNull, getDisabledIcon, getDisabledSelectedIcon, getIcon, getSelectedIcon, isSelected, removeSelectableListener, setDisabledSelectedIcon, setSelected, setSelectedIcon |
Methods inherited from class bibliothek.gui.dock.action.actions.SimpleDropDownItemAction |
---|
isDropDownSelectable, isDropDownSelectable, isDropDownTriggerable, isDropDownTriggerableNotSelected, isDropDownTriggerableSelected, setDropDownSelectable, setDropDownTriggerableNotSelected, setDropDownTriggerableSelected |
Methods inherited from class bibliothek.gui.dock.action.actions.SimpleDockAction |
---|
getDisabledIcon, getIcon, getText, getText, getTooltipText, getTooltipText, isEnabled, isEnabled, setDisabledIcon, setEnabled, setIcon, setText, setTooltipText |
Methods inherited from class bibliothek.gui.dock.action.actions.AbstractStandardDockAction |
---|
addDockActionListener, bind, binded, fireActionDisabledIconChanged, fireActionEnabledChanged, fireActionIconChanged, fireActionTextChanged, fireActionTooltipTextChanged, getBindeds, isBinded, removeDockActionListener, unbind, unbinded |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface bibliothek.gui.dock.action.dropdown.DropDownItemAction |
---|
isDropDownSelectable, isDropDownTriggerable |
Field Detail |
---|
private FlapDockStation.Direction direction
Constructor Detail |
---|
public FlapDockDirection.DirectedArrow(FlapDockStation.Direction direction)
direction
- the direction, null
for
automatic determinationMethod Detail |
---|
public boolean isSelected(Dockable dockable)
SelectableDockAction
dockable
).
isSelected
in interface SelectableDockAction
isSelected
in class SimpleSelectableAction
dockable
- The Dockable
for which this action may be selected
or not selected
true
if this DockAction is selcted, false
otherwisepublic void setSelected(Dockable dockable, boolean selected)
SelectableDockAction
dockable
.
setSelected
in interface SelectableDockAction
setSelected
in class SimpleSelectableAction
dockable
- the affected dockableselected
- the new statepublic void fireSelectedChanged()
SimpleSelectableAction
SelectableDockActionListener
.
fireSelectedChanged
in class SimpleSelectableAction
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |