Package | Description |
---|---|
bibliothek.extension.gui.dock.station |
Contains extensions to the
DockStation s. |
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.displayer |
The
DockableDisplayer s that are used
by the EclipseTheme . |
bibliothek.extension.gui.dock.theme.eclipse.stack |
An implementation of
TabPane and
supporting classes for the EclipseTheme . |
bibliothek.extension.gui.dock.theme.eclipse.stack.tab |
Various components needed to paint and manage the tab which is visible
on a
EclipseTabPane . |
bibliothek.extension.gui.dock.theme.flat |
Various graphical and logical components needed to paint the layout
when
FlatTheme is active. |
bibliothek.extension.gui.dock.theme.smooth |
Contains elements to paint a
DockTitle which smoothly changes
its color. |
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.accept |
Contains classes to deal with
DockAcceptance s. |
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.action.popup | |
bibliothek.gui.dock.action.view |
Classes to create a views for
DockAction s.This package does not contain any views, only the mechanism to create some. |
bibliothek.gui.dock.control |
Classes responsible to handle some global task.
|
bibliothek.gui.dock.control.focus |
The focus sub-system is responsible for transferring the focus to the currently
active
Dockable . |
bibliothek.gui.dock.control.relocator |
Various implementations of
RelocateOperation . |
bibliothek.gui.dock.disable |
Contains the
DisablingStrategy and associated classes,
allows clients to disable Dockable s, DockTitle s
or DockAction s. |
bibliothek.gui.dock.displayer |
Classes and interfaces that are needed by the
DockableDisplayer . |
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.focus |
Contains classes that allow the user to switch between
Component s or
from one Dockable to another using only the keyboard. |
bibliothek.gui.dock.frontend |
Classes and interfaces needed by the
DockFrontend |
bibliothek.gui.dock.layout |
Elements dealing with the location of
Dockable s
on their DockStation and allowing to store the
whole layout of a set of Dockable s and stations. |
bibliothek.gui.dock.layout.location | |
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.flap.button |
Contains the
ButtonContentFilter , which
allows clients to decide which DockAction s to show
on a FlapDockStation . |
bibliothek.gui.dock.station.screen |
Elements that are related to the
ScreenDockStation . |
bibliothek.gui.dock.station.screen.magnet |
The magnet API allows
ScreenDockWindow s to
attract each other, or to stick together. |
bibliothek.gui.dock.station.screen.window |
Contains the window (
JDialog , JInternalDialog , etc..)
that shows the children of a ScreenDockStation and the classes required
to configure that window. |
bibliothek.gui.dock.station.split |
Elements which are needed by the
SplitDockStation ,
and which are needed to interact with the station. |
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.station.stack.menu |
Contains an abstract implementation of
CombinedMenu
including helper classes. |
bibliothek.gui.dock.station.stack.tab |
This package contains a generic implementation of a "tabbed-pane".
|
bibliothek.gui.dock.station.stack.tab.layouting |
Various interfaces and classes used by a
TabPane to
describe its content to a TabLayoutManager , which
will set position and size of all the children of the TabPane . |
bibliothek.gui.dock.station.support |
Elements used by various
DockStation s to store
properties and to propagate events to other objects. |
bibliothek.gui.dock.themes |
Contains an implementation of
DockTheme and
all classes which are neede by this theme. |
bibliothek.gui.dock.themes.basic |
Factories and classes used when the
BasicTheme
is active. |
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. |
bibliothek.gui.dock.themes.basic.action.buttons |
Classes which allow to paint and interact with a
BasicButtonModel . |
bibliothek.gui.dock.themes.basic.action.dropdown |
Handlers taking various kinds of
DockAction and presenting them
as DropDownViewItem
in order to display them as children of a
DropDownAction |
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.themes.color |
The color subsystem allows each kind of element to get its colors
from a central repository.
|
bibliothek.gui.dock.themes.font |
Implementations of
DockFont to be used
at different places (as described in the documentation for each item). |
bibliothek.gui.dock.themes.nostack |
Elements needed by the
NoStackTheme . |
bibliothek.gui.dock.title |
Elements needed to paint the title of a
Dockable . |
bibliothek.gui.dock.util |
Distribution of information in a global scale and methods available from
everywhere.
|
Modifier and Type | Method and Description |
---|---|
Dockable |
SplitCombiner.combine(CombinerSource source,
CombinerTarget target) |
Modifier and Type | Method and Description |
---|---|
Dockable |
BubbleTab.getDockable() |
Modifier and Type | Method and Description |
---|---|
MovingImage |
BubbleMovingImageFactory.create(DockController controller,
Dockable dockable) |
protected DockActionSource |
BubbleInfoComponent.createActionSource(Dockable dockable) |
protected AbstractDockColor |
RoundButton.createColor(java.lang.String key,
Dockable dockable,
DockAction action,
java.awt.Color backup)
Creates a new
DockColor representing one color used by this button. |
protected AbstractDockColor[] |
RoundButton.createColors(Dockable dockable,
DockAction action) |
DockTitle |
ReducedBubbleTitleFactory.createTitle(Dockable dockable)
Creates a new title without origin.
|
protected DockActionSource |
BubbleButtonDockTitle.getActionSourceFor(Dockable dockable) |
protected DockActionSource |
BubbleButtonDockTitle.getChildrenActionSourceFor(Dockable dockable)
Gets the "special" children actions for
dockable |
protected java.awt.Component |
BubbleDisplayer.getComponent(Dockable dockable) |
protected DockActionSource |
BubbleButtonDockTitle.getDefaultActionSourceFor(Dockable dockable)
Gets the "normal" actions for
dockable . |
protected void |
AbstractBubbleDockTitle.init(Dockable dockable,
DockTitleVersion origin,
boolean showMiniButtons)
Initializes this title, this method should be called only once.
|
protected void |
BubbleButtonDockTitle.init(Dockable dockable,
DockTitleVersion origin,
boolean showMiniButtons) |
protected void |
BubbleDockTitle.init(Dockable dockable,
DockTitleVersion origin,
boolean showMiniButtons)
Initializes this title, this method should be called only once.
|
protected BubbleTab |
BubbleStackDockComponent.newTab(Dockable dockable) |
void |
BubbleDisplayer.setDockable(Dockable dockable) |
void |
BubbleTab.tabChanged(StackDockComponent stack,
Dockable dockable) |
Constructor and Description |
---|
AbstractBubbleDockTitle(Dockable dockable,
DockTitleVersion origin)
Creates a new title.
|
AbstractBubbleDockTitle(Dockable dockable,
DockTitleVersion origin,
boolean showMiniButtons)
Creates a new title.
|
BubbleButtonDockTitle(Dockable dockable,
DockTitleVersion origin)
Creates a new title.
|
BubbleDisplayer(DockStation station,
Dockable dockable,
DockTitle title)
Creates a new displayer
|
BubbleDockTitle(Dockable dockable,
DockTitleVersion origin)
Creates a new title.
|
BubbleDockTitle(Dockable dockable,
DockTitleVersion origin,
boolean showMiniButtons)
Creates a new title.
|
BubbleTab(BubbleStackDockComponent parent,
Dockable dockable)
Creates a new tab
|
BubbleTabColor(int state,
java.lang.String id,
java.lang.String animationId,
BubbleColorAnimation animation,
Dockable dockable,
java.awt.Color backup) |
BubbleTabFont(java.lang.String id,
Dockable dockable)
Creates a new font
|
RoundButton(BasicTrigger trigger,
BasicResourceInitializer initializer,
Dockable dockable,
DockAction action)
Creates a new round button.
|
RoundButtonViewItem(Dockable dockable,
BasicTitleViewItem<javax.swing.JComponent> delegate,
RoundButtonConnectable button)
Creates a new view item.
|
RoundDropDownButton(BasicDropDownButtonHandler handler,
Dockable dockable,
DockAction action)
Creates a new button
|
Modifier and Type | Method and Description |
---|---|
Dockable |
EclipseTabStateInfo.getDockable()
Gets the
Dockable which is represented by this tab. |
Modifier and Type | Method and Description |
---|---|
EclipseThemeConnector.TitleBar |
DefaultEclipseThemeConnector.getTitleBarKind(DockStation parent,
Dockable dockable) |
EclipseThemeConnector.TitleBar |
EclipseThemeConnector.getTitleBarKind(DockStation parent,
Dockable dockable)
Tells which kind of title and
DockableDisplayer should be
shown for dockable assuming everything can be chosen
freely. |
void |
EclipseThemeConnectorListener.titleBarChanged(EclipseThemeConnector source,
Dockable dockable,
EclipseThemeConnector.TitleBar title)
Called if the result of
EclipseThemeConnector.getTitleBarKind(bibliothek.gui.DockStation, Dockable)
has changed. |
Constructor and Description |
---|
EclipseButtonTitle(Dockable dockable,
DockTitleVersion origin) |
Modifier and Type | Method and Description |
---|---|
Dockable |
NoTitleBarDisplayer.getSelectedDockable() |
Modifier and Type | Method and Description |
---|---|
protected DockableDisplayer |
EclipseDisplayerFactory.create(DockStation station,
Dockable dockable,
DockTitle title)
Creates a new
DockableDisplayer for dockable . |
protected BasicDockableDisplayer |
EclipseDisplayerFactory.create(DockStation station,
Dockable dockable,
DockTitle title,
boolean border,
EclipseThemeConnector.TitleBar bar)
Creates a new displayer.
|
void |
NoTitleBarDisplayer.setBorder(Dockable dockable,
javax.swing.border.Border border) |
void |
EclipseBasicDockableDisplayer.setDockable(Dockable dockable) |
void |
EclipseDockableDisplayer.setDockable(Dockable dockable) |
void |
NoTitleBarDisplayer.setDockable(Dockable dockable) |
void |
TitleBarObserver.setDockable(Dockable dockable)
Exchanges the checked dockable, does not trigger
TitleBarObserver.invalidated() . |
Constructor and Description |
---|
EclipseBasicDockableDisplayer(DockStation station,
Dockable dockable,
DockTitle title,
DockableDisplayer.Location location,
EclipseThemeConnector.TitleBar bar) |
EclipseDockableDisplayer(EclipseTheme theme,
DockStation station,
Dockable dockable,
DockTitle title)
Creates a new
DockableDisplayer . |
NoTitleBarDisplayer(DockStation station,
Dockable dockable,
DockTitle title,
EclipseThemeConnector.TitleBar bar) |
TitleBarObserver(DockStation station,
Dockable dockable,
EclipseThemeConnector.TitleBar titleBar)
Creates a new observer.
|
Modifier and Type | Method and Description |
---|---|
protected DockActionSource |
EclipseTabInfo.createActionSource(Dockable dockable) |
protected BorderForwarder |
EclipseTabPane.createContentBorderModifier(Dockable dockable,
javax.swing.JComponent component) |
protected java.awt.Component |
EclipseTabPane.createLayerAt(java.awt.Component component,
Dockable dockable) |
protected EclipseTab |
EclipseTabPane.newTab(Dockable dockable) |
Constructor and Description |
---|
EclipseTab(EclipseTabPane parent,
Dockable dockable,
TabComponent delegate)
Creates a new tab.
|
Modifier and Type | Method and Description |
---|---|
Dockable |
BaseTabComponent.getDockable() |
Dockable |
DockTitleTab.getDockable()
Deprecated.
|
Dockable |
InvisibleTabPane.getSelectedDockable()
Gets the
Dockable that is currently selected. |
Modifier and Type | Method and Description |
---|---|
InvisibleTab |
TabPainter.createInvisibleTab(InvisibleTabPane pane,
Dockable dockable)
Creates a new invisible tab for
pane representing dockable . |
TabComponent |
TabPainter.createTabComponent(EclipseTabPane pane,
Dockable dockable)
Creates a new tab for an
EclipseTabPane . |
javax.swing.border.Border |
TabPainter.getFullBorder(BorderedComponent owner,
DockController controller,
Dockable dockable)
Gets the border which will be around
pane when dockable
is selected. |
void |
InvisibleTabPane.setBorder(Dockable dockable,
javax.swing.border.Border border)
Sets the border that should be painted around
dockable . |
Constructor and Description |
---|
ArchGradientPainter(EclipseTabPane pane,
Dockable dockable)
Creates a new painter.
|
BaseTabComponent(EclipseTabPane pane,
Dockable dockable)
Creates a new
TabComponent |
BaseTabComponent(EclipseTabPane pane,
Dockable dockable,
java.lang.String colorPostfix)
Creates a new
TabComponent |
BasicTabDockTitle(Dockable dockable,
DockTitleVersion origin)
Creates a new title
|
DefaultInvisibleTab(InvisibleTabPane pane,
Dockable dockable)
Creates a new tab.
|
DockTitleTab(DockStation station,
Dockable dockable,
DockTitleVersion title,
EclipseTheme theme)
Deprecated.
Creates a new tab.
|
EclipseDockTitleEvent(DockStation station,
Dockable dockable,
boolean selected,
boolean focused,
boolean paintIconWhenInactive)
Creates a new event
|
RectGradientPainter(EclipseTabPane pane,
Dockable dockable) |
Modifier and Type | Method and Description |
---|---|
Dockable |
FlatTab.getDockable() |
Modifier and Type | Method and Description |
---|---|
protected DockActionSource |
FlatInfoComponent.createActionSource(Dockable dockable) |
protected FlatTab |
FlatTabPane.newTab(Dockable dockable) |
Constructor and Description |
---|
FlatButtonTitle(Dockable dockable,
DockTitleVersion origin)
Constructs a new title
|
FlatDockableDisplayer(DockStation station,
Dockable dockable,
DockTitle title,
DockableDisplayer.Location location) |
FlatTab(FlatTabPane pane,
Dockable dockable)
Constructs a new button
|
Constructor and Description |
---|
SmoothDefaultButtonTitle(Dockable dockable,
DockTitleVersion origin)
Creates a new title.
|
SmoothDefaultStationTitle(Dockable dockable,
DockTitleVersion origin)
Constructs a new station title
|
SmoothDefaultTitle(Dockable dockable,
DockTitleVersion origin)
Constructs a new title
|
Modifier and Type | Method and Description |
---|---|
Dockable |
DockFrontend.DockInfo.getDockable() |
Dockable |
DockStation.getDockable(int index)
Gets the index'th child of this station.
|
Dockable |
DockFrontend.getDockable(java.lang.String name)
|
Dockable |
DockController.getFocusedDockable()
Gets the
Dockable which is currently focused. |
Dockable |
DockStation.getFrontDockable()
Gets the favorite child of this station.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Dockable> |
DockFrontend.getDockables()
Deprecated.
please use
DockFrontend.listDockables() |
java.util.Map<java.lang.String,Dockable> |
DockFrontend.getNamedDockables()
Gets an independent map containing all Dockables registered to this
frontend.
|
java.util.List<Dockable> |
DockFrontend.listDockables()
Gets a list of all
Dockable s which are registered at this
frontend. |
java.util.Set<Dockable> |
DockFrontend.listShownDockables()
Gets a set of all
Dockable which are known to this frontend
and which are visible. |
Modifier and Type | Method and Description |
---|---|
boolean |
DockStation.accept(Dockable child)
Tells whether this station accepts
child as a new child,
or refuses child . |
boolean |
Dockable.accept(DockStation base,
Dockable neighbor)
Tells whether
base could be the parent of a combination
between this Dockable and neighbor . |
void |
DockFrontend.Hider.action(Dockable dockable) |
void |
DockFrontend.addDockable(java.lang.String id,
Dockable dockable)
Adds a Dockable to this frontend.
|
boolean |
DockStation.canDrag(Dockable dockable)
Tells whether
dockable can be removed from this station or not. |
boolean |
DockStation.canReplace(Dockable old,
Dockable next)
Tells whether its possible to replace the child
old
with next where next is not a child of this station. |
void |
DockStation.changed(Dockable dockable,
DockTitle title,
boolean active)
Called by the
DockController of this station to indicate that
the active-state of title has been changed. |
void |
DockStation.drag(Dockable dockable)
Removes a child from this station.
|
void |
DockStation.drop(Dockable dockable)
Adds
dockable to this station. |
boolean |
DockStation.drop(Dockable dockable,
DockableProperty property)
Tries to add
dockable to this station such that the location
given by property is matched. |
protected void |
DockFrontend.fireAdded(Dockable dockable)
Invokes the method
DockFrontendListener.added(DockFrontend, Dockable)
on all listeners. |
protected void |
DockFrontend.fireAllHidden(Dockable dockable,
java.util.Set<Dockable> processed)
Invokes the method
DockFrontendListener.hidden(DockFrontend, Dockable)
on all listeners for dockable and all its children. |
protected void |
DockFrontend.fireAllShown(Dockable dockable,
java.util.Set<Dockable> processed)
Invokes the method
DockFrontendListener.shown(DockFrontend, Dockable)
on all listeners for dockable and all its children. |
protected void |
DockController.fireDockableSelected(DockStation station,
Dockable oldSelected,
Dockable newSelected)
Informs all listeners that
dockable has been selected
by station . |
protected void |
DockFrontend.fireHidden(Dockable dockable)
Invokes the method
DockFrontendListener.hidden(DockFrontend, Dockable)
on all listeners. |
protected void |
DockFrontend.fireHideable(Dockable dockable,
boolean value)
Invokes the method
DockFrontendListener.hideable(DockFrontend, Dockable, boolean)
on all listeners. |
protected void |
DockFrontend.fireRemoved(Dockable dockable)
Invokes the method
DockFrontendListener.removed(DockFrontend, Dockable)
on all listeners. |
protected void |
DockFrontend.fireShown(Dockable dockable)
Invokes the method
DockFrontendListener.shown(DockFrontend, Dockable)
on all listeners. |
protected void |
DockController.fireTitleBound(DockTitle title,
Dockable dockable)
Informs all listeners that
title has been bound
to dockable . |
protected void |
DockController.fireTitleUnbound(DockTitle title,
Dockable dockable)
Informs all listeners that
title is no longer bound
to dockable . |
ActionOffer |
DockController.getActionOffer(Dockable dockable)
Searches the
ActionOffer for dockable . |
DockActionSource |
DockStation.getDirectActionOffers(Dockable dockable)
Gets a list of actions which should be available for the user and
affect the child
dockable . |
DockableProperty |
DockStation.getDockableProperty(Dockable child,
Dockable target)
Gets precise information about the location of a child of this station.
|
FrontendEntry |
DockFrontend.getFrontendEntry(Dockable dockable)
Gets all the information known about the registered
dockable . |
DockActionSource |
DockStation.getIndirectActionOffers(Dockable dockable)
Gets a list of actions which should be available for the user and
affect
dockable . |
java.lang.String |
DockFrontend.getNameOf(Dockable dockable)
Searches the name of
dockable as it was given to
DockFrontend.addDockable(String, Dockable) . |
DockActionSource |
DockFrontend.Hider.getSource(Dockable dockable) |
boolean |
DockFrontend.hasLocation(Dockable dockable)
Tells whether this
DockFrontend currently knows where to
put dockable . |
void |
DockFrontend.hide(Dockable dockable)
Makes
dockable invisible. |
void |
DockFrontend.hide(Dockable dockable,
boolean cancelable)
Makes
dockable invisible. |
boolean |
DockStation.isChildShowing(Dockable dockable)
Tells whether the child
dockable is visible or not. |
boolean |
DockFrontend.isEntryLayout(Dockable dockable)
|
boolean |
DockController.isFocused(Dockable dockable)
Tells whether
dockable or one of its children
has currently the focus. |
boolean |
DockFrontend.isHidden(Dockable dockable)
Tells whether
dockable is hidden or not. |
boolean |
DockFrontend.isHideable(Dockable dockable)
Tells whether there is a "close"-action for
dockable or not. |
boolean |
DockFrontend.isShown(Dockable dockable)
Tells whether
dockable is visible or not. |
boolean |
DockStation.isVisible(Dockable dockable)
Deprecated.
use
DockStation.isChildShowing(Dockable) instead, this method will be removed in a future release |
DockActionSource |
DockController.listOffers(Dockable dockable)
Creates a list of
DockActions which can
affect Dockable .Clients might rather use getGlobalActionOffers() to
get a list of actions for a specific Dockable. |
void |
DockStation.move(Dockable dockable,
DockableProperty property)
Tries to move the child
dockable in such a way, that
DockStation.getDockableProperty(Dockable, Dockable) would return a
DockableProperty that equals property .There is no need to give a guarantee that the move successes, and clients should always be prepared for the possibility that this DockStation
does nothing at all. |
StationDragOperation |
DockStation.prepareDrag(Dockable dockable)
Informs this station that a drag and drop operation is in progress and that
dockable might
be removed from this station. |
boolean |
DockFrontend.Hider.react(Dockable dockable) |
void |
DockFrontend.remove(Dockable dockable)
Removes a
Dockable which was earlier added to this frontend. |
void |
DockStation.replace(Dockable old,
Dockable next)
Replaces the child
old by next which is
not yet a child of this station. |
void |
DockStation.replace(DockStation old,
Dockable next)
Replaces the child
old by next which is
not yet a child of this station. |
void |
DockController.setAtLeastFocusedDockable(Dockable focusedDockable,
java.awt.Component component)
Sets the focused
Dockable . |
void |
DockFrontend.DockInfo.setDockable(Dockable dockable)
Exchanges the dockable which is stored in this
DockFrontend.DockInfo |
void |
DockFrontend.setEntryLayout(Dockable dockable,
boolean layout)
|
void |
DockController.setFocusedDockable(Dockable focusedDockable,
boolean force)
Sets the
Dockable which should have the focus. |
void |
DockController.setFocusedDockable(Dockable focusedDockable,
java.awt.Component component,
boolean force)
Deprecated.
clients should use
DockController.setFocusedDockable(FocusRequest) instead |
void |
DockController.setFocusedDockable(Dockable focusedDockable,
java.awt.Component component,
boolean force,
boolean ensureFocusSet,
boolean ensureDockableFocused)
Deprecated.
clients should use
DockController.setFocusedDockable(FocusRequest) instead |
void |
DockStation.setFrontDockable(Dockable dockable)
Sets the most important child.
|
void |
DockFrontend.setHideable(Dockable dockable,
boolean hideable)
Sets whether to show a close-action for
dockable . |
boolean |
DockFrontend.setLocationAside(Dockable dockable,
Dockable aside)
Updates the stored location of
dockable such that it is aside aside . |
void |
DockFrontend.show(Dockable dockable)
Ensures that
dockable is child of a root known to this
frontend. |
void |
DockFrontend.show(Dockable dockable,
boolean cancelable)
Ensures that
dockable is child of a root known to this
frontend. |
Modifier and Type | Method and Description |
---|---|
protected void |
DockFrontend.fireAllHidden(Dockable dockable,
java.util.Set<Dockable> processed)
Invokes the method
DockFrontendListener.hidden(DockFrontend, Dockable)
on all listeners for dockable and all its children. |
protected void |
DockFrontend.fireAllShown(Dockable dockable,
java.util.Set<Dockable> processed)
Invokes the method
DockFrontendListener.shown(DockFrontend, Dockable)
on all listeners for dockable and all its children. |
void |
DockFrontend.registerBackupFactory(DockFactory<? extends Dockable,?,?> factory)
Register a backup factory.
|
void |
DockFrontend.registerFactory(DockFactory<? extends Dockable,?,?> factory,
boolean backup)
Registers a factory to write and read
Dockable s and DockStation s. |
Constructor and Description |
---|
DockInfo(Dockable dockable,
java.lang.String key)
Creates a new DockInfo.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultDockable
A
Dockable which consists only of one Component called
"content pane". |
class |
FlapDockStation
This
DockStation shows only a title for each of it's children.If the user clicks on one of the titles, a window will popup. |
class |
SplitDockStation
This station shows all its children at once.
|
class |
StackDockStation
On this station, only one of many children is visible.
|
Modifier and Type | Method and Description |
---|---|
Dockable |
DockElement.asDockable()
|
Dockable |
FlapDockStation.DockableHandle.asDockable() |
Dockable |
ScreenDockStation.asDockable() |
Dockable |
SplitDockStation.asDockable() |
Dockable |
FlapDockStation.DockableHandle.getDockable() |
Dockable |
FlapDockStation.getDockable(int index) |
Dockable |
ScreenDockStation.getDockable(int index) |
Dockable |
SplitDockStation.getDockable(int index) |
Dockable |
StackDockStation.getDockable(int index) |
Dockable |
FlapDockStation.getFrontDockable() |
Dockable |
ScreenDockStation.getFrontDockable() |
Dockable |
SplitDockStation.getFrontDockable() |
Dockable |
StackDockStation.getFrontDockable() |
Dockable |
SplitDockStation.getFullScreen()
Gets the
Dockable which is in fullscreen-mode and covers all
other children of this station. |
Dockable[] |
ScreenDockStation.getFullscreenChildren()
Gets a list of all children of this station that are currently in fullscreen mode.
|
Dockable |
FlapDockStation.FlapDropOperation.getItem() |
Dockable |
StackDockStation.StackDropOperation.getItem() |
Modifier and Type | Method and Description |
---|---|
boolean |
SplitDockStation.accept(Dockable child) |
boolean |
SplitDockStation.accept(DockStation base,
Dockable neighbour) |
DockHierarchyLock.Token |
DockHierarchyLock.acquireLink(DockStation station,
Dockable dockable)
Allows
station to become the new parent of dockable . |
static DockHierarchyLock.Token |
DockHierarchyLock.acquireLinking(DockStation station,
Dockable dockable)
The same as calling
DockHierarchyLock.acquireLink(DockStation, Dockable) with the DockHierarchyLock of
the DockController of station . |
DockHierarchyLock.Token |
DockHierarchyLock.acquireUnlink(DockStation station,
Dockable dockable)
Allows
station to remove itself as parent from dockable . |
static DockHierarchyLock.Token |
DockHierarchyLock.acquireUnlinking(DockStation station,
Dockable dockable)
The same as calling
DockHierarchyLock.acquireUnlink(DockStation, Dockable) with the DockHierarchyLock of
the DockController of station . |
void |
FlapDockStation.add(Dockable dockable)
Adds
dockable as new child to this station. |
void |
FlapDockStation.add(Dockable dockable,
int index)
Inserts
dockable as new child in the list of
children. |
void |
StackDockStation.add(Dockable dockable,
int index)
Adds a child to this station at the location
index . |
protected void |
StackDockStation.add(Dockable dockable,
int index,
Path placeholder)
Adds a child to this station at the location
index . |
void |
SplitDockStation.addDockable(Dockable dockable)
Adds
dockable to this station. |
void |
ScreenDockStation.addDockable(Dockable dockable,
java.awt.Rectangle bounds)
Adds a
Dockable on a newly created ScreenDockWindow to
the station. |
void |
ScreenDockStation.addDockable(Dockable dockable,
java.awt.Rectangle bounds,
boolean boundsIncludeWindow)
Adds a
Dockable on a newly created ScreenDockWindow to
the station. |
protected void |
ScreenDockStation.addDockable(Dockable dockable,
java.awt.Rectangle bounds,
Path placeholder,
boolean boundsIncludeWindow)
Adds a
Dockable on a newly created ScreenDockWindow to
the station. |
boolean |
FlapDockStation.canDrag(Dockable dockable) |
boolean |
ScreenDockStation.canDrag(Dockable dockable) |
boolean |
SplitDockStation.canDrag(Dockable dockable) |
boolean |
StackDockStation.canDrag(Dockable dockable) |
boolean |
FlapDockStation.canReplace(Dockable old,
Dockable next) |
boolean |
ScreenDockStation.canReplace(Dockable old,
Dockable next) |
boolean |
SplitDockStation.canReplace(Dockable old,
Dockable next) |
boolean |
StackDockStation.canReplace(Dockable old,
Dockable next) |
void |
FlapDockStation.changed(Dockable dockable,
DockTitle title,
boolean active) |
void |
SplitDockStation.changed(Dockable dockable,
DockTitle title,
boolean active) |
boolean |
FlapDockStation.combine(Dockable child,
Dockable append)
Creates a combination out of
child , which must be a
child of this station, and append which must not be
a child of this station. |
void |
ScreenDockStation.combine(Dockable lower,
Dockable upper)
|
boolean |
FlapDockStation.combine(Dockable child,
Dockable append,
DockableProperty property)
Creates a combination out of
child , which must be a
child of this station, and append which must not be
a child of this station. |
void |
ScreenDockStation.combine(Dockable lower,
Dockable upper,
DockableProperty property)
|
protected FlapDockStation.DockableHandle |
FlapDockStation.createHandle(Dockable dockable)
Creates a new wrapper around
dockable , the wrapper is used as internal representation
of dockable . |
protected void |
ScreenDockStation.deregister(Dockable dockable,
ScreenDockWindow window)
Invoked when a
ScreenDockWindow is no longer needed. |
void |
SplitDockStation.Access.dockableSelected(Dockable dockable) |
void |
FlapDockStation.drag(Dockable dockable) |
void |
ScreenDockStation.drag(Dockable dockable) |
void |
SplitDockStation.drag(Dockable dockable) |
void |
StackDockStation.drag(Dockable dockable) |
void |
FlapDockStation.drop(Dockable dockable) |
void |
ScreenDockStation.drop(Dockable dockable) |
void |
SplitDockStation.drop(Dockable dockable) |
void |
StackDockStation.drop(Dockable dockable) |
void |
StackDockStation.drop(Dockable dockable,
boolean autoPlaceholder)
Adds
dockable to this station. |
boolean |
ScreenDockStation.drop(Dockable dockable,
Dockable location)
Drops
dockable at the same coordinates as location , a
direct child of this station. |
boolean |
FlapDockStation.drop(Dockable dockable,
DockableProperty property) |
boolean |
ScreenDockStation.drop(Dockable dockable,
DockableProperty property) |
boolean |
SplitDockStation.drop(Dockable dockable,
DockableProperty property) |
boolean |
StackDockStation.drop(Dockable dockable,
DockableProperty property) |
boolean |
FlapDockStation.drop(Dockable dockable,
FlapDockProperty property)
Adds the
Dockable dockable to this station or
to a child of this station, according to the contents of
property . |
boolean |
ScreenDockStation.drop(Dockable dockable,
ScreenDockProperty property)
Tries to add the
dockable to this station, and uses
the property to determine its location. |
boolean |
ScreenDockStation.drop(Dockable dockable,
ScreenDockProperty property,
boolean boundsIncludeWindow)
Tries to add the
dockable to this station, and uses
the property to determine its location. |
boolean |
SplitDockStation.drop(Dockable dockable,
SplitDockFullScreenProperty property)
Drops
dockable on this station, may exchange the full screen element to ensure that
dockable is displayed. |
boolean |
SplitDockStation.drop(Dockable dockable,
SplitDockPathProperty property)
Tries to insert
dockable at a location such that the path
to that location is the same as described in property . |
boolean |
SplitDockStation.drop(Dockable dockable,
SplitDockPlaceholderProperty property)
Drops
dockable at the placeholder that is referenced by property . |
boolean |
SplitDockStation.drop(Dockable dockable,
SplitDockProperty property)
Tries to add
Dockable such that the boundaries given
by property are full filled. |
boolean |
SplitDockStation.Access.drop(Dockable dockable,
SplitDockProperty property,
SplitNode root) |
boolean |
StackDockStation.drop(Dockable dockable,
StackDockProperty property)
Adds a new child to this station, and tries to match the
property
as good as possible. |
protected boolean |
SplitDockStation.dropAside(SplitNode neighbor,
PutInfo.Put put,
Dockable dockable,
Leaf leaf,
double divider,
DockHierarchyLock.Token token)
Adds
dockable at the side put of
neighbor . |
protected boolean |
SplitDockStation.dropOver(Leaf leaf,
Dockable dockable,
CombinerSource source,
CombinerTarget target)
|
protected boolean |
SplitDockStation.dropOver(Leaf leaf,
Dockable dockable,
DockableProperty property,
CombinerSource source,
CombinerTarget target)
|
protected void |
SplitDockStation.fireFullScreenChanged(Dockable oldDockable,
Dockable newDockable)
Sends a message to all registered instances of
SplitDockListener ,
that the Dockable in fullscreen-mode has changed. |
protected void |
FlapDockStation.fireHoldChanged(Dockable dockable,
boolean value)
Informs all registered
FlapDockListeners
that the hold-property of a Dockable has been changed. |
protected WindowConfiguration |
ScreenDockStation.getConfiguration(Dockable dockable)
|
DockActionSource |
FlapDockStation.getDirectActionOffers(Dockable dockable) |
DockActionSource |
ScreenDockStation.getDirectActionOffers(Dockable dockable) |
DefaultDockActionSource |
SplitDockStation.getDirectActionOffers(Dockable dockable) |
SplitDockProperty |
SplitDockStation.getDockableLocationProperty(Dockable dockable)
Creates a
DockableProperty for the location of dockable . |
SplitDockPathProperty |
SplitDockStation.getDockablePathProperty(Dockable dockable)
Creates a
DockableProperty for the location of dockable . |
SplitDockPlaceholderProperty |
SplitDockStation.getDockablePlaceholderProperty(Dockable dockable,
Dockable target)
Creates a
SplitDockPlaceholderProperty for dockable , may
insert an additional placeholder in the tree. |
DockableProperty |
FlapDockStation.getDockableProperty(Dockable dockable,
Dockable target) |
DockableProperty |
ScreenDockStation.getDockableProperty(Dockable dockable,
Dockable target) |
DockableProperty |
SplitDockStation.getDockableProperty(Dockable child,
Dockable target) |
DockableProperty |
StackDockStation.getDockableProperty(Dockable dockable,
Dockable target) |
protected bibliothek.gui.dock.SplitDockStation.DropInfo |
SplitDockStation.getDropInfo(SplitDockProperty property,
Dockable dockable,
SplitNode root)
Searches for the best place for
dockable such that its boundaries met
property . |
protected FlapDockStation.DockableHandle |
FlapDockStation.getHandle(Dockable dockable)
Gets the wrapper of
dockable . |
DockActionSource |
ScreenDockStation.getIndirectActionOffers(Dockable dockable) |
DockActionSource |
SplitDockStation.getIndirectActionOffers(Dockable dockable) |
ScreenDockProperty |
ScreenDockStation.getLocation(Dockable dockable,
Dockable target)
Gets the location of
dockable and its current state. |
ScreenDockWindow |
ScreenDockStation.getWindow(Dockable dockable)
Searches the
ScreenDockWindow which displays the dockable . |
int |
FlapDockStation.getWindowSize(Dockable dockable)
Gets the current size of the popup-window
|
int |
FlapDockStation.indexOf(Dockable dockable)
Gets the location of
dockable in the button-panel. |
int |
ScreenDockStation.indexOf(Dockable dockable)
Gets the index of a
Dockable that is shown on this
station. |
int |
StackDockStation.indexOf(Dockable dockable)
Gets the index of a child.
|
int |
SplitDockStation.indexOfDockable(Dockable dockable)
Gets the index of a child of this station.
|
boolean |
ScreenDockStation.isChildShowing(Dockable dockable) |
boolean |
SplitDockStation.isChildShowing(Dockable dockable) |
boolean |
ScreenDockStation.isFullscreen(Dockable dockable)
Tells whether
dockable is currently shown in fullscreen mode. |
boolean |
FlapDockStation.isHold(Dockable dockable)
Tells the
hold =property of dockable . |
boolean |
FlapDockStation.isVisible(Dockable dockable) |
boolean |
ScreenDockStation.isVisible(Dockable dockable)
Deprecated.
|
boolean |
SplitDockStation.isVisible(Dockable dockable)
Deprecated.
|
boolean |
StackDockStation.isVisible(Dockable dockable) |
void |
FlapDockStation.move(Dockable dockable,
DockableProperty property) |
void |
ScreenDockStation.move(Dockable dockable,
DockableProperty property) |
void |
SplitDockStation.move(Dockable dockable,
DockableProperty property) |
void |
StackDockStation.move(Dockable dockable,
DockableProperty property) |
StationChildHandle |
SplitDockStation.Access.newHandle(Dockable dockable) |
StationDragOperation |
FlapDockStation.prepareDrag(Dockable dockable) |
StationDragOperation |
ScreenDockStation.prepareDrag(Dockable dockable) |
StationDragOperation |
SplitDockStation.prepareDrag(Dockable dockable) |
StationDragOperation |
StackDockStation.prepareDrag(Dockable dockable) |
protected ScreenDockWindowHandle |
ScreenDockStation.register(Dockable dockable,
Path placeholder,
ScreenDockWindow window,
WindowConfiguration configuration)
Invoked after a new
ScreenDockWindow has been created. |
void |
FlapDockStation.remove(Dockable dockable)
Removes
dockable from this station.Note: clients may need to invoke DockController.freezeLayout()
and DockController.meltLayout() to ensure no-one else adds or
removes Dockable s. |
void |
ScreenDockStation.removeDockable(Dockable dockable)
Removes the
dockable from this station.Note: clients may need to invoke DockController.freezeLayout()
and DockController.meltLayout() to ensure no-one else adds or
removes Dockable s. |
void |
SplitDockStation.removeDockable(Dockable dockable)
Removes
dockable from this station. |
void |
FlapDockStation.replace(Dockable child,
Dockable append) |
void |
ScreenDockStation.replace(Dockable current,
Dockable other) |
void |
SplitDockStation.replace(Dockable previous,
Dockable next) |
void |
StackDockStation.replace(Dockable old,
Dockable next) |
void |
ScreenDockStation.replace(Dockable current,
Dockable other,
boolean station) |
void |
StackDockStation.replace(Dockable old,
Dockable next,
boolean station) |
void |
FlapDockStation.replace(DockStation old,
Dockable next) |
void |
ScreenDockStation.replace(DockStation old,
Dockable next) |
void |
SplitDockStation.replace(DockStation old,
Dockable next) |
void |
StackDockStation.replace(DockStation old,
Dockable next) |
protected ScreenDockWindow |
ScreenDockStation.searchCombineDockable(int x,
int y,
Dockable drop,
boolean combineArea)
Searches a window on the coordinates x/y which can be used to create
a combination with
drop . |
void |
FlapDockStation.setFrontDockable(Dockable dockable) |
void |
ScreenDockStation.setFrontDockable(Dockable dockable) |
void |
SplitDockStation.setFrontDockable(Dockable dockable) |
void |
StackDockStation.setFrontDockable(Dockable dockable) |
void |
SplitDockStation.setFullScreen(Dockable dockable)
Sets one of the children of this station as the one child which covers
all other children.
|
void |
ScreenDockStation.setFullscreen(Dockable dockable,
boolean fullscreen)
Changes the fullscreen mode of
dockable . |
void |
FlapDockStation.setHold(Dockable dockable,
boolean hold)
Tells whether the station should close the popup when the
Dockable looses the focus, or if the popup should
remain open until the user closes the popup. |
void |
FlapDockStation.setWindowSize(Dockable dockable,
int size)
Sets the size of the popup-window for
dockable . |
void |
FlapDockStation.updateHold(Dockable dockable)
Updates the hold property of
dockable . |
void |
FlapDockStation.updateWindowSize(Dockable dockable)
Updates the size of the window if
dockable is currently
shown. |
Modifier and Type | Method and Description |
---|---|
void |
SplitDockStation.dropTree(SplitDockTree<Dockable> tree)
Removes all children from this station and then adds the contents
that are stored in
tree . |
void |
SplitDockStation.dropTree(SplitDockTree<Dockable> tree,
boolean checkValidity)
Removes all children from this station and then adds the contents
that are stored in
tree . |
PlaceholderMap |
FlapDockStation.getPlaceholders(java.util.Map<Dockable,java.lang.Integer> children)
Gets the placeholders of this station using a
PlaceholderListItemConverter to
encode the children of this station. |
PlaceholderMap |
ScreenDockStation.getPlaceholders(java.util.Map<Dockable,java.lang.Integer> children)
Gets the placeholders of this station using a
PlaceholderListItemConverter to
encode the children of this station. |
PlaceholderMap |
StackDockStation.getPlaceholders(java.util.Map<Dockable,java.lang.Integer> children)
Gets the placeholders of this station using a
PlaceholderListItemConverter to
encode the children of this station. |
D |
DockFactory.layout(L layout,
java.util.Map<java.lang.Integer,Dockable> children,
PlaceholderStrategy placeholders)
Creates a new
DockElement and changes the layout of the new
element such that is matches layout . |
void |
FlapDockStation.setPlaceholders(PlaceholderMap map,
java.util.Map<java.lang.Integer,Dockable> children)
Sets a new layout on this station, this method assumes that
map was created
using FlapDockStation.getPlaceholders(Map) . |
void |
ScreenDockStation.setPlaceholders(PlaceholderMap map,
java.util.Map<java.lang.Integer,Dockable> children)
Sets a new layout on this station, this method assumes that
map was created
using ScreenDockStation.getPlaceholders(Map) . |
void |
StackDockStation.setPlaceholders(PlaceholderMap placeholders,
java.util.Map<java.lang.Integer,Dockable> children)
Sets all placeholders and children of this station.
|
Constructor and Description |
---|
DockableHandle(Dockable dockable)
Creates a new wrapper around
dockable |
DockableHandle(Dockable dockable,
boolean forceActionSourceCreation)
Creates a new wrapper around
dockable |
StackDropOperation(Dockable dropping,
StackDockStation.Insert insert,
boolean move)
Creates a new operation.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractAcceptance.accept(DockStation parent,
Dockable child) |
boolean |
CombinatoryAcceptance.accept(DockStation parent,
Dockable child) |
boolean |
DockAcceptance.accept(DockStation parent,
Dockable child)
Tells whether or not
child is allowed to become a
real child of parent . |
boolean |
MultiDockAcceptance.accept(DockStation parent,
Dockable child) |
boolean |
AbstractAcceptance.accept(DockStation parent,
Dockable child,
Dockable next) |
boolean |
CombinatoryAcceptance.accept(DockStation parent,
Dockable child,
Dockable next) |
boolean |
DockAcceptance.accept(DockStation parent,
Dockable child,
Dockable next)
Tells whether
child , which may be already a child of
parent , and next are allowed to be combined. |
boolean |
MultiDockAcceptance.accept(DockStation parent,
Dockable child,
Dockable next) |
Modifier and Type | Class and Description |
---|---|
class |
SimpleTypedActionGuard<T extends Dockable>
|
class |
TypedActionGuard<T extends Dockable>
This
ActionGuard reacts only on Dockables
with a given type. |
Modifier and Type | Method and Description |
---|---|
Dockable |
ActionDockBorder.getDockable()
Gets the element which owns the action.
|
protected abstract Dockable |
ActionPopup.getDockable()
Gets the Dockable to which the actions are linked.
|
Dockable |
DockActionBackgroundComponent.getDockable()
|
Dockable |
StationChildrenActionSource.getDockable()
Gets the dockable or station which is managed by this source.
|
Dockable |
StandardDockAction.getDockableRepresentation(Dockable dockable)
Tells whether this
DockAction represents a Dockable . |
Modifier and Type | Method and Description |
---|---|
void |
ButtonDockAction.action(Dockable dockable)
Invoked when this action is triggered by the user.
|
void |
DockAction.bind(Dockable dockable)
Informs this DockAction that icons, text, and other stuff like that,
will be requested from this DockAction.
|
void |
StationChildrenActionSource.FocusAction.bind(Dockable dockable) |
protected void |
StationChildrenActionSource.FocusAction.bound(Dockable dockable) |
protected DockAction |
StationChildrenActionSource.createActionFor(Dockable dockable)
Creates the
DockAction which is shown for dockable . |
<V> V |
DockAction.createView(ViewTarget<V> target,
ActionViewConverter converter,
Dockable dockable)
Creates a view for this action, for the platform
target and
with help of converter . |
protected void |
AbstractButtonContentFilter.fire(Dockable dockable,
DockAction action)
Calls
ButtonContentFilterListener.showTextChanged(ButtonContentFilter, Dockable, DockAction) on all
listeners that are currently registered |
Dockable |
StandardDockAction.getDockableRepresentation(Dockable dockable)
Tells whether this
DockAction represents a Dockable . |
DropDownFilterFactory |
DropDownAction.getFilter(Dockable dockable)
Gets a filter that chooses the values that will be shown for this
action and its selection.
|
javax.swing.Icon |
StandardDockAction.getIcon(Dockable dockable,
ActionContentModifier modifier)
Gets the Icon of this DockAction, when this DockAction is shown
together with
dockable . |
ActionContentModifier[] |
StandardDockAction.getIconContexts(Dockable dockable)
Gets all the
ActionContentModifier s for which StandardDockAction.getIcon(Dockable, ActionContentModifier) would
return a value other than null . |
DockActionSource |
MenuDockAction.getMenu(Dockable dockable)
Returns the menu that is represented by this action.
|
DockAction |
DropDownAction.getSelection(Dockable dockable)
Gets the last selected action, which may be
null . |
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.
|
java.lang.String |
StandardDockAction.getText(Dockable dockable)
Gets the text of this DockAction, when this DockAction is
shown together with
dockable . |
java.lang.String |
StandardDockAction.getTooltipText(Dockable dockable)
Gets a tooltip for this DockAction, when this DockAction is
shown together with
dockable . |
void |
AbstractButtonContentFilter.install(Dockable dockable,
DockAction action) |
void |
ButtonContentFilter.install(Dockable dockable,
DockAction action)
Informs this filter that
action which is connected to dockable will
be shown. |
protected void |
AbstractButtonContentFilter.installed(DockAction action,
Dockable dockable)
Called the first time
dockable and action are installed. |
boolean |
ActionOffer.interested(Dockable dockable)
Tells whether this
ActionOffer wants to collect the
actions for the dockable , or if this ActionOffer
is not interested in the Dockable . |
boolean |
DefaultActionOffer.interested(Dockable dockable) |
boolean |
StandardDockAction.isEnabled(Dockable dockable)
Tells whether this DockAction can be triggered together with
the
dockable . |
boolean |
SelectableDockAction.isSelected(Dockable dockable)
Tells whether this DockAction is selected or not (in respect
to the given
dockable ). |
boolean |
ActionGuard.react(Dockable dockable)
|
boolean |
TypedActionGuard.react(Dockable dockable) |
void |
SelectableDockAction.setSelected(Dockable dockable,
boolean selected)
Sets the selected state for
dockable . |
void |
DropDownAction.setSelection(Dockable dockable,
DockAction selection)
Sets the current selection.
|
protected boolean |
StationChildrenActionSource.shouldShow(Dockable dockable)
Tells which children to show and which not.
|
boolean |
ButtonContentFilter.showText(Dockable dockable,
DockAction action)
Tells whether the text of
action , that is associated with dockable , is to be shown. |
void |
ButtonContentFilterListener.showTextChanged(ButtonContentFilter filter,
Dockable dockable,
DockAction action)
Informs this listener that the result of
ButtonContentFilter.showText(Dockable, DockAction)
changed. |
boolean |
ActionPopupSuppressor.suppress(Dockable dockable,
DockActionSource source)
Tells whether to suppress or to allow a popup for
source . |
void |
StationChildrenActionSource.FocusAction.titleBound(Dockable dockable,
DockTitle title) |
void |
StationChildrenActionSource.FocusAction.titleExchanged(Dockable dockable,
DockTitle title) |
void |
StationChildrenActionSource.FocusAction.titleIconChanged(Dockable dockable,
javax.swing.Icon oldIcon,
javax.swing.Icon newIcon) |
void |
StationChildrenActionSource.FocusAction.titleTextChanged(Dockable dockable,
java.lang.String oldTitle,
java.lang.String newTitle) |
void |
StationChildrenActionSource.FocusAction.titleToolTipChanged(Dockable dockable,
java.lang.String oldToolTip,
java.lang.String newToolTip) |
void |
StationChildrenActionSource.FocusAction.titleUnbound(Dockable dockable,
DockTitle title) |
boolean |
DockAction.trigger(Dockable dockable)
Does the appropriate action that can be done respecting the current
state of this action.
|
void |
DockAction.unbind(Dockable dockable)
|
void |
StationChildrenActionSource.FocusAction.unbind(Dockable dockable) |
protected void |
StationChildrenActionSource.FocusAction.unbound(Dockable dockable) |
void |
AbstractButtonContentFilter.uninstall(Dockable dockable,
DockAction action) |
void |
ButtonContentFilter.uninstall(Dockable dockable,
DockAction action)
Informs this filter that
action will no longer be shown. |
protected void |
AbstractButtonContentFilter.uninstalled(DockAction action,
Dockable dockable)
Called after
dockable and action have been uninstalled the last time. |
Modifier and Type | Method and Description |
---|---|
protected void |
StationChildrenActionSource.sort(java.util.List<Dockable> dockables)
Puts an order in the dockables, telling which items to show when.
|
Constructor and Description |
---|
FocusAction(Dockable dockable)
Creates a new action
|
HierarchyDockActionSource(Dockable dockable)
Creates a new source.
|
StationChildrenActionSource(Dockable dockable,
LocationHint hint)
Creates a new action source.
|
Modifier and Type | Method and Description |
---|---|
Dockable |
SharingStandardDockAction.getDockableRepresentation()
Gets the
Dockable which is represented by this DockAction . |
Dockable |
SimpleDockAction.getDockableRepresentation() |
Dockable |
GroupedDockAction.getDockableRepresentation(Dockable dockable) |
Dockable |
SimpleDockAction.getDockableRepresentation(Dockable dockable) |
Dockable |
GroupedDockAction.getDockableRepresentation(K key)
Gets the
Dockable which is represented by this DockAction . |
Modifier and Type | Method and Description |
---|---|
java.util.Set<Dockable> |
AbstractStandardDockAction.getBoundDockables()
Gets a set of all
Dockables which are currently
bound to this DockAction . |
Modifier and Type | Method and Description |
---|---|
void |
SimpleButtonAction.action(Dockable dockable) |
void |
AbstractStandardDockAction.bind(Dockable dockable) |
void |
SeparatorAction.bind(Dockable dockable) |
protected void |
AbstractStandardDockAction.bound(Dockable dockable)
Invoked by this
AbstractStandardDockAction when a Dockable
was bound to this action the first time. |
void |
GroupedDockAction.bound(Dockable dockable) |
protected void |
SimpleDockAction.bound(Dockable dockable) |
protected K |
GroupedDockAction.createGroupKey(Dockable dockable)
Calculates the name of the group to which the
dockable
should be added.Every Dockable is member of one group. |
<V> V |
AbstractSimpleDropDownAction.createView(ViewTarget<V> target,
ActionViewConverter converter,
Dockable dockable) |
<V> V |
GroupedButtonDockAction.createView(ViewTarget<V> target,
ActionViewConverter converter,
Dockable dockable) |
<V> V |
GroupedSelectableDockAction.createView(ViewTarget<V> target,
ActionViewConverter converter,
Dockable dockable) |
<V> V |
SeparatorAction.createView(ViewTarget<V> target,
ActionViewConverter converter,
Dockable dockable) |
<V> V |
SimpleButtonAction.createView(ViewTarget<V> target,
ActionViewConverter converter,
Dockable dockable) |
<V> V |
SimpleMenuAction.createView(ViewTarget<V> target,
ActionViewConverter converter,
Dockable dockable) |
<V> V |
SimpleSelectableAction.createView(ViewTarget<V> target,
ActionViewConverter converter,
Dockable dockable) |
protected void |
GroupedSelectableDockAction.fireSelectedChanged(Dockable dockable)
Fires a change-event on all known listeners.
|
K |
GroupKeyGenerator.generateKey(Dockable dockable)
Generates a new key.
|
javax.swing.Icon |
GroupedDockAction.getDisabledIcon(Dockable dockable) |
Dockable |
GroupedDockAction.getDockableRepresentation(Dockable dockable) |
Dockable |
SimpleDockAction.getDockableRepresentation(Dockable dockable) |
DropDownFilterFactory |
AbstractSimpleDropDownAction.getFilter(Dockable dockable) |
protected D |
GroupedDockAction.getGroup(Dockable dockable)
Gets the group in which
dockable is. |
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) |
ActionContentModifier[] |
GroupedDockAction.getIconContexts(Dockable dockable) |
ActionContentModifier[] |
SimpleDockAction.getIconContexts(Dockable dockable) |
ActionContentModifier[] |
SimpleSelectableAction.getIconContexts(Dockable dockable) |
DockActionSource |
SimpleMenuAction.getMenu(Dockable dockable) |
DockAction |
AbstractSimpleDropDownAction.getSelection(Dockable dockable) |
DockActionSource |
AbstractSimpleDropDownAction.getSubActions(Dockable dockable) |
DefaultDockActionSource |
SimpleDropDownAction.getSubActions(Dockable dockable) |
java.lang.String |
GroupedDockAction.getText(Dockable dockable) |
java.lang.String |
SimpleDockAction.getText(Dockable dockable) |
java.lang.String |
GroupedDockAction.getTooltipText(Dockable dockable) |
java.lang.String |
SimpleDockAction.getTooltipText(Dockable dockable) |
boolean |
AbstractStandardDockAction.isBound(Dockable dockable)
Tells whether the
dockable is bound with this
action, or not. |
boolean |
GroupedDropDownItemAction.isDropDownSelectable(Dockable dockable) |
boolean |
SimpleDropDownItemAction.isDropDownSelectable(Dockable dockable) |
boolean |
GroupedDropDownItemAction.isDropDownTriggerable(Dockable dockable,
boolean selected) |
boolean |
SimpleDropDownItemAction.isDropDownTriggerable(Dockable dockable,
boolean selected) |
boolean |
AbstractStandardDockAction.isEnabled(Dockable dockable)
This method chooses the result according to the current
DisablingStrategy . |
boolean |
GroupedDockAction.isEnabled(Dockable dockable) |
boolean |
SimpleDockAction.isEnabled(Dockable dockable) |
boolean |
GroupedDockAction.isKnown(Dockable dockable)
Tells whether the
dockable is bound
to this action, or not. |
boolean |
GroupedSelectableDockAction.isSelected(Dockable dockable) |
boolean |
SimpleSelectableAction.isSelected(Dockable dockable) |
void |
SharingStandardDockAction.setDockableRepresentation(Dockable dockable)
Sets the
Dockable which is represented by this DockAction . |
void |
SimpleDockAction.setDockableRepresentation(Dockable dockable) |
void |
GroupedDockAction.setDockableRepresentation(K key,
Dockable dockable)
Sets the
Dockable that is represented by this group. |
void |
GroupedDockAction.setGroup(K key,
Dockable dockable)
Assigns the
dockable to the group with the given key . |
void |
GroupedSelectableDockAction.setGroup(K key,
Dockable dockable) |
void |
GroupedSelectableDockAction.setSelected(Dockable dockable,
boolean selected) |
void |
SimpleSelectableAction.setSelected(Dockable dockable,
boolean selected) |
void |
AbstractSimpleDropDownAction.setSelection(Dockable dockable,
DockAction selection) |
boolean |
AbstractSimpleDropDownAction.trigger(Dockable dockable) |
boolean |
GroupedDockAction.trigger(Dockable dockable) |
boolean |
SeparatorAction.trigger(Dockable dockable) |
boolean |
SimpleButtonAction.trigger(Dockable dockable) |
boolean |
SimpleMenuAction.trigger(Dockable dockable) |
boolean |
SimpleSelectableAction.Check.trigger(Dockable dockable) |
boolean |
SimpleSelectableAction.Radio.trigger(Dockable dockable) |
protected boolean |
SimpleDockAction.trigger(java.awt.event.KeyEvent event,
Dockable dockable)
Called when the user hit the
accelerator . |
void |
AbstractStandardDockAction.unbind(Dockable dockable) |
void |
SeparatorAction.unbind(Dockable dockable) |
protected void |
AbstractStandardDockAction.unbound(Dockable dockable)
Called by this
AbstractStandardDockAction when the Dockable
dockable will not be used in any means by this
action. |
void |
GroupedDockAction.unbound(Dockable dockable) |
protected void |
SimpleDockAction.unbound(Dockable dockable) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractStandardDockAction.fireActionEnabledChanged(java.util.Set<Dockable> dockables)
Invokes the
actionEnabledChanged -
method of all currently registered StandardDockActionListener |
protected void |
AbstractStandardDockAction.fireActionIconChanged(ActionContentModifier modifier,
java.util.Set<Dockable> dockables)
Invokes the
actionIconChanged -
method of all currently registered StandardDockActionListener |
protected void |
AbstractStandardDockAction.fireActionRepresentativeChanged(java.util.Set<Dockable> dockables)
Invokes the
actionRepresentativeChanged -
method of all currently registered StandardDockActionListener |
protected void |
AbstractStandardDockAction.fireActionTextChanged(java.util.Set<Dockable> dockables)
Invokes the
actionTextChanged -
method of all currently registered StandardDockActionListener |
protected void |
AbstractStandardDockAction.fireActionTooltipTextChanged(java.util.Set<Dockable> dockables)
Invokes the
actionTooltipTextChanged -
method of all currently registered StandardDockActionListener |
protected void |
GroupedSelectableDockAction.fireSelectedChanged(java.util.Set<Dockable> dockables)
Fires a change-event on all known listeners.
|
Modifier and Type | Field and Description |
---|---|
protected Dockable |
AbstractDropDownFilter.representative
the
Dockable which is represented by this view |
Modifier and Type | Method and Description |
---|---|
Dockable |
DropDownFilter.getDockable()
|
Modifier and Type | Method and Description |
---|---|
DropDownFilter |
DropDownFilterFactory.createView(DropDownAction action,
Dockable dockable,
DropDownView view)
Creates a new filter.
|
boolean |
DropDownItemAction.isDropDownSelectable(Dockable dockable)
Tells whether this action can be selected by a
DropDownAction ,
if it is shown for dockable . |
boolean |
DropDownItemAction.isDropDownTriggerable(Dockable dockable,
boolean selected)
Tells whether this action can be triggered if it is shown as child of
a
DropDownAction . |
void |
AbstractDropDownFilter.setDockableRepresentation(Dockable dockable) |
void |
DropDownView.setDockableRepresentation(Dockable dockable)
Sets the
Dockable which is represented by the view. |
Constructor and Description |
---|
AbstractDropDownFilter(DropDownAction action,
Dockable dockable,
DropDownView view)
Creates a new filter.
|
DefaultDropDownFilter(DropDownAction action,
Dockable dockable,
DropDownView view)
Creates a new filter
|
DropDownFilter(Dockable dockable,
DropDownAction action,
DropDownView view)
Creates a new filter
|
Modifier and Type | Method and Description |
---|---|
Dockable |
ActionPopupMenu.getDockable()
Gets the
Dockable for which this menu is shown. |
Dockable |
DefaultActionPopupMenu.getDockable() |
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) |
Modifier and Type | Method and Description |
---|---|
A |
ViewGenerator.create(ActionViewConverter converter,
D action,
Dockable dockable)
Converts
action into a view. |
<A,D extends DockAction> |
ActionViewConverter.createView(ActionType<D> type,
D action,
ViewTarget<A> target,
Dockable dockable)
Creates and sets up a new view.
|
<A> A |
ActionViewConverter.createView(DockAction action,
ViewTarget<A> target,
Dockable dockable)
Creates and sets up a new view.
|
Constructor and Description |
---|
ConnectingViewItem(Dockable dockable,
ViewItem<A> delegate)
Creates a new item.
|
Modifier and Type | Method and Description |
---|---|
Dockable |
DockRegister.getDockable(int index)
Gets the index'th
Dockable that is registered at this DockRegister . |
Dockable |
DefaultFocusController.getFocusedDockable() |
Dockable[] |
DockRegister.listDockables()
Gets a list of all Dockables.
|
Modifier and Type | Method and Description |
---|---|
protected java.awt.Component |
DefaultFocusController.accept(FocusRequest request,
Dockable dockable)
Decides whether to execute or to refuse
request . |
DirectRemoteRelocator |
DockRelocator.createDirectRemote(Dockable dockable)
Creates a device with which drag&drop operations concerning
dockable can be initiated and executed. |
DirectRemoteRelocator |
DockRelocator.createDirectRemote(Dockable dockable,
boolean forceDrag)
Creates a device with which drag&drop operations concerning
dockable can be initiated and executed. |
RemoteRelocator |
DockRelocator.createRemote(Dockable dockable)
Creates a device with which drag&drop operations concerning
dockable can be initiated and executed. |
RemoteRelocator |
DockRelocator.createRemote(Dockable dockable,
boolean forceDrag)
Creates a device with which drag&drop operations concerning
dockable can be initiated and executed. |
void |
ActionBinder.dockableRegistered(DockController controller,
Dockable dockable) |
void |
ActionBinder.dockableUnregistered(DockController controller,
Dockable dockable) |
void |
VisibilityFocusObserver.dockableUnregistered(DockController controller,
Dockable dockable) |
protected void |
DefaultFocusController.execute(FocusRequest request,
Dockable dockable,
java.awt.Component component)
Called if
DefaultFocusController.accept(FocusRequest, Dockable) accepted request . |
protected void |
DockRegister.fireDockableRegistered(Dockable dockable)
Informs all registerListeners that a
Dockable has been registered. |
protected void |
DockRegister.fireDockableRegistering(Dockable dockable)
Informs all registerListeners that a
Dockable will be registered. |
protected void |
DockRegister.fireDockableUnregistered(Dockable dockable)
Informs all registerListeners that a
Dockable has been
unregistered. |
protected void |
DockRegister.fireStalledChange(Dockable dockable)
Informs all RegisterListeners that
dockable cycled
the register. |
boolean |
DockRegister.isRegistered(Dockable dockable)
Tells whether
dockable is known to this register. |
protected void |
DockRegister.register(Dockable dockable)
Registers
dockable , the associated controller will know the titles
of dockable to allow drag and drop operations.Clients and subclasses should not call this method. |
void |
DoubleClickController.send(Dockable dockable,
java.awt.event.MouseEvent event)
Fires an event to the
DoubleClickListener s whose location in the
tree is equal or below dockable . |
void |
DockableSelector.stop(Dockable dockable)
Close the currently open popup window and changes the focused
Dockable to dockable . |
protected void |
DockRegister.unregister(Dockable dockable)
Unregisters
dockable , the associated controller will no longer
support drag and drop for dockable .Clients and subclasses should not call this method. |
boolean |
DockRegister.willBeRegistered(Dockable dockable)
Tells whether
dockable will be registered after the currently
stalled events have been fired. |
Constructor and Description |
---|
GlobalDoubleClickListener(Dockable dockable)
Constructs a new listener.
|
Modifier and Type | Method and Description |
---|---|
Dockable |
FocusStrategyRequest.getDockable()
Gets the item which is about to gain the focus
|
Dockable |
DefaultFocusHistory.getFirst(Filter<Dockable> filter) |
Dockable |
FocusHistory.getFirst(Filter<Dockable> filter)
|
Dockable |
FocusController.getFocusedDockable()
Gets the
Dockable which is currently focused. |
Dockable[] |
DefaultFocusHistory.getHistory() |
Dockable[] |
FocusHistory.getHistory()
Gets an array containing all known
Dockable s which may have had the focus. |
Dockable |
DefaultFocusHistory.getNewestOn(DockStation... parents) |
Dockable |
FocusHistory.getNewestOn(DockStation... parents)
Searches the one
Dockable that had the focus lately, and that is a child of one
of parent . |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractFocusController.fireDockableFocused(Dockable oldFocused,
Dockable newFocused)
Informs all listeners that
dockable has gained
the focus. |
protected FocusVetoListener.FocusVeto |
AbstractFocusController.fireVetoDockable(Dockable dockable)
Asks all
FocusVetoListener through their method
FocusVetoListener.vetoFocus(FocusController, Dockable)
whether they want cancel a call to the DockController . |
boolean |
DefaultFocusStrategy.shouldFocusAfterDrop(Dockable dockable) |
boolean |
FocusStrategy.shouldFocusAfterDrop(Dockable dockable)
Called after
dockable was dropped on a new parent due to a relocation operation (an operation
that was visible to the user or that was performed by the user). |
Modifier and Type | Method and Description |
---|---|
Dockable |
DefaultFocusHistory.getFirst(Filter<Dockable> filter) |
Dockable |
FocusHistory.getFirst(Filter<Dockable> filter)
|
Constructor and Description |
---|
EnsuringFocusRequest(Dockable dockable,
boolean dockableOnly)
Creates a new request.
|
EnsuringFocusRequest(Dockable dockable,
boolean dockableOnly,
java.awt.Component mouseClicked)
Creates a new request.
|
Modifier and Type | Method and Description |
---|---|
Dockable |
DefaultDockRelocatorEvent.getDockable() |
Dockable |
DockRelocatorEvent.getDockable()
Gets the
Dockable which is or will be dragged. |
Dockable[] |
DropOperation.getImplicit(Dockable selection) |
Dockable[] |
MergeOperation.getImplicit(Dockable selection) |
Dockable[] |
RelocateOperation.getImplicit(Dockable selection)
Gets the
Dockable s whose parent will change due to this operation. |
Dockable[] |
DefaultDockRelocatorEvent.getImplicitDockables() |
Dockable[] |
DockRelocatorEvent.getImplicitDockables()
Gets a set of
Dockable s that will also change their parent due to this
event. |
Modifier and Type | Method and Description |
---|---|
protected boolean |
DefaultDockRelocator.canMerge(StationDropOperation operation,
DockStation parent,
Dockable selection)
|
DirectRemoteRelocator |
DefaultDockRelocator.createDirectRemote(Dockable dockable) |
DirectRemoteRelocator |
DefaultDockRelocator.createDirectRemote(Dockable dockable,
boolean forceDrag) |
RemoteRelocator |
DefaultDockRelocator.createRemote(Dockable dockable) |
RemoteRelocator |
DefaultDockRelocator.createRemote(Dockable dockable,
boolean forceDrag) |
protected RemoteRelocator.Reaction |
DefaultDockRelocator.dragMouseDragged(int x,
int y,
int modifiers,
DockTitle title,
Dockable dockable,
boolean always,
boolean forceDrag)
Handles a mouse-pressed event.
|
protected RemoteRelocator.Reaction |
DefaultDockRelocator.dragMouseDragged(int x,
int y,
int modifiers,
DockTitle title,
Dockable dockable,
boolean always,
boolean forceDrag,
boolean showMovingImage)
Handles a mouse-pressed event.
|
protected void |
DefaultDockRelocator.dragMouseDragged(java.awt.event.MouseEvent e,
DockTitle title,
Dockable dockable)
Invoked while the user drags a title or Dockable.
|
protected RemoteRelocator.Reaction |
DefaultDockRelocator.dragMousePressed(int x,
int y,
int dx,
int dy,
int modifiers,
Dockable dockable,
boolean forceDrag)
Handles a mouse-pressed event.
|
protected void |
DefaultDockRelocator.dragMousePressed(java.awt.event.MouseEvent e,
DockTitle title,
Dockable dockable)
Invoked by the listeners of a title to start a drag and drop operation.
|
protected RemoteRelocator.Reaction |
DefaultDockRelocator.dragMouseReleased(int x,
int y,
int modifiers,
Dockable dockable)
Handles a mouse-released event.
|
protected void |
DefaultDockRelocator.dragMouseReleased(java.awt.event.MouseEvent e,
DockTitle title,
Dockable dockable)
Invoked while the user drags a title or Dockable and releases a mouse
button.
|
boolean |
DropOperation.execute(Dockable selection,
VetoableDockRelocatorListener listener) |
boolean |
MergeOperation.execute(Dockable selection,
VetoableDockRelocatorListener listener) |
boolean |
RelocateOperation.execute(Dockable selection,
VetoableDockRelocatorListener listener)
Executes this operation.
|
protected boolean |
DefaultDockRelocator.executeOperation(Dockable dockable,
RelocateOperation operation)
Executes the drag and drop event
operation . |
Dockable[] |
DropOperation.getImplicit(Dockable selection) |
Dockable[] |
MergeOperation.getImplicit(Dockable selection) |
Dockable[] |
RelocateOperation.getImplicit(Dockable selection)
Gets the
Dockable s whose parent will change due to this operation. |
protected boolean |
DefaultDockRelocator.isCancelLocation(int x,
int y,
Dockable moved)
Checks whether the mouse is at a location that cancels a drag and drop operation.
|
protected java.util.List<DockStation> |
DefaultDockRelocator.listStationsOrdered(int x,
int y,
Dockable moved)
Makes a list of all stations which are visible and contain the point
x/y . |
protected RelocateOperation |
DefaultDockRelocator.preparePut(int mouseX,
int mouseY,
int titleX,
int titleY,
Dockable dockable)
Searches a station which can become the parent of
dockable
if the mouse is released at mouseX/mouseY . |
Constructor and Description |
---|
DefaultDockRelocatorEvent(DockController controller,
Dockable dockable,
Dockable[] implicit,
DockStation target,
java.awt.Point mouse,
boolean move)
Creates a new event.
|
DefaultDockRelocatorEvent(DockController controller,
Dockable dockable,
Dockable[] implicit,
DockStation target,
java.awt.Point mouse,
boolean move)
Creates a new event.
|
Modifier and Type | Method and Description |
---|---|
void |
TabDisablingStrategyObserver.add(Dockable dockable)
Adds
dockable to the set of dockables that must be observed |
void |
ActionDisablingStrategyObserver.bind(Dockable dockable)
Must be called to inform this observer that
dockable is to be observed. |
boolean |
ActionDisablingStrategyObserver.isDisabled(Dockable dockable)
Tells whether the action of
dockable is disabled. |
boolean |
TabDisablingStrategyObserver.isDisabled(Dockable dockable)
Tells whether the tab of
dockable is disabled. |
boolean |
DisablingStrategy.isDisabled(Dockable dockable,
DockAction item)
Tells whether the action
item , which is shown together with dockable , is disabled. |
boolean |
DisablingStrategy.isDisabled(Dockable dockable,
DockTitle item)
Tells whether the title
item , which is shown together with dockable , is disabled. |
boolean |
DisablingStrategy.isTabDisabled(Dockable dockable)
Assuming
dockable is shown with some tabs (e.g. |
void |
TabDisablingStrategyObserver.remove(Dockable dockable)
Removes
dockable from the set of dockables that must be observed |
protected abstract void |
ActionDisablingStrategyObserver.setDisabled(Dockable dockable,
boolean disabled)
Called if the disabled state of the action changed.
|
abstract void |
TabDisablingStrategyObserver.setDisabled(Dockable dockable,
boolean disabled)
Called if
dockable was enabled or disabled. |
void |
ActionDisablingStrategyObserver.unbind(Dockable dockable)
Must be called to inform this observer that
dockable is no longer to be observed. |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
ActionDisablingStrategyObserver.setDisabled(java.util.Set<Dockable> dockable,
boolean disabled)
Called if an entire set of
Dockable s changed their state. |
Modifier and Type | Method and Description |
---|---|
Dockable |
DisplayerCombinerTarget.execute(CombinerSource source)
Executes this operation.
|
Dockable |
DisplayerRequest.getTarget()
Gets the
Dockable which is going to be shown in the DockableDisplayer . |
Modifier and Type | Method and Description |
---|---|
boolean |
SingleTabDecider.showSingleTab(DockStation station,
Dockable dockable)
Decides whether to show a single tab for
dockable |
Constructor and Description |
---|
DisplayerRequest(DockStation parent,
Dockable target,
DisplayerFactory defaultFactory,
java.lang.String displayerId)
Creates a new request.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDockable
An implementation of
Dockable which deals with the simple things.Some of the capabilities of an AbstractDockable are: add or remove a DockableListener , and fire an event
set the parent and the controller
set the title and the icon
store a list of DockActions
|
Modifier and Type | Method and Description |
---|---|
Dockable |
AbstractDockable.asDockable() |
Dockable |
DockableBackgroundComponent.getDockable()
Gets the
Dockable which is represented by this component. |
Dockable |
DockableIcon.getDockable()
Gets the
Dockable for which this icon is used. |
Dockable |
DockableStateEvent.getDockable()
Gets the element which is affected
|
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractDockable.accept(DockStation base,
Dockable neighbour) |
MovingImage |
AncestorMovingImageFactory.create(DockController controller,
Dockable dockable) |
MovingImage |
DefaultDockableMovingImageFactory.create(DockController controller,
Dockable dockable) |
MovingImage |
DockableMovingImageFactory.create(DockController controller,
Dockable dockable)
Gets an image which will be shown underneath the cursor.
|
MovingImage |
ScreencaptureMovingImageFactory.create(DockController controller,
Dockable dockable) |
java.awt.image.BufferedImage |
ScreencaptureMovingImageFactory.createImageFrom(DockController controller,
Dockable dockable)
This method creates a new image that contains the contents of
dockable . |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
DefaultDockableFactory.getLayout(DefaultDockable element,
java.util.Map<Dockable,java.lang.Integer> children) |
DefaultDockable |
DefaultDockableFactory.layout(java.lang.Object layout,
java.util.Map<java.lang.Integer,Dockable> children,
PlaceholderStrategy placeholders) |
void |
DefaultDockableFactory.setLayout(DefaultDockable element,
java.lang.Object layout,
java.util.Map<java.lang.Integer,Dockable> children,
PlaceholderStrategy placeholders) |
Constructor and Description |
---|
DockableIcon(java.lang.String id,
Dockable dockable)
Creates a new icon
|
DockableStateEvent(Dockable dockable,
int flags)
Creates a new event.
|
DockableStateListenerManager(Dockable dockable)
Creates a new manager.
|
DockHierarchyObserver(Dockable owner)
Creates a new observer.
|
Modifier and Type | Method and Description |
---|---|
Dockable |
DockHierarchyEvent.getDockable()
Gets the
Dockable whose path has been changed. |
Dockable |
VetoableDockFrontendEvent.getDockable(int index)
Gets an element which will be or is hidden.
|
Dockable[] |
VetoableDockFrontendEvent.getDockables()
Gets all the elements that are used in this event.
|
Dockable |
DockableFocusEvent.getNewFocusOwner()
Gets the
Dockable which has the focus after the change. |
Dockable |
DockableSelectionEvent.getNewSelected()
Gets the element that is selected after the change.
|
Dockable |
DockableFocusEvent.getOldFocusOwner()
Gets the
Dockable which had the focus before the change. |
Dockable |
DockableSelectionEvent.getOldSelected()
Gets the element that was selected before the change.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<Dockable> |
VetoableDockFrontendEvent.iterator() |
Modifier and Type | Method and Description |
---|---|
void |
DockFrontendAdapter.added(DockFrontend frontend,
Dockable dockable) |
void |
DockFrontendListener.added(DockFrontend frontend,
Dockable dockable)
Informs this listener that an additional
dockable has
been added to the list of known Dockable s of frontend . |
void |
DockAdapter.cancel(DockController controller,
Dockable dockable)
Deprecated.
|
void |
DockStationAdapter.dockableAdded(DockStation station,
Dockable dockable) |
void |
DockStationListener.dockableAdded(DockStation station,
Dockable dockable)
Invoked after
dockable has been added to station .Note: this method is called when the tree of DockElement s contains
the new element, other properties - like the bounds of the
Component of dockable - might not yet be set. |
void |
DockStationAdapter.dockableAdding(DockStation station,
Dockable dockable) |
void |
DockStationListener.dockableAdding(DockStation station,
Dockable dockable)
Invoked before
dockable is added to station . |
void |
DockAdapter.dockableCycledRegister(DockController controller,
Dockable dockable)
Deprecated.
|
void |
DockRegisterAdapter.dockableCycledRegister(DockController controller,
Dockable dockable) |
void |
DockRegisterListener.dockableCycledRegister(DockController controller,
Dockable dockable)
Invoked when
dockable was added and removed from the controller , or
was removed and added again to controller . |
void |
DockAdapter.dockableRegistered(DockController controller,
Dockable dockable)
Deprecated.
|
void |
DockRegisterAdapter.dockableRegistered(DockController controller,
Dockable dockable) |
void |
DockRegisterListener.dockableRegistered(DockController controller,
Dockable dockable)
Invoked after a
Dockable was registered. |
void |
DockAdapter.dockableRegistering(DockController controller,
Dockable dockable)
Deprecated.
|
void |
DockRegisterAdapter.dockableRegistering(DockController controller,
Dockable dockable) |
void |
DockRegisterListener.dockableRegistering(DockController controller,
Dockable dockable)
Invoked right before the
dockable is registered in the
controller . |
void |
DockStationAdapter.dockableRemoved(DockStation station,
Dockable dockable) |
void |
DockStationListener.dockableRemoved(DockStation station,
Dockable dockable)
Invoked after
dockable has been removed from
station . |
void |
DockStationAdapter.dockableRemoving(DockStation station,
Dockable dockable) |
void |
DockStationListener.dockableRemoving(DockStation station,
Dockable dockable)
Invoked before
dockable is removed from station . |
void |
DockStationAdapter.dockableSelected(DockStation station,
Dockable oldSelection,
Dockable newSelection) |
void |
DockStationListener.dockableSelected(DockStation station,
Dockable oldSelection,
Dockable newSelection)
Called when
dockable has been selected. |
void |
DockStationAdapter.dockableShowingChanged(DockStation station,
Dockable dockable,
boolean visible) |
void |
DockStationListener.dockableShowingChanged(DockStation station,
Dockable dockable,
boolean showing)
Invoked if the visibility of a child has been changed.
|
void |
DockStationAdapter.dockablesRepositioned(DockStation station,
Dockable[] dockables) |
void |
DockStationListener.dockablesRepositioned(DockStation station,
Dockable[] dockables)
Called when the location and/or size of one or several
dockables changed. |
void |
DockAdapter.dockableUnregistered(DockController controller,
Dockable dockable)
Deprecated.
|
void |
DockRegisterAdapter.dockableUnregistered(DockController controller,
Dockable dockable) |
void |
DockRegisterListener.dockableUnregistered(DockController controller,
Dockable dockable)
Invoked after
dockable has been unregistered from controller . |
void |
DockAdapter.drag(DockController controller,
Dockable dockable,
DockStation station)
Deprecated.
|
void |
DockAdapter.drop(DockController controller,
Dockable dockable,
DockStation station)
Deprecated.
|
void |
SplitDockListener.fullScreenDockableChanged(SplitDockStation station,
Dockable oldFullScreen,
Dockable newFullScreen)
|
void |
DockFrontendAdapter.hidden(DockFrontend fronend,
Dockable dockable) |
void |
DockFrontendListener.hidden(DockFrontend frontend,
Dockable dockable)
Invoked if a
Dockable was made invisible. |
void |
DockFrontendAdapter.hideable(DockFrontend frontend,
Dockable dockable,
boolean hideable) |
void |
DockFrontendListener.hideable(DockFrontend frontend,
Dockable dockable,
boolean hideable)
Called when the
hideable -state
of dockable changes. |
void |
FlapDockListener.holdChanged(FlapDockStation station,
Dockable dockable,
boolean hold)
Invoked when the hold-property of a
Dockable has been changed. |
void |
DockAdapter.init(DockController controller,
Dockable dockable)
Deprecated.
|
boolean |
DoubleClickListener.process(Dockable dockable,
java.awt.event.MouseEvent event)
Called when the user has clicked twice on
dockable or
on one of the titles of dockable . |
void |
DockFrontendAdapter.removed(DockFrontend frontend,
Dockable dockable) |
void |
DockFrontendListener.removed(DockFrontend frontend,
Dockable dockable)
|
void |
DockFrontendAdapter.shown(DockFrontend frontend,
Dockable dockable) |
void |
DockFrontendListener.shown(DockFrontend frontend,
Dockable dockable)
Invoked if a
Dockable was made visible. |
void |
SingleTabDeciderListener.showSingleTabChanged(SingleTabDecider source,
Dockable dockable)
Called if the single-tab property of
dockable might be
changed. |
void |
DockableAdapter.titleBound(Dockable dockable,
DockTitle title) |
void |
DockableListener.titleBound(Dockable dockable,
DockTitle title)
|
void |
DockTitleBindingListener.titleBound(DockController controller,
DockTitle title,
Dockable dockable)
|
void |
DockableAdapter.titleExchanged(Dockable dockable,
DockTitle title) |
void |
DockableListener.titleExchanged(Dockable dockable,
DockTitle title)
|
void |
DockableAdapter.titleIconChanged(Dockable dockable,
javax.swing.Icon oldIcon,
javax.swing.Icon newIcon) |
void |
DockableListener.titleIconChanged(Dockable dockable,
javax.swing.Icon oldIcon,
javax.swing.Icon newIcon)
Invoked when the title-icon of a
Dockable has changed |
void |
DockableAdapter.titleTextChanged(Dockable dockable,
java.lang.String oldTitle,
java.lang.String newTitle) |
void |
DockableListener.titleTextChanged(Dockable dockable,
java.lang.String oldTitle,
java.lang.String newTitle)
Invoked when the title of a
Dockable has changed. |
void |
DockableAdapter.titleToolTipChanged(Dockable dockable,
java.lang.String oldTooltip,
java.lang.String newTooltip) |
void |
DockableListener.titleToolTipChanged(Dockable dockable,
java.lang.String oldToolTip,
java.lang.String newToolTip)
Called when the tooltip of a
Dockable changed. |
void |
DockableAdapter.titleUnbound(Dockable dockable,
DockTitle title) |
void |
DockableListener.titleUnbound(Dockable dockable,
DockTitle title)
|
void |
DockTitleBindingListener.titleUnbound(DockController controller,
DockTitle title,
Dockable dockable)
|
FocusVetoListener.FocusVeto |
FocusVetoListener.vetoFocus(FocusController controller,
Dockable dockable)
Invoked when the focus should change because the user did something
with
dockable . |
Modifier and Type | Method and Description |
---|---|
void |
DockActionAdapter.actionDisabledIconChanged(StandardDockAction action,
java.util.Set<Dockable> dockables) |
void |
DockActionAdapter.actionEnabledChanged(StandardDockAction action,
java.util.Set<Dockable> dockables) |
void |
StandardDockActionListener.actionEnabledChanged(StandardDockAction action,
java.util.Set<Dockable> dockables)
Invoked when the enabled-state of a
StandardDockAction has been changed. |
void |
StandardDockActionListener.actionIconChanged(StandardDockAction action,
ActionContentModifier modifier,
java.util.Set<Dockable> dockables)
Invoked when the icon of a
StandardDockAction has been changed. |
void |
DockActionAdapter.actionIconChanged(StandardDockAction action,
java.util.Set<Dockable> dockables) |
void |
DockActionAdapter.actionRepresentativeChanged(StandardDockAction action,
java.util.Set<Dockable> dockables) |
void |
StandardDockActionListener.actionRepresentativeChanged(StandardDockAction action,
java.util.Set<Dockable> dockables)
Invoked when the representative-property of a
StandardDockAction has been changed. |
void |
DockActionAdapter.actionTextChanged(StandardDockAction action,
java.util.Set<Dockable> dockables) |
void |
StandardDockActionListener.actionTextChanged(StandardDockAction action,
java.util.Set<Dockable> dockables)
Invoked when the text of a
StandardDockAction has been changed. |
void |
DockActionAdapter.actionTooltipTextChanged(StandardDockAction action,
java.util.Set<Dockable> dockables) |
void |
StandardDockActionListener.actionTooltipTextChanged(StandardDockAction action,
java.util.Set<Dockable> dockables)
Invoked when the tooltip of a
StandardDockAction has been changed. |
void |
SelectableDockActionListener.selectedChanged(SelectableDockAction action,
java.util.Set<Dockable> dockables)
Triggered by a
SelectableDockAction if the selection-state of
a Dockable has changed. |
void |
DropDownActionListener.selectionChanged(DropDownAction action,
java.util.Set<Dockable> dockables,
DockAction selection)
Called when the selection of
action has changed. |
Constructor and Description |
---|
DockableFocusEvent(DockController controller,
Dockable oldFocus,
Dockable newFocus)
Creates a new event.
|
DockableSelectionEvent(DockController controller,
DockStation station,
Dockable oldSelected,
Dockable newSelected)
Creates a new event.
|
DockHierarchyEvent(Dockable dockable)
Creates a new event and sets up all properties.
|
DockHierarchyEvent(Dockable dockable,
DockController controller)
Creates a new event and sets up all properties.
|
VetoableDockFrontendEvent(DockFrontend frontend,
boolean cancelable,
boolean expected,
Dockable... dockables)
Creates a new event
|
Modifier and Type | Method and Description |
---|---|
void |
DockableSelectionListener.considering(Dockable dockable)
Called when an element is selected, but the selection is not yet confirmed.
|
protected abstract void |
AbstractDockableSelection.iconChanged(int index,
Dockable dockable)
Called when the icon of
dockable changed. |
protected void |
DefaultDockableSelection.iconChanged(int index,
Dockable dockable) |
protected abstract void |
AbstractDockableSelection.insert(int index,
Dockable dockable)
Called when a new dockable can be selected.
|
protected void |
DefaultDockableSelection.insert(int index,
Dockable dockable) |
protected abstract void |
AbstractDockableSelection.remove(int index,
Dockable dockable)
Called when a dockable is no longer selectable.
|
protected void |
DefaultDockableSelection.remove(int index,
Dockable dockable) |
protected abstract void |
AbstractDockableSelection.select(Dockable dockable)
Called when this selection is forced to select a specific dockable.
|
protected void |
DefaultDockableSelection.select(Dockable dockable) |
protected boolean |
AbstractDockableSelection.selectable(Dockable dockable)
Decides whether
dockable fits the requirements for
an element that can be selected. |
void |
DockableSelectionListener.selected(Dockable dockable)
Called when an element is selected and the selection confirmed.
|
protected void |
AbstractDockableSelection.setSelection(Dockable dockable)
Informs this selection which dockable is currently selected.
|
protected abstract void |
AbstractDockableSelection.titleChanged(int index,
Dockable dockable)
Called when the title text of
dockable changed. |
protected void |
DefaultDockableSelection.titleChanged(int index,
Dockable dockable) |
Modifier and Type | Class and Description |
---|---|
class |
RegisteringDockFactory<D extends Dockable,P extends PerspectiveElement,L>
A
DockFactory that wraps around another factory and adds all elements
that are read through RegisteringDockFactory.layout(BackupFactoryData, PlaceholderStrategy) or RegisteringDockFactory.layout(BackupFactoryData, Map, PlaceholderStrategy)
to a DockFrontend . |
Modifier and Type | Method and Description |
---|---|
Dockable |
FrontendEntry.getDockable()
The element for which this object stores information.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.Collection<Dockable> |
DefaultLayoutChangeStrategy.approveClosing(DockFrontendInternals frontend,
DockSituation situation,
DefaultLayoutChangeStrategy.SettingAccess setting)
Asks the
VetoManager whether some Dockable s can be hidden. |
protected java.util.Set<Dockable> |
DefaultLayoutChangeStrategy.estimateVisible(DockFrontendInternals frontend,
DockSituation situation,
DockLayoutComposition layout)
Tries to estimate which of the currently visible
Dockable s will
still be visible if layout is applied to frontend . |
protected java.util.Collection<Dockable> |
DefaultLayoutChangeStrategy.getClosingDockables(DockFrontendInternals frontend,
java.util.Set<Dockable> visible)
Creates a collection of all the
Dockable s that are about to be closed. |
Modifier and Type | Method and Description |
---|---|
boolean |
VetoManager.expectToHide(Dockable dockable,
boolean cancelable)
Marks all elements of the tree with root
dockable to be expected to hide soon. |
boolean |
VetoManager.expectToShow(Dockable dockable,
boolean cancelable)
Marks all elements of the tree with root
dockable to be expected to show soon. |
protected void |
VetoManager.fireAllHidden(Dockable dockable,
boolean expected)
Invokes the method
VetoableDockFrontendListener.hidden(VetoableDockFrontendEvent)
for all listeners for all elements of the tree with root dockable . |
protected boolean |
VetoManager.fireAllHiding(Dockable dockable,
boolean cancelable)
Calls the method
VetoableDockFrontendListener.hiding(VetoableDockFrontendEvent)
for all elements in the tree beginning with dockable . |
protected boolean |
VetoManager.fireAllShowing(Dockable dockable,
boolean cancelable)
Calls
VetoableDockFrontendListener.showing(VetoableDockFrontendEvent)
for all elements in the tree with root dockable . |
protected void |
VetoManager.fireAllShown(Dockable dockable,
boolean expected)
Invokes the method
VetoableDockFrontendListener.shown(VetoableDockFrontendEvent)
for all elements in the tree with root dockable . |
protected void |
VetoManager.fireHidden(Dockable dockable,
boolean expected)
Invokes the method
VetoableDockFrontendListener.shown(VetoableDockFrontendEvent)
on all listeners. |
protected void |
VetoManager.fireShown(Dockable dockable,
boolean expected)
Invokes the method
VetoableDockFrontendListener.shown(VetoableDockFrontendEvent)
on all listeners. |
DockFrontend.DockInfo |
DockFrontendInternals.getInfo(Dockable dockable)
Searches information about
dockable . |
protected boolean |
DefaultLayoutChangeStrategy.shouldPredefine(Dockable dockable)
Tells whether the element
dockable should be added as predefined element to the PredefinedDockSituation
that is created by DefaultLayoutChangeStrategy.createSituation(DockFrontendInternals, boolean, boolean) . |
boolean |
DefaultLayoutChangeStrategy.shouldUpdateLayoutOnAdd(Dockable dockable) |
boolean |
LayoutChangeStrategy.shouldUpdateLayoutOnAdd(Dockable dockable)
Called when
dockable is added to a DockFrontend , and the frontend already knows the layout which should be used
for dockable . |
Modifier and Type | Method and Description |
---|---|
boolean |
VetoManager.expectToHide(java.util.Collection<Dockable> dockables,
boolean cancelable)
Marks all elements of
dockables to be expected to hide soon. |
boolean |
VetoManager.expectToShow(java.util.Collection<Dockable> dockables,
boolean cancelable)
Marks all elements of
dockables to be expected to show soon. |
protected void |
VetoManager.fireAllHidden(java.util.Collection<Dockable> dockables,
boolean expected)
Invokes the method
VetoableDockFrontendListener.hidden(VetoableDockFrontendEvent)
for all listeners for all elements in dockables . |
protected boolean |
VetoManager.fireAllHiding(java.util.Collection<Dockable> dockables,
boolean cancelable)
Calls the method
VetoableDockFrontendListener.hiding(VetoableDockFrontendEvent)
for all elements in dockables |
protected boolean |
VetoManager.fireAllShowing(java.util.Collection<Dockable> dockables,
boolean cancelable)
Calls
VetoableDockFrontendListener.showing(VetoableDockFrontendEvent)
for all elements in dockables . |
protected void |
VetoManager.fireAllShown(java.util.Collection<Dockable> dockables,
boolean expected)
Invokes the method
VetoableDockFrontendListener.shown(VetoableDockFrontendEvent)
for all elements in dockables . |
protected java.util.Collection<Dockable> |
DefaultLayoutChangeStrategy.getClosingDockables(DockFrontendInternals frontend,
java.util.Set<Dockable> visible)
Creates a collection of all the
Dockable s that are about to be closed. |
BackupFactoryData<L> |
RegisteringDockFactory.getLayout(D element,
java.util.Map<Dockable,java.lang.Integer> children) |
D |
RegisteringDockFactory.layout(BackupFactoryData<L> layout,
java.util.Map<java.lang.Integer,Dockable> children,
PlaceholderStrategy placeholders) |
void |
RegisteringDockFactory.setLayout(D element,
BackupFactoryData<L> layout,
java.util.Map<java.lang.Integer,Dockable> children,
PlaceholderStrategy placeholders) |
Modifier and Type | Method and Description |
---|---|
L |
DockConverter.getLayout(D element,
java.util.Map<Dockable,java.lang.Integer> children)
Gets the layout of
element . |
void |
DockConverter.setLayout(D element,
L layout,
java.util.Map<java.lang.Integer,Dockable> children,
PlaceholderStrategy placeholders)
Reads the contents of
layout and changes the layout of
element accordingly. |
Modifier and Type | Method and Description |
---|---|
AsideRequest |
AsideRequestFactory.createAsideRequest(DockableProperty location,
Dockable dockable)
Creates a new
AsideRequest for dockable . |
AsideRequest |
DefaultAsideRequestFactory.createAsideRequest(DockableProperty location,
Dockable dockable) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractDockableStation
An abstract combination between
DockStation and Dockable . |
Modifier and Type | Method and Description |
---|---|
<T extends PlaceholderListItem<Dockable>> |
DockStationDelegate.combine(PlaceholderList.Item item,
Combiner combiner,
AsideRequest request)
Can be called by
DockStation.aside(AsideRequest) if request contains a
location that points toward item . |
Modifier and Type | Method and Description |
---|---|
Dockable |
StationChildHandle.asDockable() |
Dockable |
Combiner.combine(CombinerSource source,
CombinerTarget target)
Merges two
Dockable s into a new Dockable. |
Dockable |
DockableDisplayer.getDockable()
Gets the Dockable which is shown on this displayer.
|
Dockable |
StationChildHandle.getDockable()
Gets the element that is handled by this handler.
|
Dockable |
StationDropItem.getDockable()
Gets the item that is moved around
|
Dockable |
PlaceholderMapping.getDockableAt(Path placeholder)
Searches for the placeholder
placeholder and gets the Dockable that is currently sitting
at the location described by placeholder . |
Dockable |
NoStationDropOperation.getItem() |
Dockable |
StationDropOperation.getItem()
Gets the item that will be dropped onto
the target . |
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractDockStation.accept(Dockable child) |
boolean |
AbstractDockableStation.accept(Dockable child) |
boolean |
AbstractDockableStation.acceptable(Dockable child)
Tells whether this station accepts
child as new child. |
boolean |
AbstractDockableStation.acceptable(Dockable old,
Dockable next)
Tells whether this station accepts
child as combination with old . |
void |
PlaceholderMapping.addPlaceholder(Dockable dockable,
Path placeholder)
First searches the location of
dockable , then adds placeholder to that
location. |
void |
AbstractDockStation.changed(Dockable dockable,
DockTitle title,
boolean active) |
void |
AbstractDockableStation.changed(Dockable dockable,
DockTitle title,
boolean active) |
DockableDisplayer |
DisplayerCollection.fetch(Dockable dockable,
DockTitle title)
Creates a new
DockableDisplayer using the factory
of this collection. |
DockActionSource |
AbstractDockableStation.getDirectActionOffers(Dockable dockable) |
DockActionSource |
AbstractDockableStation.getIndirectActionOffers(Dockable dockable) |
boolean |
AbstractDockableStation.isChildShowing(Dockable dockable) |
boolean |
AbstractDockStation.isVisible(Dockable dockable) |
boolean |
AbstractDockableStation.isVisible(Dockable dockable)
Deprecated.
|
void |
DockableDisplayer.setDockable(Dockable dockable)
Sets the Dockable which should be shown on this displayer.
|
Constructor and Description |
---|
NoStationDropOperation(DockStation target,
Dockable item)
Create a new operation
|
StationChildHandle(DockStation station,
DisplayerCollection displayers,
Dockable dockable,
DockTitleVersion title)
|
StationDropItem(int mouseX,
int mouseY,
int titleX,
int titleY,
Dockable dockable)
Creates a new item
|
StationDropItem(int mouseX,
int mouseY,
int titleX,
int titleY,
Dockable dockable,
java.awt.Dimension size,
java.awt.Dimension minimum)
Creates a new item
|
Modifier and Type | Method and Description |
---|---|
Dockable |
DefaultFlapWindow.getDockable()
Gets the
Dockable which is shown on this window. |
Dockable |
FlapDropInfo.getDockable()
Gets the
Dockable which will be dropped or moved on the station. |
Dockable |
FlapWindow.getDockable()
Gets the
Dockable which is shown on this window. |
Dockable |
FlapDropInfo.getNew() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Boolean |
FlapDockHoldToggle.createGroupKey(Dockable dockable) |
protected void |
AbstractFlapLayoutManager.fireHoldSwitchableChanged(FlapDockStation station,
Dockable dockable)
Invokes the method
FlapLayoutManagerListener.holdSwitchableChanged(FlapLayoutManager, FlapDockStation, Dockable)
on all listeners that are currently registered. |
int |
DefaultFlapLayoutManager.getSize(FlapDockStation station,
Dockable dockable) |
int |
FlapLayoutManager.getSize(FlapDockStation station,
Dockable dockable)
Called when
dockable is about to open and station
has to find out which size dockable should have. |
void |
FlapLayoutManagerListener.holdSwitchableChanged(FlapLayoutManager manager,
FlapDockStation station,
Dockable dockable)
This method is called by
manager if the FlapLayoutManagerListener.holdSwitchableChanged(FlapLayoutManager, FlapDockStation, Dockable)
method returns a new value. |
boolean |
DefaultFlapLayoutManager.isHold(FlapDockStation station,
Dockable dockable) |
boolean |
FlapLayoutManager.isHold(FlapDockStation station,
Dockable dockable)
Called when
dockable is added to station and
station does not know whether dockable should
be hold open even when it is not focused. |
boolean |
DefaultFlapLayoutManager.isHoldSwitchable(FlapDockStation station,
Dockable dockable) |
boolean |
FlapLayoutManager.isHoldSwitchable(FlapDockStation station,
Dockable dockable)
Tells whether the user is supposed to switch the
hold property. |
void |
DefaultFlapWindow.setDockable(Dockable dockable)
Sets the
Dockable which will be shown on this window. |
void |
FlapWindow.setDockable(Dockable dockable)
Sets the
Dockable which will be shown on this window. |
void |
DefaultFlapLayoutManager.setHold(FlapDockStation station,
Dockable dockable,
boolean hold) |
void |
FlapLayoutManager.setHold(FlapDockStation station,
Dockable dockable,
boolean hold)
Called when the user changes the hold property of
dockable . |
void |
DefaultFlapLayoutManager.setHoldSwitchable(FlapDockStation station,
Dockable dockable,
boolean switchable)
Sets the result of
DefaultFlapLayoutManager.isHoldSwitchable(FlapDockStation, Dockable) . |
void |
FlapDockHoldToggle.setSelected(Dockable dockable,
boolean selected) |
void |
DefaultFlapLayoutManager.setSize(FlapDockStation station,
Dockable dockable,
int size) |
void |
FlapLayoutManager.setSize(FlapDockStation station,
Dockable dockable,
int size)
Called when the user changes the size of
dockable . |
boolean |
FlapDockHoldToggle.trigger(Dockable dockable) |
Modifier and Type | Method and Description |
---|---|
FlapDockStationLayout |
FlapDockStationFactory.getLayout(FlapDockStation station,
java.util.Map<Dockable,java.lang.Integer> children) |
FlapDockStation |
FlapDockStationFactory.layout(FlapDockStationLayout layout,
java.util.Map<java.lang.Integer,Dockable> children,
PlaceholderStrategy placeholders) |
void |
FlapDockStationFactory.setLayout(FlapDockStation station,
FlapDockStationLayout layout,
java.util.Map<java.lang.Integer,Dockable> children,
PlaceholderStrategy placeholders) |
Constructor and Description |
---|
FlapDockStationSource(FlapDockStation station,
Dockable dockable,
DockAction holdAction)
Creates a new
FlapDockStationSource . |
FlapDropInfo(FlapDockStation station,
Dockable dockable)
Constructs a new info.
|
Modifier and Type | Method and Description |
---|---|
void |
ButtonContent.addListener(Dockable dockable,
ButtonContentListener listener)
|
void |
ButtonContentListener.changed(ButtonContent content,
Dockable dockable)
Called if any property of
dockable changed such that a property
of content may have changed. |
boolean |
ButtonContent.filterActions(Dockable dockable,
boolean theme)
Tells whether actions should filtered before showing on the button of a
FlapDockStation . |
protected void |
AbstractButtonContentCondition.fire(Dockable dockable)
Calls the method
ButtonContent.handleChange(Dockable) on all ButtonContent s that are
currently using this ButtonContentCondition that that have installed dockable . |
void |
ButtonContent.handleChange(Dockable dockable) |
protected void |
AbstractButtonContentCondition.install(Dockable dockable)
Called when
dockable has to be observed. |
void |
AbstractButtonContentCondition.install(Dockable dockable,
ButtonContent content) |
void |
ButtonContentCondition.install(Dockable dockable,
ButtonContent content)
Informs this
ButtonContentCondition that dockable has to be monitored
for changes. |
protected ButtonContentListener[] |
ButtonContent.listeners(Dockable dockable)
Gets all the listeners that are currently monitoring
dockable . |
void |
ButtonContent.removeListener(Dockable dockable,
ButtonContentListener listener)
Informs this
ButtonContent that listener no longer has to be observed. |
boolean |
ButtonContentCondition.shouldShow(Dockable dockable,
boolean themeSuggestion)
Tells whether some property is
true or false depending on the properties that
are actually available. |
boolean |
ButtonContent.showActions(Dockable dockable,
boolean theme)
Tells whether actions should be shown on the button of a
FlapDockStation
or not. |
boolean |
ButtonContent.showChildren(Dockable dockable,
boolean theme)
Tells whether actions to focus a child of a
DockStation should be shown |
boolean |
ButtonContent.showIcon(Dockable dockable,
boolean theme)
Tells whether an icon should be shown.
|
boolean |
ButtonContent.showKnob(Dockable dockable,
boolean theme)
Tells whether a knob should be shown
|
boolean |
ButtonContent.showText(Dockable dockable,
boolean theme)
Tells whether text should be shown.
|
void |
AbstractButtonContentCondition.titleBound(Dockable dockable,
DockTitle title) |
void |
AbstractButtonContentCondition.titleExchanged(Dockable dockable,
DockTitle title) |
void |
AbstractButtonContentCondition.titleIconChanged(Dockable dockable,
javax.swing.Icon oldIcon,
javax.swing.Icon newIcon) |
void |
AbstractButtonContentCondition.titleTextChanged(Dockable dockable,
java.lang.String oldTitle,
java.lang.String newTitle) |
void |
AbstractButtonContentCondition.titleToolTipChanged(Dockable dockable,
java.lang.String oldToolTip,
java.lang.String newToolTip) |
void |
AbstractButtonContentCondition.titleUnbound(Dockable dockable,
DockTitle title) |
protected void |
AbstractButtonContentCondition.uninstall(Dockable dockable)
Called when
dockable no longer has to be observed. |
void |
AbstractButtonContentCondition.uninstall(Dockable dockable,
ButtonContent content) |
void |
ButtonContentCondition.uninstall(Dockable dockable,
ButtonContent content)
Informs this
ButtonContentCondition that dockable no longer has to
be monitored |
Modifier and Type | Method and Description |
---|---|
Dockable |
ScreenDockStationExtension.DropArguments.getDockable()
Gets the element which is about to be dropped
|
Dockable |
ScreenDockWindow.getDockable()
Gets the
Dockable which is currently shown in this window. |
Modifier and Type | Method and Description |
---|---|
void |
ScreenFullscreenAction.action(Dockable dockable) |
boolean |
ScreenDockStationExtension.canReplace(ScreenDockStation station,
Dockable old,
Dockable next)
Tells whether replacing
old with next is possible on station . |
protected java.lang.Boolean |
ScreenFullscreenAction.createGroupKey(Dockable dockable) |
void |
ScreenDockStationListener.fullscreenChanged(ScreenDockStation station,
Dockable dockable)
Called if the fullscreen-mode of
dockable changed. |
java.awt.Dimension |
ScreenDropSizeStrategy.getAddSize(ScreenDockStation station,
Dockable dockable)
Called when
dockable is added to station , but not by a drag and drop
operation. |
WindowConfiguration |
ScreenDockWindowConfiguration.getConfiguration(ScreenDockStation station,
Dockable dockable)
Creates a new configuration for a
ScreenDockWindow that is going to show
dockable . |
java.awt.Dimension |
ScreenDropSizeStrategy.getDropSize(ScreenDockStation station,
Dockable dockable)
Called when
dockable is about to be dropped into station and the
new size of dockable must be found. |
boolean |
ScreenDockFullscreenFilter.isFullscreenEnabled(Dockable dockable)
Tells whether
dockable can be in fullscreen mode. |
void |
ScreenDockStationExtension.DropArguments.setDockable(Dockable dockable)
Sets the dockable which is to be dropped.
|
void |
ScreenDockWindow.setDockable(Dockable dockable)
Sets the
Dockable which should be shown on this window. |
void |
ScreenDockStationListener.windowDeregistering(ScreenDockStation station,
Dockable dockable,
ScreenDockWindow window)
Called when
window was removed from station . |
void |
ScreenDockStationListener.windowRegistering(ScreenDockStation station,
Dockable dockable,
ScreenDockWindow window)
Called when
window was added to station . |
Modifier and Type | Method and Description |
---|---|
ScreenDockStationLayout |
ScreenDockStationFactory.getLayout(ScreenDockStation station,
java.util.Map<Dockable,java.lang.Integer> children) |
ScreenDockStation |
ScreenDockStationFactory.layout(ScreenDockStationLayout layout,
java.util.Map<java.lang.Integer,Dockable> children,
PlaceholderStrategy placeholders) |
void |
ScreenDockStationFactory.setLayout(ScreenDockStation station,
ScreenDockStationLayout layout,
java.util.Map<java.lang.Integer,Dockable> children,
PlaceholderStrategy placeholders) |
Modifier and Type | Method and Description |
---|---|
AttractorStrategy.Attraction |
AttractorStrategy.attract(ScreenDockStation parent,
Dockable moved,
Dockable fixed)
Called when the
Dockable moved has been moved. |
AttractorStrategy.Attraction |
MultiAttractorStrategy.attract(ScreenDockStation parent,
Dockable moved,
Dockable fixed) |
AttractorStrategy.Attraction |
MagnetController.getAttraction(Dockable moved,
Dockable fixed)
Tells whether
fixed and moved attract each other. |
AttractorStrategy.Attraction |
MagnetController.getStickiness(Dockable moved,
Dockable fixed)
Tells whether
fixed and moved stick to each other. |
AttractorStrategy.Attraction |
AttractorStrategy.stick(ScreenDockStation parent,
Dockable moved,
Dockable fixed)
Called when the
Dockable moved has been moved. |
AttractorStrategy.Attraction |
MultiAttractorStrategy.stick(ScreenDockStation parent,
Dockable moved,
Dockable fixed) |
Modifier and Type | Method and Description |
---|---|
Dockable |
ScreenDockWindowHandle.asDockable() |
Dockable |
DisplayerScreenDockWindow.getDockable() |
Modifier and Type | Method and Description |
---|---|
WindowConfiguration |
DefaultScreenDockWindowConfiguration.getConfiguration(ScreenDockStation station,
Dockable dockable) |
void |
AbstractScreenDockWindow.setDockable(Dockable dockable) |
void |
DisplayerScreenDockWindow.setDockable(Dockable dockable) |
void |
ScreenDockWindowHandle.setDockable(Dockable dockable)
Sets the item that is shown by this window.
|
Constructor and Description |
---|
ScreenDockWindowHandle(Dockable dockable,
ScreenDockWindow window,
WindowConfiguration configuration)
Creates a new handle.
|
Modifier and Type | Method and Description |
---|---|
Dockable[] |
DockableSplitDockTree.array(int size) |
protected Dockable[] |
SplitDockGrid.array(int size) |
Dockable |
Leaf.getDockable()
Gets the
Dockable which is shown on the displayer
of this leaf. |
Dockable |
PutInfo.getDockable()
Gets the Dockable which will be added to the station.
|
protected Dockable |
SplitPlaceholderConverter.getDockable(SplitNode leaf) |
Dockable |
SplitDockPlaceholderMapping.getDockableAt(Path placeholder) |
Dockable |
SplitDropOperation.getItem() |
Dockable |
SplitDockCombinerSource.getNew() |
Dockable |
SplitDockCombinerSource.getOld() |
protected Dockable[] |
SplitDockGrid.unpack(Dockable dockable) |
Dockable |
DefaultSplitLayoutManager.willMakeFullscreen(SplitDockStation station,
Dockable dockable) |
Dockable |
SplitLayoutManager.willMakeFullscreen(SplitDockStation station,
Dockable dockable)
Called before the station changes its fullscreen-Dockable.
|
Modifier and Type | Method and Description |
---|---|
protected SplitDockTree<Dockable> |
SplitPlaceholderConverter.createTree() |
Modifier and Type | Method and Description |
---|---|
void |
SplitFullScreenAction.action(Dockable dockable) |
void |
SplitDockPlaceholderMapping.addPlaceholder(Dockable dockable,
Path placeholder) |
protected PutInfo |
DefaultSplitLayoutManager.calculateSideSnap(SplitDockStation station,
int x,
int y,
Leaf leaf,
Dockable drop)
Calculates where to add a
Dockable if the mouse is outside
this station. |
protected Leaf |
SplitNode.create(Dockable dockable,
long id)
Creates a leaf for
dockable . |
protected java.lang.Boolean |
SplitFullScreenAction.createGroupKey(Dockable dockable) |
protected PutInfo |
Leaf.createSidePut(java.awt.Rectangle bounds,
int x,
int y,
Dockable drop,
boolean centered)
Assuming the mouse at
x/y is within bounds , this method calculates which one
of the non-combining PutInfo.Put s describe the situation best. |
boolean |
SplitDockAccess.drop(Dockable dockable,
SplitDockProperty property,
SplitNode root)
Tries to add
Dockable such that the boundaries given
by property are full filled. |
Leaf |
Leaf.getLeaf(Dockable dockable) |
Leaf |
Node.getLeaf(Dockable dockable) |
Leaf |
Placeholder.getLeaf(Dockable dockable) |
Leaf |
Root.getLeaf(Dockable dockable) |
abstract Leaf |
SplitNode.getLeaf(Dockable dockable)
Gets the leaf which represents
dockable . |
protected Path |
SplitPlaceholderConverter.getPlaceholderFor(Dockable dockable) |
PutInfo |
Root.getPut(int x,
int y,
Dockable drop)
|
PutInfo |
Leaf.getPut(int x,
int y,
double factorW,
double factorH,
Dockable drop) |
PutInfo |
Node.getPut(int x,
int y,
double factorW,
double factorH,
Dockable drop) |
PutInfo |
Placeholder.getPut(int x,
int y,
double factorW,
double factorH,
Dockable drop) |
PutInfo |
Root.getPut(int x,
int y,
double factorW,
double factorH,
Dockable drop) |
abstract PutInfo |
SplitNode.getPut(int x,
int y,
double factorW,
double factorH,
Dockable drop)
Determines where to drop the
Dockable drop
if the mouse is at location x/y. |
boolean |
Leaf.insert(SplitDockPathProperty property,
int depth,
Dockable dockable) |
boolean |
Node.insert(SplitDockPathProperty property,
int depth,
Dockable dockable) |
boolean |
Placeholder.insert(SplitDockPathProperty property,
int depth,
Dockable dockable) |
boolean |
Root.insert(SplitDockPathProperty property,
int depth,
Dockable dockable) |
abstract boolean |
SplitNode.insert(SplitDockPathProperty property,
int depth,
Dockable dockable)
If there are elements left in
property , then the next node
is to be read and the insert -method of the matching child
to be called.If there are no children, then dockable has to be inserted
as new child.Otherwise this element is to be replaced by a node containing this and the a leaf with dockable .Subclasses may wary this scheme in order to optimize or to find a better place for the dockable . |
boolean |
Leaf.insert(SplitDockPlaceholderProperty property,
Dockable dockable) |
boolean |
Node.insert(SplitDockPlaceholderProperty property,
Dockable dockable) |
boolean |
Placeholder.insert(SplitDockPlaceholderProperty property,
Dockable dockable) |
boolean |
Root.insert(SplitDockPlaceholderProperty property,
Dockable dockable) |
abstract boolean |
SplitNode.insert(SplitDockPlaceholderProperty property,
Dockable dockable)
Recursively searches for a node or leaf that uses the placeholder specified by
property and inserts the dockable there. |
SplitDockTree.Key |
SplitDockTreeFactory.leaf(Dockable dockable,
long id,
Path[] placeholders,
PlaceholderMap placeholderMap) |
N |
SplitTreeFactory.leaf(Dockable dockable,
long id,
Path[] placeholders,
PlaceholderMap placeholderMap)
Informs about a leaf of the tree.
|
SplitDockPathProperty |
SplitTreePathFactory.leaf(Dockable check,
long id,
Path[] placeholders,
PlaceholderMap placeholderMap) |
StationChildHandle |
SplitDockAccess.newHandle(Dockable dockable)
Creates a new handle but does not take any other action.
|
void |
SplitPlaceholderSet.set(SplitNode node,
Dockable dockable,
SplitNode... protectedNodes)
Ensures that
node is associated with the placeholder for dockable . |
void |
PutInfo.setDockable(Dockable dockable)
Sets the
Dockable which will be added to the station. |
void |
Leaf.setDockable(Dockable dockable,
DockHierarchyLock.Token token)
Sets the element of this leaf.
|
void |
Leaf.setDockable(Dockable dockable,
DockHierarchyLock.Token token,
boolean updatePlaceholders,
boolean storePlaceholderMap)
Sets the element of this leaf.
|
protected Dockable[] |
SplitDockGrid.unpack(Dockable dockable) |
Dockable |
DefaultSplitLayoutManager.willMakeFullscreen(SplitDockStation station,
Dockable dockable) |
Dockable |
SplitLayoutManager.willMakeFullscreen(SplitDockStation station,
Dockable dockable)
Called before the station changes its fullscreen-Dockable.
|
Modifier and Type | Method and Description |
---|---|
protected SplitNode |
SplitNode.create(SplitDockTree.Key key,
boolean checkValidity,
java.util.Map<Leaf,Dockable> linksToSet)
Creates a new node using the contents of
key . |
protected void |
SplitPlaceholderConverter.dropTree(SplitDockStation station,
SplitDockTree<Dockable> tree) |
void |
Leaf.evolve(SplitDockTree.Key key,
boolean checkValidity,
java.util.Map<Leaf,Dockable> linksToSet) |
void |
Node.evolve(SplitDockTree.Key key,
boolean checkValidity,
java.util.Map<Leaf,Dockable> linksToSet) |
void |
Placeholder.evolve(SplitDockTree.Key key,
boolean checkValidity,
java.util.Map<Leaf,Dockable> linksToSet) |
void |
Root.evolve(SplitDockTree.Key key,
boolean checkValidity,
java.util.Map<Leaf,Dockable> linksToSet) |
abstract void |
SplitNode.evolve(SplitDockTree.Key key,
boolean checkValidity,
java.util.Map<Leaf,Dockable> linksToSet)
Creates or replaces children according to the values found in
key . |
SplitDockStationLayout |
SplitDockStationFactory.getLayout(SplitDockStation station,
java.util.Map<Dockable,java.lang.Integer> children) |
SplitDockStation |
SplitDockStationFactory.layout(SplitDockStationLayout layout,
java.util.Map<java.lang.Integer,Dockable> children,
PlaceholderStrategy placeholders) |
void |
SplitDockStationFactory.setLayout(SplitDockStation station,
SplitDockStationLayout layout,
java.util.Map<java.lang.Integer,Dockable> children,
PlaceholderStrategy placeholders) |
Constructor and Description |
---|
PutInfo(SplitNode node,
PutInfo.Put put,
Dockable dockable,
boolean combining)
Creates a new PutInfo.
|
Constructor and Description |
---|
SplitDockTreeFactory(SplitDockTree<Dockable> tree)
Creates a new factory.
|
Modifier and Type | Field and Description |
---|---|
protected Dockable |
DefaultStackDockComponent.Tab.dockable
the element on the tab
|
Modifier and Type | Method and Description |
---|---|
Dockable |
CombinedStackDockComponent.Meta.getDockable()
Gets the element which is represented by this object
|
Dockable |
DefaultStackDockComponent.Tab.getDockable() |
Dockable |
DndAutoSelectStrategyRequest.getDockable()
Gets the
Dockable over whose tab the mouse currently hovers. |
Dockable |
StackDockComponentContentBorder.getDockable()
Gets the dockable which is associated with this border.
|
Dockable |
DefaultDndAutoSelectStrategyRequest.getDockable() |
Dockable |
CombinedStackDockComponent.getDockableAt(int index) |
Dockable |
DefaultStackDockComponent.getDockableAt(int index) |
Dockable |
StackDockComponent.getDockableAt(int index)
Gets the
Dockable which was placed at the index 'th position. |
Dockable |
DockActionCombinedInfoComponent.getSelection()
Gets the element which is currently shown on this info.
|
Modifier and Type | Method and Description |
---|---|
void |
CombinedStackDockComponent.addTab(java.lang.String title,
javax.swing.Icon icon,
java.awt.Component comp,
Dockable dockable) |
void |
DefaultStackDockComponent.addTab(java.lang.String title,
javax.swing.Icon icon,
java.awt.Component comp,
Dockable dockable) |
void |
StackDockComponent.addTab(java.lang.String title,
javax.swing.Icon icon,
java.awt.Component comp,
Dockable dockable)
Adds a new child at an unspecified location.
|
protected void |
CombinedStackDockComponent.addToMenu(M menu,
Dockable dockable) |
void |
TabContentFilterListener.contentChanged(Dockable dockable)
Informs this listener that icon, title and/or tooltip of
dockable changed. |
protected abstract DockActionSource |
DockActionCombinedInfoComponent.createActionSource(Dockable dockable)
Creates a new
DockActionSource for dockable . |
protected BorderForwarder |
CombinedStackDockComponent.createContentBorderModifier(Dockable dockable,
javax.swing.JComponent component)
Creates a
BorderForwarder for the content component for the tab of dockable |
protected java.awt.Component |
CombinedStackDockComponent.createLayerAt(java.awt.Component component,
Dockable dockable)
Creates a layer between
component and this panel. |
protected DefaultStackDockComponent.Tab |
DefaultStackDockComponent.createTab(Dockable dockable)
Creates a new representation of a tab on this component.
|
protected void |
CombinedStackDockComponent.fireTabChanged(Dockable dockable)
Calls
StackDockComponentListener.tabChanged(StackDockComponent, Dockable) on all listeners that
are currently registered. |
TabConfiguration |
CombinedStackDockComponent.getConfiguration(Dockable child)
|
java.awt.Dimension |
CombinedStackDockComponent.getMinimumSize(Dockable dockable) |
T |
CombinedStackDockComponent.getOnTab(Dockable dockable) |
java.awt.Dimension |
CombinedStackDockComponent.getPreferredSize(Dockable dockable) |
int |
DefaultStackDockComponent.indexOf(Dockable dockable) |
int |
StackDockComponentParent.indexOf(Dockable dockable)
Gets the index of
dockable in the list of dockables
that are present on this parent. |
void |
CombinedMenu.insert(int index,
Dockable dockable)
Inserts a new item at
index in this menu. |
void |
CombinedStackDockComponent.insertTab(java.lang.String title,
javax.swing.Icon icon,
java.awt.Component comp,
Dockable dockable,
int index) |
void |
DefaultStackDockComponent.insertTab(java.lang.String title,
javax.swing.Icon icon,
java.awt.Component comp,
Dockable dockable,
int index) |
void |
StackDockComponent.insertTab(java.lang.String title,
javax.swing.Icon icon,
java.awt.Component comp,
Dockable dockable,
int index)
Adds a new child at the location
index . |
T |
CombinedStackDockComponent.putOnTab(Dockable dockable) |
protected T |
CombinedStackDockComponent.putTab(Dockable dockable,
T tab) |
void |
CombinedMenu.remove(Dockable dockable)
Removes the item
dockable from this menu |
protected void |
CombinedStackDockComponent.removeFromMenu(M menu,
Dockable dockable) |
protected T |
CombinedStackDockComponent.removeTab(Dockable dockable) |
protected void |
CombinedStackDockComponent.setEnabledAt(Dockable dockable,
boolean enabled)
Changes the enabled state of the item
dockable . |
void |
CombinedStackDockComponent.setSelectedDockable(Dockable dockable) |
void |
DockActionCombinedInfoComponent.setSelection(Dockable dockable)
Sets the element whose actions should be shown on this info.
|
void |
StackDockComponentListener.tabChanged(StackDockComponent stack,
Dockable dockable)
Called if the result of
StackDockComponent.getTabAt(int) changed
for any index associated with dockable |
Modifier and Type | Method and Description |
---|---|
StackDockStationLayout |
StackDockStationFactory.getLayout(StackDockStation station,
java.util.Map<Dockable,java.lang.Integer> children) |
StackDockStation |
StackDockStationFactory.layout(StackDockStationLayout layout,
java.util.Map<java.lang.Integer,Dockable> children,
PlaceholderStrategy placeholders) |
void |
StackDockStationFactory.setLayout(StackDockStation station,
StackDockStationLayout layout,
java.util.Map<java.lang.Integer,Dockable> children,
PlaceholderStrategy placeholders) |
Constructor and Description |
---|
DefaultDndAutoSelectStrategyRequest(StackDockStation station,
Dockable dockable,
javax.swing.TransferHandler.TransferSupport transferSupport)
Creates a new request object.
|
Meta(Dockable dockable,
java.awt.Component component,
java.lang.String text,
javax.swing.Icon icon,
java.lang.String tooltip,
boolean enabled)
Creates new meta information.
|
Tab(Dockable dockable)
Creates a new Tab
|
Modifier and Type | Method and Description |
---|---|
DockActionSource |
DefaultDockActionDistributor.createSource(Dockable dockable,
DockActionDistributor.Target target) |
DockActionSource |
DockActionDistributor.createSource(Dockable dockable,
DockActionDistributor.Target target)
Creates a selection of the
DockAction s that are to be shown on a target . |
void |
DockActionDistributorSource.setDockable(Dockable dockable)
Sets the
Dockable whose DockActionSource this should be. |
Constructor and Description |
---|
DockActionDistributorSource(DockActionDistributor.Target target,
PropertyKey<DockActionDistributor> key,
Dockable dockable)
Creates a new action source
|
Modifier and Type | Method and Description |
---|---|
Dockable |
CombinedMenuContent.Item.getDockable()
Gets the element which is represented by this item.
|
Dockable |
AbstractCombinedMenu.getDockable(int index) |
Dockable[] |
AbstractCombinedMenu.getDockables() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractCombinedMenu.insert(int index,
Dockable dockable) |
void |
AbstractCombinedMenu.remove(Dockable dockable) |
void |
PopupCombinedMenuContent.select(Dockable dockable)
Closes this menu and informs all listeners that
dockable
has been selected. |
void |
CombinedMenuContentListener.selected(CombinedMenuContent menu,
Dockable selection)
Called after
menu was made invisible with making
a selection. |
protected abstract void |
AbstractCombinedMenu.selected(Dockable dockable)
Called if this menu was open, an element was selected and the menu closed.
|
protected void |
ButtonCombinedMenu.selected(Dockable dockable) |
Constructor and Description |
---|
Item(Dockable dockable,
java.lang.String text,
java.lang.String tooltip,
javax.swing.Icon icon,
boolean enabled)
Creates a new
CombinedMenuContent.Item . |
Modifier and Type | Method and Description |
---|---|
Dockable |
AbstractTab.getDockable() |
Dockable |
Tab.getDockable()
Gets the element that is associated with this tab.
|
Dockable |
AbstractTabPane.getDockable(int index)
Gets the
index 'th element of this pane. |
Dockable |
TabMenu.getDockable(int index)
Gets the index'th
Dockable of this menu. |
Dockable[] |
AbstractTabPane.getDockables() |
Dockable[] |
TabMenu.getDockables()
Gets all the
Dockable s that are shown in this menu. |
Dockable[] |
TabPane.getDockables()
Gets a list of all
Dockable s that are stored on this pane. |
Dockable |
AbstractTabPane.getSelectedDockable() |
Dockable |
TabPane.getSelectedDockable()
Gets the currently selected
Dockable on this pane (this
is the one child that is visible). |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractTabContentFilter.added(StackDockStation station,
Dockable dockable)
Called when
dockable is added to station , this method is called before
the dock parent of dockable is set. |
void |
AbstractTabLayoutManagerPane.added(TabPane pane,
Dockable dockable) |
void |
TabPaneListener.added(TabPane pane,
Dockable dockable)
Called after
dockable has been added to pane . |
protected abstract void |
AbstractTabPane.addToMenu(M menu,
Dockable dockable)
Adds
dockable somewhere to menu |
protected void |
AbstractTabContentFilter.deselected(StackDockStation station,
Dockable dockable)
Called when the selection of
station changed to another dockable than oldSelection . |
protected void |
DefaultTabContentFilter.deselected(StackDockStation station,
Dockable dockable) |
TabContent |
AbstractTabContentFilter.filter(TabContent content,
StackDockComponent component,
Dockable dockable)
This implementation just returns
content . |
TabContent |
DefaultTabContentFilter.filter(TabContent content,
StackDockComponent component,
Dockable dockable) |
TabContent |
TabContentFilter.filter(TabContent content,
StackDockComponent component,
Dockable dockable)
Filters the contents of a tab.
|
TabContent |
AbstractTabContentFilter.filter(TabContent content,
StackDockStation station,
Dockable dockable)
This implementation just returns
content . |
TabContent |
DefaultTabContentFilter.filter(TabContent content,
StackDockStation station,
Dockable dockable) |
TabContent |
TabContentFilter.filter(TabContent content,
StackDockStation station,
Dockable dockable)
Filters the contents of a tab.
|
protected void |
AbstractTabPane.fireAdded(Dockable dockable)
Informs all
TabPaneListener s that dockable
has been added. |
protected void |
AbstractTabContentFilter.fireChanged(Dockable dockable)
Calls
TabContentFilterListener.contentChanged(Dockable) on all
listeners that are currently installed. |
protected void |
AbstractTabPane.fireRemoved(Dockable dockable)
Informs all
TabPaneListener s that dockable
has been removed. |
TabConfiguration |
TabConfigurations.getConfiguration(Dockable dockable)
Gets the configuration for a tab that represents
Dockable . |
M |
AbstractTabPane.getMenu(Dockable dockable)
Gets the menu on which
dockable is shown. |
java.awt.Dimension |
TabPane.getMinimumSize(Dockable dockable)
Gets the minimum size that is required to show the child
dockable . |
T |
AbstractTabPane.getOnTab(Dockable dockable) |
Tab |
TabPane.getOnTab(Dockable dockable)
Gets the tab-button for
dockable , if no tab-button
for dockable exists a new button should be created. |
java.awt.Dimension |
TabPane.getPreferredSize(Dockable dockable)
Gets the preferred size that is required to show the child
dockable . |
T |
AbstractTabPane.getTab(Dockable dockable)
Gets the tab that is used to display
dockable . |
int |
AbstractTabPane.indexOf(Dockable dockable)
Gets the index of
dockable on this pane. |
void |
AbstractTabPane.insert(int index,
Dockable dockable)
Adds
dockable as child to this tab-pane. |
protected abstract T |
AbstractTabPane.newTab(Dockable dockable)
|
void |
AbstractTabPane.putInMenu(TabMenu menu,
Dockable dockable) |
void |
TabPane.putInMenu(TabMenu menu,
Dockable dockable)
Adds
dockable somewhere on menu . |
T |
AbstractTabPane.putOnTab(Dockable dockable) |
Tab |
TabPane.putOnTab(Dockable dockable)
Informs this pane that its child
dockable should have a
tab-button. |
protected T |
AbstractTabPane.putTab(Dockable dockable,
T tab)
Associates
tab with dockable . |
protected void |
AbstractTabContentFilter.removed(StackDockStation station,
Dockable dockable)
Called when
dockable has been removed from station . |
void |
AbstractTabLayoutManagerPane.removed(TabPane pane,
Dockable dockable) |
void |
TabPaneListener.removed(TabPane pane,
Dockable dockable)
Called after
dockable has been removed from pane . |
protected abstract void |
AbstractTabPane.removeFromMenu(M menu,
Dockable dockable)
Removes
dockable from menu . |
protected T |
AbstractTabPane.removeTab(Dockable dockable)
Removes the tab of
dockable from the internal data structure. |
protected void |
AbstractTabContentFilter.selected(StackDockStation station,
Dockable dockable)
Called when the selection of
station changed to newSelection . |
protected void |
DefaultTabContentFilter.selected(StackDockStation station,
Dockable dockable) |
void |
AbstractTabPane.setSelectedDockable(Dockable dockable)
Selects the child
dockable of this pane as the one visible
element. |
void |
TabPane.setSelectedDockable(Dockable dockable)
Sets the dockable which is current selected on this pane.
|
Constructor and Description |
---|
AbstractTab(TabPane parent,
Dockable dockable)
Creates a new abstract tab.
|
Constructor and Description |
---|
SizeCollector(Dockable[] dockables)
Creates a new collector
|
Modifier and Type | Class and Description |
---|---|
class |
DockablePlaceholderList<P extends PlaceholderListItem<Dockable>>
A
PlaceholderList that works with real Dockable s. |
class |
StrategyPlaceholderListItemConverter<D extends PlaceholderListItem<Dockable>>
This converter uses a
PlaceholderStrategy to create new placeholders, but
does not convert placeholders back to dockables. |
Modifier and Type | Method and Description |
---|---|
static <P extends PlaceholderListItem<Dockable>> |
DockablePlaceholderList.simulatedRead(PlaceholderMap map,
PlaceholderListItemConverter<Dockable,P> converter)
Simulates a call to
PlaceholderList.read(PlaceholderMap, PlaceholderListItemConverter) and makes all calls to converter
that would be made in a real read as well. |
Modifier and Type | Method and Description |
---|---|
protected Dockable[] |
DockablePlaceholderList.getChildren(DockStation station) |
Dockable |
ComponentDragOperation.getDockable()
Gets the dockable that is moved around or
null if this
operation is no longer required |
Dockable |
PlaceholderListMapping.getDockableAt(Path placeholder) |
Dockable |
CombinerSource.getNew()
|
Dockable |
CombinerSourceWrapper.getNew() |
Dockable |
CombinerSource.getOld()
|
Dockable |
CombinerSourceWrapper.getOld() |
Modifier and Type | Method and Description |
---|---|
void |
PlaceholderListMapping.addPlaceholder(Dockable dockable,
Path placeholder) |
void |
DockableShowingManager.dockableAdded(DockStation station,
Dockable dockable) |
void |
DockableShowingManager.dockableRemoved(DockStation station,
Dockable dockable) |
void |
DockStationListenerManager.fireDockableAdded(Dockable dockable)
Invokes the method
DockStationListener.dockableAdded(DockStation, Dockable)
on all registered DockStationListeners . |
void |
DockStationListenerManager.fireDockableAdding(Dockable dockable)
Invokes the method
DockStationListener.dockableAdding(DockStation, Dockable)
on all registered DockStationListeners . |
void |
DockStationListenerManager.fireDockableRemoved(Dockable dockable)
Invokes the method
DockStationListener.dockableRemoved(DockStation, Dockable)
on all registered DockStationListeners . |
void |
DockStationListenerManager.fireDockableRemoving(Dockable dockable)
Invokes the method
DockStationListener.dockableRemoving(DockStation, Dockable)
on all registered DockStationListeners . |
void |
DockStationListenerManager.fireDockableSelected(Dockable oldSelected,
Dockable newSelected)
Invokes the method
DockStationListener.dockableSelected(DockStation, Dockable, Dockable)
on all registered DockStationListener s. |
void |
DockStationListenerManager.fireDockablesRepositioned(Dockable... dockables)
Invokes
DockStationListener.dockablesRepositioned(DockStation, Dockable[]) on all
registered DockStationListener s. |
void |
DockStationListenerManager.fireDockableVisibilitySet(Dockable dockable,
boolean value)
Invokes the method
DockStationListener.dockableShowingChanged(DockStation, Dockable, boolean)
on all registered DockStationListeners . |
protected Path |
DockablePlaceholderList.getPlaceholder(Dockable dockable) |
Path |
PlaceholderStrategy.getPlaceholderFor(Dockable dockable)
Gets the placeholder which represents
dockable . |
Path |
RootPlaceholderStrategy.getPlaceholderFor(Dockable dockable) |
protected DockStation |
DockablePlaceholderList.toStation(Dockable dockable) |
protected java.lang.String |
DockablePlaceholderList.toString(Dockable dockable) |
Modifier and Type | Method and Description |
---|---|
static <P extends PlaceholderListItem<Dockable>> |
DockablePlaceholderList.simulatedRead(PlaceholderMap map,
PlaceholderListItemConverter<Dockable,P> converter)
Simulates a call to
PlaceholderList.read(PlaceholderMap, PlaceholderListItemConverter) and makes all calls to converter
that would be made in a real read as well. |
Constructor and Description |
---|
ComponentDragOperation(Dockable dockable,
java.awt.Component component)
Creates a new operation
|
Constructor and Description |
---|
DockablePlaceholderList(PlaceholderMap map,
PlaceholderListItemConverter<Dockable,P> converter)
Creates a new list reading all the data that is stored in
map . |
Modifier and Type | Method and Description |
---|---|
Dockable |
StationCombinerValue.combine(CombinerSource source,
CombinerTarget target) |
Dockable |
ThemeCombiner.combine(CombinerSource source,
CombinerTarget target) |
Modifier and Type | Method and Description |
---|---|
MovingImage |
ThemeDockableMovingImageFactory.create(DockController controller,
Dockable dockable) |
Modifier and Type | Method and Description |
---|---|
Dockable |
BasicCombiner.combine(CombinerSource source,
CombinerTarget target) |
Dockable |
TabDisplayerCombinerTarget.execute(CombinerSource source) |
Dockable |
BasicDockableDisplayer.getDockable() |
Dockable |
TabDisplayerCombinerTarget.getTarget()
Gets the
Dockable over which the new item would be dragged. |
Modifier and Type | Method and Description |
---|---|
MovingImage |
BasicMovingImageFactory.create(DockController controller,
Dockable dockable) |
protected BasicDockableDisplayer |
BasicDisplayerFactory.create(DockStation station,
Dockable dockable,
DockTitle title,
DockableDisplayer.Location location)
Creates a new displayer.
|
protected DefaultStackDockComponent.Tab |
BasicStackDockComponent.createTab(Dockable dockable) |
protected DockActionSource |
BasicButtonDockTitle.getActionSourceFor(Dockable dockable) |
protected DockActionSource |
BasicButtonDockTitle.getChildrenActionSourceFor(Dockable dockable)
Gets the "special" children actions for
dockable |
protected java.awt.Component |
BasicDockableDisplayer.getComponent(Dockable dockable)
Gets the Component which should be used to layout the current
Dockable.
|
protected DockActionSource |
BasicButtonDockTitle.getDefaultActionSourceFor(Dockable dockable)
Gets the "normal" actions for
dockable . |
int |
TabDecorator.indexOf(Dockable dockable) |
protected void |
BasicDockableDisplayer.init(DockStation station,
Dockable dockable,
DockTitle title,
DockableDisplayer.Location location)
Initializes all properties of this DockableDisplayer.
|
void |
BasicDockableDisplayerDecorator.setDockable(java.awt.Component component,
Dockable dockable)
Sets the element to show on this decorator, can be
null |
void |
MinimalDecorator.setDockable(java.awt.Component content,
Dockable dockable) |
void |
TabDecorator.setDockable(java.awt.Component panel,
Dockable dockable) |
void |
BasicDockableDisplayer.setDockable(Dockable dockable) |
protected void |
BasicDockableSelection.setSelection(Dockable dockable) |
Constructor and Description |
---|
BasicButtonDockTitle(Dockable dockable,
DockTitleVersion origin)
Constructs a new title
|
BasicDockableDisplayer(DockStation station,
Dockable dockable,
DockTitle title)
Creates a new displayer, sets the title and the content.
|
BasicDockableDisplayer(DockStation station,
Dockable dockable,
DockTitle title,
DockableDisplayer.Location location)
Creates a new displayer, sets the title, its location and the
content.
|
BasicDockTitle(Dockable dockable,
DockTitleVersion origin)
Creates a new title
|
BasicDockTitle(Dockable dockable,
DockTitleVersion origin,
boolean setDefaultConditionalFonts)
Creates a new title
|
BasicStationTitle(Dockable dockable,
DockTitleVersion origin)
Creates a new instance
|
BasicTab(Dockable dockable) |
Modifier and Type | Method and Description |
---|---|
Dockable |
AbstractBasicHandler.getDockable()
Gets the dockable whose action is handled.
|
Dockable |
BasicButtonModel.getDockable()
Gets the
Dockable for which the button is shown. |
Dockable |
BasicTrigger.getDockable()
Gets the
Dockable for which an action will be performed if this object is triggered. |
Modifier and Type | Method and Description |
---|---|
void |
BasicDropDownButtonHandler.SelectionView.setDockableRepresentation(Dockable dockable) |
void |
BasicDropDownButtonHandler.ButtonView.setDockableRepresentation(Dockable dockable) |
void |
BasicButtonModel.setDockableRepresentative(Dockable dockable)
Sets the
Dockable for which a DockElementRepresentative has to be installed. |
Modifier and Type | Method and Description |
---|---|
void |
BasicHandler.Listener.actionEnabledChanged(StandardDockAction action,
java.util.Set<Dockable> dockables) |
void |
BasicHandler.Listener.actionIconChanged(StandardDockAction action,
ActionContentModifier modifier,
java.util.Set<Dockable> dockables) |
void |
BasicHandler.Listener.actionRepresentativeChanged(StandardDockAction action,
java.util.Set<Dockable> dockables) |
void |
BasicHandler.Listener.actionTextChanged(StandardDockAction action,
java.util.Set<Dockable> dockables) |
void |
BasicHandler.Listener.actionTooltipTextChanged(StandardDockAction action,
java.util.Set<Dockable> dockables) |
Constructor and Description |
---|
AbstractBasicHandler(D action,
Dockable dockable)
Creates a new handler.
|
BasicButtonHandler(ButtonDockAction action,
Dockable dockable)
Creates the new handler.
|
BasicDropDownButtonHandler(DropDownAction action,
Dockable dockable)
Creates a new handler.
|
BasicHandler(D action,
Dockable dockable)
Creates a new handler.
|
BasicMenuHandler(MenuDockAction action,
Dockable dockable)
Creates a new handler
|
BasicSelectableHandler(SelectableDockAction action,
Dockable dockable)
Creates a new handler
|
Check(SelectableDockAction action,
Dockable dockable)
Creates a new handler
|
DropDownItemHandle(DockAction item,
DropDownViewItem view,
Dockable dockable,
DropDownAction action)
Creates a new item.
|
Radio(SelectableDockAction action,
Dockable dockable)
Creates a new handler
|
Modifier and Type | Method and Description |
---|---|
void |
ButtonContentValue.changed(ButtonContent content,
Dockable dockable) |
protected BasicTitleViewItem<javax.swing.JComponent> |
ButtonPanel.createItemFor(DockAction action,
Dockable dockable)
Creates a new item for
action which will be shown on this panel. |
void |
ButtonPanel.set(Dockable dockable)
Changes the content which is shown.
|
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.
|
void |
ButtonContentValue.setDockable(Dockable dockable)
Sets the element whose properties should be monitored.
|
Modifier and Type | Method and Description |
---|---|
void |
DropDownIcon.init(Dockable dockable,
DropDownAction action,
ViewItem<? extends javax.swing.JComponent> parent)
Initializes this icon by setting missing properties.
|
Constructor and Description |
---|
AbstractDropDownHandler(S action,
Dockable dockable,
javax.swing.JMenuItem item)
Creates an new handler.
|
ButtonDropDownHandler(ButtonDockAction action,
Dockable dockable,
javax.swing.JMenuItem item)
Creates a new handler.
|
SelectableDropDownHandler(SelectableDockAction action,
Dockable dockable,
javax.swing.JMenuItem item)
Creates a new handler.
|
Modifier and Type | Field and Description |
---|---|
protected Dockable |
AbstractMenuHandler.dockable
the Dockable for which actions are dispatched
|
Modifier and Type | Method and Description |
---|---|
Dockable |
AbstractMenuHandler.getDockable()
Gets the element for which actions are dispatched.
|
Constructor and Description |
---|
AbstractMenuHandler(D action,
Dockable dockable,
I item)
Creates a new handler with predefined item.
|
ButtonMenuHandler(ButtonDockAction action,
Dockable dockable)
Creates a new handler.
|
DropDownMenuHandler(DropDownAction action,
Dockable dockable)
Creates a new handler
|
MenuMenuHandler(DockActionSource source,
Dockable dockable,
javax.swing.JPopupMenu menu)
Creates a new handler
|
MenuMenuHandler(MenuDockAction action,
Dockable dockable)
Creates a new handler
|
MenuMenuHandler(MenuDockAction action,
Dockable dockable,
ViewTarget<? extends MenuViewItem<javax.swing.JComponent>> target)
Creates a new handler
|
SelectableMenuHandler(SelectableDockAction action,
Dockable dockable,
javax.swing.JMenuItem item)
Creates a new handler
|
Modifier and Type | Method and Description |
---|---|
Dockable |
ActionColor.getDockable()
Gets the
Dockable for which the action is shown. |
Dockable |
TabColor.getDockable()
Gets the element for which the tab is shown.
|
Constructor and Description |
---|
ActionColor(java.lang.String id,
Dockable dockable,
DockAction action,
java.awt.Color backup)
Creates a new
DockColor . |
ActionColor(java.lang.String id,
Path kind,
Dockable dockable,
DockAction action,
java.awt.Color backup)
Creates a new
DockColor . |
TabColor(java.lang.String id,
DockStation station,
Dockable dockable,
java.awt.Color backup)
Creates a new TabColor.
|
TabColor(java.lang.String id,
Path kind,
DockStation station,
Dockable dockable,
java.awt.Color backup)
Creates a new TabColor.
|
Modifier and Type | Method and Description |
---|---|
Dockable |
ButtonFont.getDockable()
Gets the dockable for with which
the action is associated. |
Dockable |
TabFont.getDockable()
Gets the element for which this font is used.
|
Constructor and Description |
---|
ButtonFont(java.lang.String id,
Dockable dockable,
DockAction action,
FontModifier backup)
Creates a new font
|
ButtonFont(java.lang.String id,
Dockable dockable,
DockAction action,
Path kind,
FontModifier backup)
Creates a new font
|
TabFont(java.lang.String id,
DockStation station,
Dockable dockable)
Creates a new font
|
TabFont(java.lang.String id,
DockStation station,
Dockable dockable,
FontModifier backup)
Creates a new font
|
TabFont(java.lang.String id,
Path kind,
DockStation station,
Dockable dockable)
Creates a new font
|
TabFont(java.lang.String id,
Path kind,
DockStation station,
Dockable dockable,
FontModifier backup)
Creates a new font
|
Modifier and Type | Method and Description |
---|---|
boolean |
NoStackAcceptance.accept(DockStation parent,
Dockable child) |
boolean |
NoStackAcceptance.accept(DockStation parent,
Dockable child,
Dockable next) |
Modifier and Type | Method and Description |
---|---|
Dockable |
AbstractMultiDockTitle.getDockable() |
Dockable |
DockTitle.getDockable()
Gets the owner of this title.
|
Dockable |
DockTitleEvent.getDockable()
Gets the
Dockable for which the target-title is used. |
Dockable |
DockTitleRequest.getTarget()
Gets the
Dockable for which the title is requested. |
Modifier and Type | Method and Description |
---|---|
protected BasicTitleViewItem<javax.swing.JComponent> |
AbstractMultiDockTitle.createItemFor(DockAction action,
Dockable dockable)
Creates a new item for
action which will be shown on this title. |
protected DockActionSource |
AbstractDockTitle.getActionSourceFor(Dockable dockable)
Gets a list of all actions which will be shown on this title.
|
protected void |
AbstractMultiDockTitle.init(Dockable dockable,
DockTitleVersion origin)
Initializer called by the constructor.
|
protected void |
AbstractDockTitle.init(Dockable dockable,
DockTitleVersion origin,
boolean showMiniButtons)
Initializer called by the constructor.
|
void |
OrientationToRotationStrategyListener.rotationChanged(Dockable dockable,
DockTitle title)
Informs that the rotation of the text on any
title representing dockable has changed. |
Constructor and Description |
---|
AbstractDockTitle(Dockable dockable,
DockTitleVersion origin)
Constructs a new title
|
AbstractDockTitle(Dockable dockable,
DockTitleVersion origin,
boolean showMiniButtons)
Standard constructor
|
AbstractMultiDockTitle(Dockable dockable,
DockTitleVersion origin)
Standard constructor
|
ActionsDockTitleEvent(Dockable dockable,
DockActionSource suggestions)
Creates a new event.
|
ActionsDockTitleEvent(DockStation station,
Dockable dockable,
DockActionSource suggestions)
Creates a new event.
|
ActivityDockTitleEvent(Dockable dockable,
boolean active)
Constructs a new event.
|
ActivityDockTitleEvent(DockStation station,
Dockable dockable,
boolean active)
Constructs a new event.
|
DockTitleEvent(Dockable dockable)
Constructs a new event.
|
DockTitleEvent(DockStation station,
Dockable dockable)
Constructs a new event.
|
DockTitleRequest(DockStation parent,
Dockable target,
DockTitleVersion version)
Creates a new request.
|
TitleMovingImage(Dockable dockable,
DockTitle title)
Creates a new image.
|
UpdatingTitleMovingImage(Dockable dockable,
DockTitleVersion version,
DockTitle.Orientation orientation)
Creates a new image.
|
Modifier and Type | Method and Description |
---|---|
static Dockable |
DockUtilities.getDirectChild(DockStation parent,
Dockable subchild)
Searches the one
Dockable that is either subchild or a parent
of subchild and whose parent is parent . |
Modifier and Type | Method and Description |
---|---|
static java.util.List<Dockable> |
DockUtilities.listDockables(DockElement root,
boolean includeRoot)
Lists all
Dockable s in the tree under root . |
Modifier and Type | Method and Description |
---|---|
static boolean |
DockUtilities.acceptable(DockStation parent,
Dockable child)
|
static boolean |
DockUtilities.acceptable(DockStation parent,
Dockable old,
Dockable next)
|
static void |
DockUtilities.ensureTreeValidity(DockStation newParent,
Dockable newChild)
Ensures that
newChild has no parent, and that there will
be no cycle when newChild is added to newParent |
static Dockable |
DockUtilities.getDirectChild(DockStation parent,
Dockable subchild)
Searches the one
Dockable that is either subchild or a parent
of subchild and whose parent is parent . |
static DockableProperty |
DockUtilities.getPropertyChain(Dockable dockable)
|
static DockableProperty |
DockUtilities.getPropertyChain(DockStation ground,
Dockable dockable)
|
static java.awt.Component |
DockUtilities.getShowingComponent(Dockable dockable)
Searches a
Component which is showing
and has something to do with dockable .This method first checks Dockable and DockTitle s, then it checks
all DockElementRepresentative s. |
void |
DockUtilities.DockVisitor.handleDockable(Dockable dockable)
Invoked to visit
dockable . |
static Path[] |
DockUtilities.mergePlaceholders(Path[] base,
Dockable dockable,
PlaceholderStrategy strategy)
Merges the array
base with the placeholder that is associated with dockable , but
only if that placeholder is not yet in base . |
static void |
DockUtilities.visit(Dockable dockable,
DockUtilities.DockVisitor visitor)
Visits
dockable and all its children. |