Package | Description |
---|---|
bibliothek.gui.dock.action |
The components dealing with the logic of
DockAction s. |
bibliothek.gui.dock.action.actions |
Contains a set of different
DockAction s
and supporting classes.The actions in this package will create views, which show Icon s,
text, tooltips and other gimmicks. |
bibliothek.gui.dock.action.dropdown |
Elements needed to design the communication between a
DropDownAction and its children. |
bibliothek.gui.dock.event |
Listeners, adapters and events used in the whole framework.
A Listener is added to some object that needs to be observed, the Listener will be informed whenever the observed object changes. An Adapter is an implementation of a Listener, but the methods of an Adapter are empty. An Event is an object carrying information from an observed object to a Listener. |
bibliothek.gui.dock.themes.basic.action |
Elements handling the view of
DockAction s.They way from a DockAction to its view normally involves four objects:
The DockAction itself, providing the basic set of properties
A handler listening to changes of the
action and forwarding the changes to the model. |
Modifier and Type | Field and Description |
---|---|
static ActionContentModifier |
ActionContentModifier.DISABLED
the action is disabled.
|
static ActionContentModifier |
ActionContentModifier.DISABLED_HORIZONTAL
the action is disabled, the action is guaranteed to be shown horizontally
|
static ActionContentModifier |
ActionContentModifier.DISABLED_HOVER
the action is disabled and the mouse is hovering over the action.
|
static ActionContentModifier |
ActionContentModifier.DISABLED_HOVER_HORIZONTAL
the action is disabled and the mouse is hovering over the action, the action is guaranteed to be shown horizontally
|
static ActionContentModifier |
ActionContentModifier.DISABLED_HOVER_VERTICAL
the action is disabled and the mouse is hovering over the action, the action is guaranteed to be shown vertically
|
static ActionContentModifier |
ActionContentModifier.DISABLED_PRESSED
the action is disabled and the mouse is pressed over the action.
|
static ActionContentModifier |
ActionContentModifier.DISABLED_PRESSED_HORIZONTAL
the action is disabled and the mouse is pressed over the action, the action is guaranteed to be shown horizontally
|
static ActionContentModifier |
ActionContentModifier.DISABLED_PRESSED_VERTICAL
the action is disabled and the mouse is pressed over the action, the action is guaranteed to be shown vertically
|
static ActionContentModifier |
ActionContentModifier.DISABLED_VERTICAL
the action is disabled, the action is guaranteed to be shown vertically
|
static ActionContentModifier |
ActionContentModifier.NONE
no modifier at all.
|
static ActionContentModifier |
ActionContentModifier.NONE_HORIZONTAL
no modifier at all, the action is guaranteed to be shown horizontally
|
static ActionContentModifier |
ActionContentModifier.NONE_HOVER
the mouse is somehow hovering over the action.
|
static ActionContentModifier |
ActionContentModifier.NONE_HOVER_HORIZONTAL
the mouse is somehow hovering over the action, the action is guaranteed to be shown horizontally
|
static ActionContentModifier |
ActionContentModifier.NONE_HOVER_VERTICAL
the mouse is somehow hovering over the action, the action is guaranteed to be shown vertically
|
static ActionContentModifier |
ActionContentModifier.NONE_PRESSED
the mouse was pressed over the action.
|
static ActionContentModifier |
ActionContentModifier.NONE_PRESSED_HORIZONTAL
the mouse was pressed over the action, the action is guaranteed to be shown horizontally
|
static ActionContentModifier |
ActionContentModifier.NONE_PRESSED_VERTICAL
the mouse was pressed over the action, the action is guaranteed to be shown vertically
|
static ActionContentModifier |
ActionContentModifier.NONE_VERTICAL
no modifier at all, the action is guaranteed to be shown vertically
|
Modifier and Type | Method and Description |
---|---|
ActionContentModifier[] |
ActionContentModifier.getBackup()
Gets the modifiers which should be used if
this is not available. |
ActionContentModifier[] |
StandardDockAction.getIconContexts(Dockable dockable)
Gets all the
ActionContentModifier s for which StandardDockAction.getIcon(Dockable, ActionContentModifier) would
return a value other than null . |
Modifier and Type | Method and Description |
---|---|
javax.swing.Icon |
StandardDockAction.getIcon(Dockable dockable,
ActionContentModifier modifier)
Gets the Icon of this DockAction, when this DockAction is shown
together with
dockable . |
Constructor and Description |
---|
ActionContentModifier(java.lang.String id,
boolean enabled,
ActionContentModifier... backup)
Creates a new modifier.
|
ActionContentModifier(java.lang.String id,
boolean enabled,
boolean horizontal,
boolean vertical,
ActionContentModifier... backup)
Creates a new modifier.
|
Modifier and Type | Method and Description |
---|---|
ActionContentModifier[] |
GroupedDockAction.getIconContexts(Dockable dockable) |
ActionContentModifier[] |
SimpleDockAction.getIconContexts(Dockable dockable) |
ActionContentModifier[] |
SimpleSelectableAction.getIconContexts(Dockable dockable) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractStandardDockAction.fireActionIconChanged(ActionContentModifier modifier,
java.util.Set<Dockable> dockables)
Invokes the
actionIconChanged -
method of all currently registered StandardDockActionListener |
javax.swing.Icon |
SharingStandardDockAction.getIcon(ActionContentModifier modifier)
Gets the icon that is used if the conditions of
modifier are met. |
javax.swing.Icon |
SimpleDockAction.getIcon(ActionContentModifier modifier)
Gets the icon which is shown if the conditions of
modifier are met. |
javax.swing.Icon |
GroupedDockAction.getIcon(Dockable dockable,
ActionContentModifier modifier) |
javax.swing.Icon |
SimpleDockAction.getIcon(Dockable dockable,
ActionContentModifier modifier) |
javax.swing.Icon |
SimpleSelectableAction.getIcon(Dockable dockable,
ActionContentModifier modifier) |
javax.swing.Icon |
GroupedDockAction.getIcon(java.lang.Object key,
ActionContentModifier modifier)
Gets the icon of the group named
key . |
javax.swing.Icon |
SharingSelectableDockAction.getSelectedIcon(ActionContentModifier modifier)
Gets the icon that is shown when this action is selected.
|
javax.swing.Icon |
SimpleSelectableAction.getSelectedIcon(ActionContentModifier modifier) |
void |
SharingStandardDockAction.setIcon(ActionContentModifier modifier,
javax.swing.Icon icon)
Sets the icon which is to be used if the conditions of
modifier are met. |
void |
SimpleDockAction.setIcon(ActionContentModifier modifier,
javax.swing.Icon icon)
Sets the icon that is to be used when the conditions of
modifier are met. |
void |
GroupedDockAction.setIcon(K key,
ActionContentModifier modifier,
javax.swing.Icon icon)
Sets the
icon of the group named key . |
void |
SharingSelectableDockAction.setSelectedIcon(ActionContentModifier modifier,
javax.swing.Icon selectedIcon)
Sets the icon that will be shown, when this action is selected.
|
void |
SimpleSelectableAction.setSelectedIcon(ActionContentModifier modifier,
javax.swing.Icon selectedIcon) |
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<ActionContentModifier,javax.swing.Icon> |
AbstractDropDownFilter.icons
the icons provided by the selected element
|
Modifier and Type | Method and Description |
---|---|
ActionContentModifier[] |
DefaultDropDownFilter.getIconContexts() |
ActionContentModifier[] |
DropDownView.getIconContexts()
Gets the
ActionContentModifier s for which DropDownView.setIcon(ActionContentModifier, Icon) was called
with a value other than null . |
Modifier and Type | Method and Description |
---|---|
protected javax.swing.Icon |
AbstractDropDownFilter.getIcon(ActionContentModifier modifier)
Gets the icon which was stored using
AbstractDropDownFilter.setIcon(ActionContentModifier, Icon) . |
void |
AbstractDropDownFilter.setIcon(ActionContentModifier modifier,
javax.swing.Icon icon) |
void |
DropDownView.setIcon(ActionContentModifier modifier,
javax.swing.Icon icon)
Sets the icon of the button.
|
Modifier and Type | Method and Description |
---|---|
void |
StandardDockActionListener.actionIconChanged(StandardDockAction action,
ActionContentModifier modifier,
java.util.Set<Dockable> dockables)
Invoked when the icon of a
StandardDockAction has been changed. |
Modifier and Type | Method and Description |
---|---|
ActionContentModifier[] |
BasicButtonModel.getIconContexts()
Gets all the
ActionContentModifier s for which an icon is set. |
ActionContentModifier[] |
BasicDropDownButtonHandler.SelectionView.getIconContexts() |
ActionContentModifier[] |
BasicDropDownButtonHandler.ButtonView.getIconContexts() |
Modifier and Type | Method and Description |
---|---|
void |
BasicHandler.Listener.actionIconChanged(StandardDockAction action,
ActionContentModifier modifier,
java.util.Set<Dockable> dockables) |
void |
BasicButtonModelAdapter.iconChanged(BasicButtonModel model,
ActionContentModifier modifier,
javax.swing.Icon oldIcon,
javax.swing.Icon icon) |
void |
BasicButtonModelListener.iconChanged(BasicButtonModel model,
ActionContentModifier modifier,
javax.swing.Icon oldIcon,
javax.swing.Icon icon)
Called if an icon of
model changed. |
void |
BasicButtonModel.setIcon(ActionContentModifier modifier,
javax.swing.Icon icon)
Sets the icon which is normally shown on the view.
|
void |
BasicDropDownButtonHandler.SelectionView.setIcon(ActionContentModifier modifier,
javax.swing.Icon icon) |
void |
BasicDropDownButtonHandler.ButtonView.setIcon(ActionContentModifier modifier,
javax.swing.Icon icon) |