Package | Description |
---|---|
bibliothek.extension.gui.dock.theme.bubble |
Various graphical and logical components used when
BubbleTheme is
active. |
bibliothek.extension.gui.dock.theme.eclipse |
Various graphical and logical components needed when the
EclipseTheme
is active. |
bibliothek.extension.gui.dock.theme.eclipse.stack |
An implementation of
TabPane and
supporting classes for the EclipseTheme . |
bibliothek.extension.gui.dock.theme.flat |
Various graphical and logical components needed to paint the layout
when
FlatTheme is active. |
bibliothek.gui |
The high level interfaces of the framework and the most often used classes.
|
bibliothek.gui.dock |
The five basic classes implementing
Dockable and
DockStation plus some supporting elements. |
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.popup | |
bibliothek.gui.dock.common.action.core |
A set of
DockAction s that also implement
CommonDockAction . |
bibliothek.gui.dock.common.action.util |
Some utility classes required to precisely configure the behavior of
CAction s. |
bibliothek.gui.dock.common.intern |
Classes and interfaces used internally.
|
bibliothek.gui.dock.common.intern.action |
CAction s and supporting classes that are not intended for clients
to be used directly. |
bibliothek.gui.dock.common.intern.station |
Contains the
CommonDockStation , various implementations of CommonDockStation and supporting classes. |
bibliothek.gui.dock.common.mode | |
bibliothek.gui.dock.dockable |
Some classes related to
Dockable . |
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.facile.action |
Some
DockAction s used by Common . |
bibliothek.gui.dock.facile.mode |
Contains an implementation of
ModeManager that links a mode to the location
of a Dockable . |
bibliothek.gui.dock.station |
Elements needed by various implementations of the
DockStation interface. |
bibliothek.gui.dock.station.flap |
Elements that are related to the
FlapDockStation . |
bibliothek.gui.dock.station.screen |
Elements that are related to the
ScreenDockStation . |
bibliothek.gui.dock.station.stack |
Elements which are related to the
StackDockStation . |
bibliothek.gui.dock.station.stack.action |
Contains the
DockActionDistributor interface
which allows clients to tell where a DockAction appears, either
as part of a tab, of the info panel, or on the DockTitle .Clients can make use of the annotations InfoDockAction ,
TabDockAction and TitleDockAction
to easily mark the location of their actions. |
bibliothek.gui.dock.support.mode |
Basic interfaces and classes for a framework that assigns modes to
Dockable s. |
bibliothek.gui.dock.themes.basic |
Factories and classes used when the
BasicTheme
is active. |
bibliothek.gui.dock.themes.basic.action.buttons |
Classes which allow to paint and interact with a
BasicButtonModel . |
bibliothek.gui.dock.themes.basic.action.menu |
Handlers taking various kinds of
DockAction and presenting them
as MenuViewItem in
order to display the actions in a menu. |
bibliothek.gui.dock.title |
Elements needed to paint the title of a
Dockable . |
Modifier and Type | Method and Description |
---|---|
protected DockActionSource |
BubbleInfoComponent.createActionSource(Dockable dockable) |
protected DockActionSource |
BubbleButtonDockTitle.createFilter(DockActionSource actions)
Creates a filter around
actions , only the actions going through the filter
will be shown. |
protected DockActionSource |
BubbleButtonDockTitle.getActionSourceFor(Dockable dockable) |
protected DockActionSource |
BubbleButtonDockTitle.getChildrenActionSourceFor(Dockable dockable)
Gets the "special" children actions for
dockable |
protected DockActionSource |
BubbleButtonDockTitle.getDefaultActionSourceFor(Dockable dockable)
Gets the "normal" actions for
dockable . |
Modifier and Type | Method and Description |
---|---|
protected DockActionSource |
BubbleButtonDockTitle.createFilter(DockActionSource actions)
Creates a filter around
actions , only the actions going through the filter
will be shown. |
Modifier and Type | Class and Description |
---|---|
class |
EclipseDockActionSource
A list of
DockActions filtered by the
EclipseThemeConnector , using EclipseThemeConnector.shouldShowOnTab(DockAction, EclipseTabStateInfo) . |
Constructor and Description |
---|
EclipseDockActionSource(EclipseTheme theme,
DockActionSource source,
EclipseTabStateInfo tab,
boolean showForTab)
Creates a new source
|
Modifier and Type | Method and Description |
---|---|
protected DockActionSource |
EclipseTabInfo.createActionSource(Dockable dockable) |
Modifier and Type | Method and Description |
---|---|
protected DockActionSource |
FlatInfoComponent.createActionSource(Dockable dockable) |
Modifier and Type | Method and Description |
---|---|
DockActionSource |
DockStation.getDirectActionOffers(Dockable dockable)
Gets a list of actions which should be available for the user and
affect the child
dockable . |
DockActionSource |
Dockable.getGlobalActionOffers()
Gets a list of all
DockAction s which
might be triggered while this Dockable is visible. |
DockActionSource |
DockStation.getIndirectActionOffers(Dockable dockable)
Gets a list of actions which should be available for the user and
affect
dockable . |
DockActionSource |
Dockable.getLocalActionOffers()
Gets a list of
DockAction s which should be triggerable if
this Dockable is visible. |
DockActionSource |
DockFrontend.Hider.getSource(Dockable dockable) |
DockActionSource |
DockController.listOffers(Dockable dockable)
Creates a list of
DockActions which can
affect Dockable .Clients might rather use Dockable.getGlobalActionOffers() to
get a list of actions for a specific Dockable. |
Modifier and Type | Method and Description |
---|---|
DockActionSource |
FlapDockStation.getDirectActionOffers(Dockable dockable) |
DockActionSource |
ScreenDockStation.getDirectActionOffers(Dockable dockable) |
DockActionSource |
SplitDockStation.getGlobalActionOffers() |
DockActionSource |
ScreenDockStation.getIndirectActionOffers(Dockable dockable) |
DockActionSource |
SplitDockStation.getIndirectActionOffers(Dockable dockable) |
DockActionSource |
SplitDockStation.getLocalActionOffers() |
Modifier and Type | Class and Description |
---|---|
class |
AbstractDockActionSource
A simple implementation of
DockActionSource that just handles
the listeners for sources. |
class |
DefaultDockActionSource
The DefaultDockActionSource is nothing more than a list of
DockActions that may be changed at any time. |
class |
FilteredDockActionSource
|
class |
HierarchyDockActionSource
A
DockActionSource which observes the hierarchy of a Dockable
and changes its content using DockController.listOffers(bibliothek.gui.Dockable) .Clients using this source must call HierarchyDockActionSource.bind() to connect the source with its Dockable ,
and HierarchyDockActionSource.unbind() to free resources. |
class |
MultiDockActionSource
A
DockActionSource that combines various sources in one source. |
class |
StationChildrenActionSource
This
DockActionSource is a wrapper around a Dockable or a DockStation
and adds one DockAction for each child of the station to itself. |
Modifier and Type | Method and Description |
---|---|
protected abstract DockActionSource |
ActionPopup.getActions()
Gets the actions, that will be displayed
|
DockActionSource |
MenuDockAction.getMenu(Dockable dockable)
Returns the menu that is represented by this action.
|
DockActionSource |
SimpleTypedActionGuard.getSource()
Gets the
DockActionSource that will be added to all
Dockables with the correct type. |
DockActionSource |
ActionGuard.getSource(Dockable dockable)
Gets a list of actions for the
Dockable |
DockActionSource |
TypedActionGuard.getSource(Dockable dockable) |
DockActionSource |
ActionOffer.getSource(Dockable dockable,
DockActionSource source,
DockActionSource[] guards,
DockActionSource parent,
DockActionSource[] parents)
|
DockActionSource |
DefaultActionOffer.getSource(Dockable dockable,
DockActionSource source,
DockActionSource[] guards,
DockActionSource parent,
DockActionSource[] parents) |
DockActionSource |
DropDownAction.getSubActions(Dockable dockable)
Gets the actions that should be shown for this action.
|
protected DockActionSource |
SimpleTypedActionGuard.getTypedSource(T dockable) |
protected abstract DockActionSource |
TypedActionGuard.getTypedSource(T dockable)
Gets the
DockActionSource that will be returned by
getSource . |
Modifier and Type | Method and Description |
---|---|
void |
MultiDockActionSource.add(DockActionSource source)
Adds a source as child of this source.
|
DockActionSource |
ActionOffer.getSource(Dockable dockable,
DockActionSource source,
DockActionSource[] guards,
DockActionSource parent,
DockActionSource[] parents)
|
DockActionSource |
ActionOffer.getSource(Dockable dockable,
DockActionSource source,
DockActionSource[] guards,
DockActionSource parent,
DockActionSource[] parents)
|
DockActionSource |
ActionOffer.getSource(Dockable dockable,
DockActionSource source,
DockActionSource[] guards,
DockActionSource parent,
DockActionSource[] parents)
|
DockActionSource |
DefaultActionOffer.getSource(Dockable dockable,
DockActionSource source,
DockActionSource[] guards,
DockActionSource parent,
DockActionSource[] parents) |
DockActionSource |
DefaultActionOffer.getSource(Dockable dockable,
DockActionSource source,
DockActionSource[] guards,
DockActionSource parent,
DockActionSource[] parents) |
DockActionSource |
DefaultActionOffer.getSource(Dockable dockable,
DockActionSource source,
DockActionSource[] guards,
DockActionSource parent,
DockActionSource[] parents) |
void |
MultiDockActionSource.remove(DockActionSource source)
Removes
source from this MultiDockActionSource . |
void |
SimpleTypedActionGuard.setSource(DockActionSource source)
Sets the source of this ActionGuard.
|
boolean |
ActionPopupSuppressor.suppress(Dockable dockable,
DockActionSource source)
Tells whether to suppress or to allow a popup for
source . |
Constructor and Description |
---|
FilteredDockActionSource(DockActionSource source)
Creates a new filtered DockActionSource.
|
MultiDockActionSource(DockActionSource... sources)
Constructs a new source.
|
MultiDockActionSource(LocationHint hint,
DockActionSource... sources)
Constructs a new source.
|
SimpleTypedActionGuard(java.lang.Class<T> type,
DockActionSource source)
Sets the type and the source of this guard
|
Modifier and Type | Method and Description |
---|---|
DockActionSource |
SimpleMenuAction.getMenu()
Gets the menu of this action
|
DockActionSource |
SimpleMenuAction.getMenu(Dockable dockable) |
protected abstract DockActionSource |
AbstractSimpleDropDownAction.getSubActions()
Gets the
DockActionSource which contains all the actions of this dropdown menu. |
protected DockActionSource |
SimpleDropDownAction.getSubActions() |
DockActionSource |
AbstractSimpleDropDownAction.getSubActions(Dockable dockable) |
Modifier and Type | Method and Description |
---|---|
void |
SimpleMenuAction.setMenu(DockActionSource menu)
Sets a menu that will be displayed instead of this action.
|
Constructor and Description |
---|
SimpleMenuAction(DockActionSource menu)
Creates a new action.
|
Modifier and Type | Method and Description |
---|---|
ActionPopupMenu |
ActionPopupMenuFactory.createMenu(java.awt.Component owner,
Dockable dockable,
DockActionSource actions,
java.lang.Object source)
Creates a new menu using
actions as content. |
ActionPopupMenu |
DefaultActionPopupMenuFactory.createMenu(java.awt.Component owner,
Dockable dockable,
DockActionSource actions,
java.lang.Object source) |
Constructor and Description |
---|
DefaultActionPopupMenu(Dockable dockable,
DockActionSource actions) |
DefaultActionPopupMenu(Dockable dockable,
DockActionSource actions,
javax.swing.JPopupMenu menu) |
Constructor and Description |
---|
CommonSimpleMenuAction(CAction action,
DockActionSource menu)
Creates a new action.
|
Modifier and Type | Method and Description |
---|---|
protected DockActionSource |
CDefaultDockActionDistributor.createInfoSource(DockActionSource source) |
protected DockActionSource |
CDefaultDockActionDistributor.createTabSource(DockActionSource source) |
protected DockActionSource |
CDefaultDockActionDistributor.createTitleSource(DockActionSource source) |
Modifier and Type | Method and Description |
---|---|
protected DockActionSource |
CDefaultDockActionDistributor.createInfoSource(DockActionSource source) |
protected DockActionSource |
CDefaultDockActionDistributor.createTabSource(DockActionSource source) |
protected DockActionSource |
CDefaultDockActionDistributor.createTitleSource(DockActionSource source) |
Modifier and Type | Method and Description |
---|---|
DockActionSource[] |
CommonDockable.getSources()
Gets a set of
DockActionSource s which are to be displayed
on this CommonDockable . |
DockActionSource[] |
DefaultCommonDockable.getSources() |
Constructor and Description |
---|
DefaultCommonDockable(CDockable dockable,
DockActionSource... sources)
Creates a new dockable
|
Modifier and Type | Class and Description |
---|---|
class |
CActionSource
This
DockActionSource handles CAction s. |
class |
CloseActionSource
An action source that observes one
CDockable and either adds
or removes a close-action from itself. |
Modifier and Type | Method and Description |
---|---|
DockActionSource |
CActionOffer.getSource(Dockable dockable,
DockActionSource source,
DockActionSource[] guards,
DockActionSource parent,
DockActionSource[] parents) |
Modifier and Type | Method and Description |
---|---|
DockActionSource |
CActionOffer.getSource(Dockable dockable,
DockActionSource source,
DockActionSource[] guards,
DockActionSource parent,
DockActionSource[] parents) |
DockActionSource |
CActionOffer.getSource(Dockable dockable,
DockActionSource source,
DockActionSource[] guards,
DockActionSource parent,
DockActionSource[] parents) |
DockActionSource |
CActionOffer.getSource(Dockable dockable,
DockActionSource source,
DockActionSource[] guards,
DockActionSource parent,
DockActionSource[] parents) |
Modifier and Type | Method and Description |
---|---|
DockActionSource[] |
CFlapDockStation.getSources() |
DockActionSource[] |
CSplitDockStation.getSources() |
DockActionSource[] |
CommonStationDelegate.getSources()
Gets a result for
CommonDockable.getSources() . |
Modifier and Type | Method and Description |
---|---|
DockActionSource |
KeyedLocationModeActionProvider.getActions(Dockable dockable,
Mode<Location> currentMode,
DockActionSource currentSource) |
Modifier and Type | Method and Description |
---|---|
void |
KeyedLocationModeActionProvider.destroy(Dockable dockable,
DockActionSource source) |
DockActionSource |
KeyedLocationModeActionProvider.getActions(Dockable dockable,
Mode<Location> currentMode,
DockActionSource currentSource) |
Modifier and Type | Method and Description |
---|---|
DockActionSource |
AbstractDockable.getGlobalActionOffers() |
DockActionSource |
AbstractDockable.getLocalActionOffers() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractDockable.setActionOffers(DockActionSource source)
Sets the action-source of this
Dockable . |
Modifier and Type | Method and Description |
---|---|
void |
DockActionSourceAdapter.actionsAdded(DockActionSource source,
int firstIndex,
int lastIndex) |
void |
DockActionSourceListener.actionsAdded(DockActionSource source,
int firstIndex,
int lastIndex)
Invoked when one or more actions are added to the
source . |
void |
DockActionSourceAdapter.actionsRemoved(DockActionSource source,
int firstIndex,
int lastIndex) |
void |
DockActionSourceListener.actionsRemoved(DockActionSource source,
int firstIndex,
int lastIndex)
Invoked if one or more actions are removed from the
source . |
Modifier and Type | Class and Description |
---|---|
class |
KeyedActionSource
An action source using
CDockable.getAction(String) to determine which
action to use. |
Modifier and Type | Method and Description |
---|---|
DockActionSource |
ReplaceActionGuard.getSource(Dockable dockable) |
Modifier and Type | Method and Description |
---|---|
DockActionSource |
DefaultLocationModeActionProvider.getActions(Dockable dockable,
Mode<Location> mode,
DockActionSource source) |
DockActionSource |
LocationModeActionProvider.getActions(Dockable dockable,
Mode<Location> currentMode,
DockActionSource currentSource)
Called if the element
dockable , which is currently in
mode mode , should have some additional DockAction s
related to the owner of this LocationModeActionProvider . |
DockActionSource |
MappingLocationModeActionProvider.getActions(Dockable dockable,
Mode<Location> currentMode,
DockActionSource currentSource) |
DockActionSource |
AbstractLocationMode.DockableHandle.getActions(Mode<Location> mode)
Called by
AbstractLocationMode.getActionsFor(Dockable, Mode)
to the actions related to this dockable. |
DockActionSource |
AbstractLocationMode.getActionsFor(Dockable dockable,
Mode<Location> mode) |
DockActionSource |
LocationModeManager.getSharedActions(DockStation station) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultLocationModeActionProvider.destroy(Dockable dockable,
DockActionSource source) |
void |
LocationModeActionProvider.destroy(Dockable dockable,
DockActionSource source)
Called if
dockable is no longer in use and all references
to dockable are to be removed. |
void |
MappingLocationModeActionProvider.destroy(Dockable dockable,
DockActionSource source) |
DockActionSource |
DefaultLocationModeActionProvider.getActions(Dockable dockable,
Mode<Location> mode,
DockActionSource source) |
DockActionSource |
LocationModeActionProvider.getActions(Dockable dockable,
Mode<Location> currentMode,
DockActionSource currentSource)
Called if the element
dockable , which is currently in
mode mode , should have some additional DockAction s
related to the owner of this LocationModeActionProvider . |
DockActionSource |
MappingLocationModeActionProvider.getActions(Dockable dockable,
Mode<Location> currentMode,
DockActionSource currentSource) |
protected abstract LocationModeActionProvider |
MappingLocationModeActionProvider.getProvider(Dockable dockable,
Mode<Location> currentMode,
DockActionSource currentSource)
Gets the
LocationModeActionProvider which fits the key generated by the arguments
of this method. |
Modifier and Type | Method and Description |
---|---|
DockActionSource |
AbstractDockableStation.getDirectActionOffers(Dockable dockable) |
DockActionSource |
AbstractDockableStation.getIndirectActionOffers(Dockable dockable) |
Modifier and Type | Class and Description |
---|---|
class |
FlapDockStationSource
|
Modifier and Type | Class and Description |
---|---|
class |
FullscreenActionSource
A
DockActionSource that adds or removes a DockAction depending on the result
of the ScreenDockFullscreenFilter s that are currently registered at a
ScreenDockStation . |
Modifier and Type | Method and Description |
---|---|
protected abstract DockActionSource |
DockActionCombinedInfoComponent.createActionSource(Dockable dockable)
Creates a new
DockActionSource for dockable . |
protected DockActionSource |
DefaultStackDockComponent.Tab.getActions() |
Modifier and Type | Class and Description |
---|---|
class |
DockActionDistributorSource
A wrapper around a
DockActionSource , this source can be used in combination with
DockActionDistributor to completely hide the existence of the DockActionDistributor .Clients can use DockActionDistributorSource.setDockable(Dockable) to enable or disable this source. |
Modifier and Type | Method and Description |
---|---|
protected DockActionSource |
DefaultDockActionDistributor.createInfoSource(DockActionSource source)
Creates a new
DockActionSource for the DockActionDistributor.Target DockActionDistributor.Target.INFO_COMPONENT . |
protected DockActionSource |
DefaultDockActionDistributor.createTabSource(DockActionSource source)
Creates a new
DockActionSource for the DockActionDistributor.Target DockActionDistributor.Target.TAB . |
protected DockActionSource |
DefaultDockActionDistributor.createTitleSource(DockActionSource source)
Creates a new
DockActionSource for the DockActionDistributor.Target DockActionDistributor.Target.TITLE or for
those actions that are not marked with any annotation. |
Modifier and Type | Class and Description |
---|---|
class |
ModeForwardingActionSource<H>
A
ModeForwardingActionSource is attached to a DockStation and
shows actions belonging to the selected Dockable . |
Modifier and Type | Method and Description |
---|---|
DockActionSource |
Mode.getActionsFor(Dockable dockable,
Mode<H> mode)
|
abstract DockActionSource |
ModeManager.getSharedActions(DockStation station)
Gets a list of actions that should be shown on
station depending on the
current children of station . |
Modifier and Type | Method and Description |
---|---|
protected DockActionSource |
BasicButtonDockTitle.createFilter(DockActionSource actions)
Creates a filter around
actions , only the actions going through the filter
will be shown. |
protected DockActionSource |
BasicButtonDockTitle.getActionSourceFor(Dockable dockable) |
DockActionSource |
BasicDockableDisplayerDecorator.getActionSuggestion()
|
DockActionSource |
MinimalDecorator.getActionSuggestion() |
DockActionSource |
TabDecorator.getActionSuggestion() |
protected DockActionSource |
BasicButtonDockTitle.getChildrenActionSourceFor(Dockable dockable)
Gets the "special" children actions for
dockable |
protected DockActionSource |
BasicButtonDockTitle.getDefaultActionSourceFor(Dockable dockable)
Gets the "normal" actions for
dockable . |
Modifier and Type | Method and Description |
---|---|
protected DockActionSource |
BasicButtonDockTitle.createFilter(DockActionSource actions)
Creates a filter around
actions , only the actions going through the filter
will be shown. |
Modifier and Type | Method and Description |
---|---|
DockActionSource |
ButtonPanel.getSource()
Gets the
DockActionSource that is currently shown on this panel. |
Modifier and Type | Method and Description |
---|---|
void |
ButtonPanel.set(Dockable dockable,
DockActionSource source)
Changes the content which is shown.
|
void |
ButtonPanel.set(Dockable dockable,
DockActionSource source,
boolean force)
Changes the content which is shown.
|
Constructor and Description |
---|
MenuMenuHandler(DockActionSource source,
Dockable dockable,
javax.swing.JPopupMenu menu)
Creates a new handler
|
Modifier and Type | Method and Description |
---|---|
protected DockActionSource |
AbstractDockTitle.getActionSourceFor(Dockable dockable)
Gets a list of all actions which will be shown on this title.
|
protected DockActionSource |
AbstractDockTitle.getSuggestedSource()
Gets the
DockActionSource that was suggested to this
title. |
DockActionSource |
ActionsDockTitleEvent.getSuggestions()
Gets the set of
DockAction s that should be used. |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractDockTitle.suggestActions(DockActionSource actions)
Called if a module using the
DockTitle suggests using a specific set of DockAction s. |
Constructor and Description |
---|
ActionsDockTitleEvent(Dockable dockable,
DockActionSource suggestions)
Creates a new event.
|
ActionsDockTitleEvent(DockStation station,
Dockable dockable,
DockActionSource suggestions)
Creates a new event.
|