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.common.action |
Contains different
DockAction s and subclasses of CAction to
create buttons, checkboxes, menus and other components as button in the titles and tabs of
CDockable s. |
bibliothek.gui.dock.common.action.predefined |
A set of more complex actions that can be directly used.
|
bibliothek.gui.dock.common.behavior | |
bibliothek.gui.dock.common.group |
Contains the
CGroupBehavior and its implementations,
this interface allows to group Dockable s together. |
bibliothek.gui.dock.common.grouping | |
bibliothek.gui.dock.common.intern |
Classes and interfaces used internally.
|
bibliothek.gui.dock.common.intern.action |
CAction s and supporting classes that are not intended for clients
to be used directly. |
bibliothek.gui.dock.common.intern.action.panel |
Supporting classes for
CPanelPopup . |
bibliothek.gui.dock.common.intern.layout |
Implementation of a
LayoutChangeStrategy and supporting classes. |
bibliothek.gui.dock.common.intern.station |
Contains the
CommonDockStation , various implementations of CommonDockStation and supporting classes. |
bibliothek.gui.dock.common.intern.ui |
Base-classes intended for inheritance and small strategy-classes modifying the way
Core works. |
bibliothek.gui.dock.common.menu |
Some
MenuPiece s to modify the layout and settings of an
application that uses Common . |
bibliothek.gui.dock.common.mode | |
bibliothek.gui.dock.common.mode.station |
Contains wrapper classes for various
DockStation s, implementing the interface
CLocationMode . |
bibliothek.gui.dock.common.theme.eclipse |
Supporting classes for
CEclipseTheme . |
bibliothek.gui.dock.control |
Classes responsible to handle some global task.
|
bibliothek.gui.dock.control.focus |
The focus sub-system is responsible for transfering 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.facile.action |
Some
DockAction s used by Common . |
bibliothek.gui.dock.facile.menu |
Implementations of
MenuPiece . |
bibliothek.gui.dock.facile.mode |
Contains an implementation of
ModeManager that links a mode to the location
of a Dockable . |
bibliothek.gui.dock.facile.mode.action | |
bibliothek.gui.dock.facile.mode.station |
Wrappers for
DockStation s, implementing StationModeArea . |
bibliothek.gui.dock.facile.mode.status |
Strategies helping a
LocationModeManager to decide which modes are
available for a Dockable . |
bibliothek.gui.dock.facile.station.split |
Support classes for
SplitDockStation . |
bibliothek.gui.dock.focus | |
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.support.mode |
Basic interfaces and classes for a framework that assigns modes to
Dockable s. |
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(String key,
Dockable dockable,
DockAction action,
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 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.BubbleTabColor(int state,
String id,
String animationId,
BubbleColorAnimation animation,
Dockable dockable,
Color backup) |
BubbleTab.BubbleTabFont(String id,
Dockable dockable)
Creates a new font
|
BubbleTab(BubbleStackDockComponent parent,
Dockable dockable)
Creates a new tab
|
RoundButton(BasicTrigger trigger,
BasicResourceInitializer initializer,
Dockable dockable,
DockAction action)
Creates a new round button.
|
RoundButtonViewItem(Dockable dockable,
BasicTitleViewItem<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,
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,
JComponent component) |
protected Component |
EclipseTabPane.createLayerAt(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 . |
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,
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,
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(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 |
---|---|
Collection<Dockable> |
DockFrontend.getDockables()
Deprecated.
please use
DockFrontend.listDockables() |
Map<String,Dockable> |
DockFrontend.getNamedDockables()
Gets an independent map containing all Dockables registered to this
frontend.
|
List<Dockable> |
DockFrontend.listDockables()
Gets a list of all
Dockable s which are registered at this
frontend. |
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(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,
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,
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 . |
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,
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,
Component component,
boolean force)
Deprecated.
clients should use
DockController.setFocusedDockable(FocusRequest) instead |
void |
DockController.setFocusedDockable(Dockable focusedDockable,
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,
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,
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 |
---|
DockFrontend.DockInfo(Dockable dockable,
String key)
Creates a new DockInfo.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultDockable
|
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,
Rectangle bounds)
Adds a
Dockable on a newly created ScreenDockWindow to
the station. |
void |
ScreenDockStation.addDockable(Dockable dockable,
Rectangle bounds,
boolean boundsIncludeWindow)
Adds a
Dockable on a newly created ScreenDockWindow to
the station. |
protected void |
ScreenDockStation.addDockable(Dockable dockable,
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 noone 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 noone 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(Map<Dockable,Integer> children)
Gets the placeholders of this station using a
PlaceholderListItemConverter to
encode the children of this station. |
PlaceholderMap |
ScreenDockStation.getPlaceholders(Map<Dockable,Integer> children)
Gets the placeholders of this station using a
PlaceholderListItemConverter to
encode the children of this station. |
PlaceholderMap |
StackDockStation.getPlaceholders(Map<Dockable,Integer> children)
Gets the placeholders of this station using a
PlaceholderListItemConverter to
encode the children of this station. |
D |
DockFactory.layout(L layout,
Map<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,
Map<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,
Map<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,
Map<Integer,Dockable> children)
Sets all placeholders and children of this station.
|
Constructor and Description |
---|
FlapDockStation.DockableHandle(Dockable dockable)
Creates a new wrapper around
dockable |
FlapDockStation.DockableHandle(Dockable dockable,
boolean forceActionSourceCreation)
Creates a new wrapper around
dockable |
StackDockStation.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.
|
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.
|
String |
StandardDockAction.getText(Dockable dockable)
Gets the text of this DockActon, when this DockAction is
shown together with
dockable . |
String |
StandardDockAction.getTooltipText(Dockable dockable)
Gets a tooltip for this DockActon, 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,
Icon oldIcon,
Icon newIcon) |
void |
StationChildrenActionSource.FocusAction.titleTextChanged(Dockable dockable,
String oldTitle,
String newTitle) |
void |
StationChildrenActionSource.FocusAction.titleToolTipChanged(Dockable dockable,
String oldToolTip,
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(List<Dockable> dockables)
Puts an order in the dockables, telling which items to show when.
|
Constructor and Description |
---|
HierarchyDockActionSource(Dockable dockable)
Creates a new source.
|
StationChildrenActionSource.FocusAction(Dockable dockable)
Creates a new action
|
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 |
---|---|
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.
|
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. |
Icon |
GroupedDockAction.getIcon(Dockable dockable,
ActionContentModifier modifier) |
Icon |
SimpleDockAction.getIcon(Dockable dockable,
ActionContentModifier modifier) |
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) |
String |
GroupedDockAction.getText(Dockable dockable) |
String |
SimpleDockAction.getText(Dockable dockable) |
String |
GroupedDockAction.getTooltipText(Dockable dockable) |
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/code> to the group with the given |
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(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(Set<Dockable> dockables)
Invokes the
actionEnabledChanged -
method of all currently registered StandardDockActionListener |
protected void |
AbstractStandardDockAction.fireActionIconChanged(ActionContentModifier modifier,
Set<Dockable> dockables)
Invokes the
actionIconChanged -
method of all currently registered StandardDockActionListener |
protected void |
AbstractStandardDockAction.fireActionRepresentativeChanged(Set<Dockable> dockables)
Invokes the
actionRepresentativeChanged -
method of all currently registered StandardDockActionListener |
protected void |
AbstractStandardDockAction.fireActionTextChanged(Set<Dockable> dockables)
Invokes the
actionTextChanged -
method of all currently registered StandardDockActionListener |
protected void |
AbstractStandardDockAction.fireActionTooltipTextChanged(Set<Dockable> dockables)
Invokes the
actionTooltipTextChanged -
method of all currently registered StandardDockActionListener |
protected void |
GroupedSelectableDockAction.fireSelectedChanged(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(Component owner,
Dockable dockable,
DockActionSource actions,
Object source)
Creates a new menu using
actions as content. |
ActionPopupMenu |
DefaultActionPopupMenuFactory.createMenu(Component owner,
Dockable dockable,
DockActionSource actions,
Object source) |
Constructor and Description |
---|
DefaultActionPopupMenu(Dockable dockable,
DockActionSource actions) |
DefaultActionPopupMenu(Dockable dockable,
DockActionSource actions,
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 |
---|---|
<V> V |
CPanelPopup.PanelPopup.createView(ViewTarget<V> target,
ActionViewConverter converter,
Dockable dockable) |
protected void |
CPanelPopup.executeOneDockableHasFocus(Dockable dockable,
Runnable run)
Calls
run once the owning Dockable of this action has the focus |
protected void |
CPanelPopup.onMenuItemTrigger(Dockable dockable)
Called if the menu-item representing this action has been
hit.
|
void |
CPanelPopup.PanelPopup.onMenuItemTrigger(Dockable dockable)
Called if the menu-item representing this action has been
hit.
|
protected void |
CPanelPopup.onMousePressed(Dockable dockable,
JComponent item,
DockTitle.Orientation orientation)
Called if the mouse is pressed on the button
item of
of a DockTitle which has orientation orientation . |
void |
CPanelPopup.PanelPopup.onMousePressed(Dockable dockable,
JComponent item,
DockTitle.Orientation orientation)
Called if the mouse is pressed on the button
item of
of a DockTitle which has orientation orientation . |
protected void |
CPanelPopup.onMouseReleased(Dockable dockable,
JComponent item,
DockTitle.Orientation orientation)
Called if the mouse is released of the button
item of
of a DockTitle which has orientation orientation . |
void |
CPanelPopup.PanelPopup.onMouseReleased(Dockable dockable,
JComponent item,
DockTitle.Orientation orientation)
Called if the mouse is released of the button
item of
of a DockTitle which has orientation orientation . |
protected void |
CPanelPopup.onTrigger(Dockable dockable,
JComponent item,
DockTitle.Orientation orientation)
|
void |
CPanelPopup.PanelPopup.onTrigger(Dockable dockable,
JComponent item,
DockTitle.Orientation orientation)
|
protected void |
CPanelPopup.openDialog(Dockable dockable,
JComponent item,
DockTitle.Orientation orientation)
Opens a new undecorated dialog below or aside of
item . |
boolean |
CPanelPopup.PanelPopup.trigger(Dockable dockable) |
Modifier and Type | Method and Description |
---|---|
protected void |
CCloseAction.Action.bound(Dockable dockable) |
protected void |
CCloseAction.Action.close(Dockable dockable) |
protected void |
CCloseAction.Action.unbound(Dockable dockable) |
Modifier and Type | Method and Description |
---|---|
void |
ExternalizingCGridAreaConfiguration.SplitInserter.dockableAdded(DockStation station,
Dockable dockable) |
Modifier and Type | Method and Description |
---|---|
Dockable |
CGroupBehavior.getGroupElement(LocationModeManager<? extends LocationMode> manager,
Dockable dockable,
ExtendedMode mode)
Gets the element whose location or mode must be changed in order to apply
mode to dockable . |
Dockable |
StackGroupBehavior.getGroupElement(LocationModeManager<? extends LocationMode> manager,
Dockable dockable,
ExtendedMode mode) |
Dockable |
TopMostGroupBehavior.getGroupElement(LocationModeManager<? extends LocationMode> manager,
Dockable dockable,
ExtendedMode mode) |
Dockable |
CGroupBehavior.getReplaceElement(LocationModeManager<? extends LocationMode> manager,
Dockable old,
Dockable dockable,
ExtendedMode mode)
Gets the element which would replace
old if old is currently
in mode , and dockable is or will not be in mode . |
Dockable |
StackGroupBehavior.getReplaceElement(LocationModeManager<? extends LocationMode> manager,
Dockable old,
Dockable dockable,
ExtendedMode mode) |
Dockable |
TopMostGroupBehavior.getReplaceElement(LocationModeManager<? extends LocationMode> manager,
Dockable old,
Dockable dockable,
ExtendedMode mode) |
Modifier and Type | Method and Description |
---|---|
boolean |
CGroupMovement.forceAccept(DockStation parent,
Dockable child)
Tells some
DockAcceptance s whether a check for child becoming a child of
parent needs to be performed. |
boolean |
SingleGroupMovement.forceAccept(DockStation parent,
Dockable child) |
boolean |
StackGroupMovement.forceAccept(DockStation parent,
Dockable child) |
Dockable |
CGroupBehavior.getGroupElement(LocationModeManager<? extends LocationMode> manager,
Dockable dockable,
ExtendedMode mode)
Gets the element whose location or mode must be changed in order to apply
mode to dockable . |
Dockable |
StackGroupBehavior.getGroupElement(LocationModeManager<? extends LocationMode> manager,
Dockable dockable,
ExtendedMode mode) |
Dockable |
TopMostGroupBehavior.getGroupElement(LocationModeManager<? extends LocationMode> manager,
Dockable dockable,
ExtendedMode mode) |
Location |
CGroupBehaviorCallback.getLocation(Dockable dockable)
Gets the current location of
dockable . |
Dockable |
CGroupBehavior.getReplaceElement(LocationModeManager<? extends LocationMode> manager,
Dockable old,
Dockable dockable,
ExtendedMode mode)
Gets the element which would replace
old if old is currently
in mode , and dockable is or will not be in mode . |
Dockable |
StackGroupBehavior.getReplaceElement(LocationModeManager<? extends LocationMode> manager,
Dockable old,
Dockable dockable,
ExtendedMode mode) |
Dockable |
TopMostGroupBehavior.getReplaceElement(LocationModeManager<? extends LocationMode> manager,
Dockable old,
Dockable dockable,
ExtendedMode mode) |
CGroupMovement |
CGroupBehavior.prepare(LocationModeManager<? extends LocationMode> manager,
Dockable dockable,
ExtendedMode target)
Calculates how the mode of
dockable has to be changed such that it matches target . |
CGroupMovement |
StackGroupBehavior.prepare(LocationModeManager<? extends LocationMode> manager,
Dockable dockable,
ExtendedMode target) |
CGroupMovement |
TopMostGroupBehavior.prepare(LocationModeManager<? extends LocationMode> manager,
Dockable dockable,
ExtendedMode target) |
void |
CGroupBehaviorCallback.setLocation(Dockable dockable,
Location location)
Sets the location of
dockable .Note: LocationMode s may decide that more than one Dockable must be moved
in order to accomplish the goal, any cached location information about Dockable s shoud be
considered invalid once this method has been executed. |
void |
CGroupBehaviorCallback.setMode(Dockable dockable,
ExtendedMode mode)
Sets the
ExtendedMode of dockable using all available
history information.Note: LocationMode s may decide that more than one Dockable must be moved
in order to accomplish the goal, any cached location information about Dockable s shoud be
considered invalid once this method has been executed. |
boolean |
CGroupBehavior.shouldForwardActions(LocationModeManager<? extends LocationMode> manager,
DockStation station,
Dockable dockable,
ExtendedMode mode)
Tells whether the actions of
dockable for mode mode should be
shown on station too. |
boolean |
StackGroupBehavior.shouldForwardActions(LocationModeManager<? extends LocationMode> manager,
DockStation station,
Dockable dockable,
ExtendedMode mode) |
boolean |
TopMostGroupBehavior.shouldForwardActions(LocationModeManager<? extends LocationMode> manager,
DockStation station,
Dockable dockable,
ExtendedMode mode) |
Constructor and Description |
---|
SingleGroupMovement(Dockable dockable,
ExtendedMode target)
Creates a new movement object.
|
StackGroupMovement(StackDockStation dockParent,
Dockable dockable,
ExtendedMode target)
Creates a new movement object.
|
Modifier and Type | Method and Description |
---|---|
void |
GroupingDockLocationListener.dockableRegistered(DockController controller,
Dockable dockable) |
void |
GroupingDockLocationListener.dockableUnregistered(DockController controller,
Dockable dockable) |
protected Location |
PlaceholderGrouping.findLocationFor(Dockable dockable,
CLocationMode mode)
Searches a location for
dockable . |
protected Location |
PlaceholderGrouping.findLocationFor(Dockable dockable,
CLocationMode mode,
Location validatedHistory)
Called by
PlaceholderGrouping.getValidatedLocation(Dockable, CLocationMode, Location) , this method tries to find a location on the
root station designated by validatedHistory . |
void |
DockableGrouping.focusGained(Dockable dockable)
Called after
dockable has gained the focus. |
void |
PlaceholderGrouping.focusGained(Dockable dockable) |
DockableGrouping |
CGroupingBehavior.getGrouping(Dockable dockable)
Gets the grouping algorithm that should be used for
dockable . |
DockableGrouping |
DefaultCGroupingBehavior.getGrouping(Dockable dockable) |
ExtendedMode |
DockableGrouping.getInitialMode(Dockable dockable)
Tries to find out how to display
dockable initially. |
ExtendedMode |
PlaceholderGrouping.getInitialMode(Dockable dockable) |
Location |
DockableGrouping.getStoredLocation(Dockable dockable,
CLocationMode mode,
Location history)
Called right after an old location of
dockable for mode was read. |
Location |
PlaceholderGrouping.getStoredLocation(Dockable dockable,
CLocationMode mode,
Location history) |
Location |
DockableGrouping.getValidatedLocation(Dockable dockable,
CLocationMode mode,
Location validatedHistory)
Called right before
dockable is moved to a new location. |
Location |
PlaceholderGrouping.getValidatedLocation(Dockable dockable,
CLocationMode mode,
Location validatedHistory) |
void |
DockableGrouping.hierarchyChanged(Dockable dockable)
Always called after
dockable has changed its location. |
void |
PlaceholderGrouping.hierarchyChanged(Dockable dockable) |
protected void |
PlaceholderGrouping.markLocation(Dockable dockable)
Makes sure that the placeholder marks the current location of
dockable . |
Location |
GroupingHistoryRewriter.rewrite(Dockable dockable,
CLocationMode mode,
Location history) |
Modifier and Type | Interface and Description |
---|---|
interface |
CommonDockable
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultCommonDockable
A default implementation of
CommonDockable , based on a DefaultDockable . |
Modifier and Type | Method and Description |
---|---|
Path |
CPlaceholderStrategy.getPlaceholderFor(Dockable dockable) |
void |
CDockFrontend.remove(Dockable dockable) |
FocusVetoListener.FocusVeto |
ControlVetoFocusListener.vetoFocus(FocusController controller,
Dockable dockable) |
Modifier and Type | Method and Description |
---|---|
CommonMultipleDockableLayout |
CommonMultipleDockableFactory.getLayout(CommonDockable element,
Map<Dockable,Integer> children) |
CommonSingleDockableLayout |
CommonSingleDockableFactory.getLayout(CommonDockable element,
Map<Dockable,Integer> children) |
Path |
RootStationAdjacentFactory.getLayout(DockElement element,
Map<Dockable,Integer> children) |
CommonDockable |
CommonMultipleDockableFactory.layout(CommonMultipleDockableLayout layout,
Map<Integer,Dockable> children,
PlaceholderStrategy placeholders) |
CommonDockable |
CommonSingleDockableFactory.layout(CommonSingleDockableLayout layout,
Map<Integer,Dockable> children,
PlaceholderStrategy placeholders) |
void |
CommonMultipleDockableFactory.setLayout(CommonDockable element,
CommonMultipleDockableLayout layout,
Map<Integer,Dockable> children,
PlaceholderStrategy placeholders) |
void |
CommonSingleDockableFactory.setLayout(CommonDockable element,
CommonSingleDockableLayout layout,
Map<Integer,Dockable> children,
PlaceholderStrategy placeholders) |
void |
RootStationAdjacentFactory.setLayout(DockElement element,
Path layout,
Map<Integer,Dockable> children,
PlaceholderStrategy placeholders) |
Modifier and Type | Method and Description |
---|---|
void |
CExtendedModeAction.Action.action(Dockable dockable) |
protected void |
CExtendedModeAction.Action.bound(Dockable dockable) |
DockActionSource |
CActionOffer.getSource(Dockable dockable,
DockActionSource source,
DockActionSource[] guards,
DockActionSource parent,
DockActionSource[] parents) |
boolean |
CActionOffer.interested(Dockable dockable) |
boolean |
CButtonContentFilter.showText(Dockable dockable,
DockAction action) |
protected boolean |
CExtendedModeAction.Action.trigger(KeyEvent event,
Dockable dockable) |
protected void |
CExtendedModeAction.Action.unbound(Dockable dockable) |
Modifier and Type | Method and Description |
---|---|
BasicTitleViewItem<JComponent> |
BasicPanelPopupGenerator.create(ActionViewConverter converter,
CPanelPopup.PanelPopup action,
Dockable dockable) |
BasicTitleViewItem<JComponent> |
BubblePanelPopupGenerator.create(ActionViewConverter converter,
CPanelPopup.PanelPopup action,
Dockable dockable) |
BasicTitleViewItem<JComponent> |
EclipsePanelPopupGenerator.create(ActionViewConverter converter,
CPanelPopup.PanelPopup action,
Dockable dockable) |
BasicTitleViewItem<JComponent> |
FlatPanelPopupGenerator.create(ActionViewConverter converter,
CPanelPopup.PanelPopup action,
Dockable dockable) |
DropDownViewItem |
PanelDropDownGenerator.create(ActionViewConverter converter,
CPanelPopup.PanelPopup action,
Dockable dockable) |
MenuViewItem<JComponent> |
PanelMenuGenerator.create(ActionViewConverter converter,
CPanelPopup.PanelPopup action,
Dockable dockable) |
Constructor and Description |
---|
BasicPanelPopupHandler(CPanelPopup.PanelPopup action,
Dockable dockable)
Creates a new handler.
|
BasicPanelPopupMenuHandler(CPanelPopup.PanelPopup action,
Dockable dockable)
Creates a new handler.
|
BasicPanelPopupMenuItemHandler(CPanelPopup.PanelPopup action,
Dockable dockable)
Creates a new handler.
|
Modifier and Type | Method and Description |
---|---|
protected Set<Dockable> |
CLayoutChangeStrategy.estimateVisible(DockFrontendInternals frontend,
DockSituation situation,
DockLayoutComposition layout) |
protected Collection<Dockable> |
CLayoutChangeStrategy.getClosingDockables(DockFrontendInternals frontend,
Set<Dockable> visible) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
CLayoutChangeStrategy.shouldPredefine(Dockable dockable) |
Modifier and Type | Method and Description |
---|---|
protected Collection<Dockable> |
CLayoutChangeStrategy.getClosingDockables(DockFrontendInternals frontend,
Set<Dockable> visible) |
MultipleCDockable |
ReplacementDockFactory.getLayout(CommonDockable element,
Map<Dockable,Integer> children) |
CommonDockable |
ReplacementDockFactory.layout(MultipleCDockable layout,
Map<Integer,Dockable> children,
PlaceholderStrategy placeholders) |
void |
ReplacementDockFactory.setLayout(CommonDockable element,
MultipleCDockable layout,
Map<Integer,Dockable> children,
PlaceholderStrategy placeholders) |
Modifier and Type | Class and Description |
---|---|
class |
CFlapDockStation
An implementation of
FlapDockStation that also satisfies the
CommonDockStation interface. |
class |
CSplitDockStation
An implementation of
SplitDockStation that also satisfies the CommonDockStation interface. |
Modifier and Type | Method and Description |
---|---|
protected FlapDockStation.DockableHandle |
CFlapDockStation.createHandle(Dockable dockable) |
protected RequestDimension |
AbstractResizeRequestHandler.getAndClearResizeRequest(Dockable dockable)
Searches the size request of
dockable . |
int |
CFlapLayoutManager.getSize(FlapDockStation station,
Dockable dockable) |
boolean |
CFlapLayoutManager.isHold(FlapDockStation station,
Dockable dockable) |
boolean |
CFlapLayoutManager.isHoldSwitchable(FlapDockStation station,
Dockable dockable) |
void |
CSplitDockStation.setFrontDockable(Dockable dockable) |
void |
CFlapLayoutManager.setHold(FlapDockStation station,
Dockable dockable,
boolean hold) |
void |
CFlapLayoutManager.setSize(FlapDockStation station,
Dockable dockable,
int size) |
Modifier and Type | Method and Description |
---|---|
CommonDockStationLayout |
CommonDockStationFactory.getLayout(CommonDockStation<?,?> element,
Map<Dockable,Integer> children) |
CommonDockStation<?,?> |
CommonDockStationFactory.layout(CommonDockStationLayout layout,
Map<Integer,Dockable> children,
PlaceholderStrategy placeholders) |
void |
CommonDockStationFactory.setLayout(CommonDockStation<?,?> element,
CommonDockStationLayout layout,
Map<Integer,Dockable> children,
PlaceholderStrategy placeholders) |
Modifier and Type | Method and Description |
---|---|
boolean |
ExtendedModeAcceptance.accept(DockStation parent,
Dockable child) |
boolean |
StackableAcceptance.accept(DockStation parent,
Dockable child) |
boolean |
WorkingAreaAcceptance.accept(DockStation parent,
Dockable child) |
boolean |
ExtendedModeAcceptance.accept(DockStation parent,
Dockable child,
Dockable next) |
boolean |
StackableAcceptance.accept(DockStation parent,
Dockable child,
Dockable next) |
boolean |
WorkingAreaAcceptance.accept(DockStation parent,
Dockable child,
Dockable next) |
boolean |
CDisablingStrategy.isDisabled(Dockable dockable,
DockAction item) |
boolean |
CDisablingStrategy.isDisabled(Dockable dockable,
DockTitle item) |
boolean |
CDisablingStrategy.isTabDisabled(Dockable dockable) |
boolean |
CommonSingleTabDecider.showSingleTab(DockStation station,
Dockable dockable) |
Modifier and Type | Method and Description |
---|---|
protected void |
SingleCDockableListMenuPiece.hide(Dockable dockable) |
protected boolean |
SingleCDockableListMenuPiece.include(Dockable dockable) |
protected void |
SingleCDockableListMenuPiece.show(Dockable dockable) |
Modifier and Type | Method and Description |
---|---|
void |
KeyedLocationModeActionProvider.destroy(Dockable dockable,
DockActionSource source) |
void |
CLocationModeManager.ensureValidLocation(Dockable dockable) |
DockActionSource |
KeyedLocationModeActionProvider.getActions(Dockable dockable,
Mode<Location> currentMode,
DockActionSource currentSource) |
protected CStation<?> |
CLocationModeManager.getAreaOf(Dockable dockable)
Searches
dockable and its parent for the first CStation
that is a working area. |
CLocation |
CExternalizedMode.getCLocation(Dockable dockable) |
CLocation |
CLocationMode.getCLocation(Dockable dockable)
Gets the location of
dockable which is in this mode. |
CLocation |
CMaximizedMode.getCLocation(Dockable dockable) |
CLocation |
CMinimizedMode.getCLocation(Dockable dockable) |
CLocation |
CModeArea.getCLocation(Dockable dockable)
Assuming
dockable is a child of this area, returns
the location of dockable . |
CLocation |
CNormalMode.getCLocation(Dockable dockable) |
CLocation |
CExternalizedMode.getCLocation(Dockable dockable,
Location location) |
CLocation |
CLocationMode.getCLocation(Dockable dockable,
Location location)
Gets the location of
dockable which might or might not
be a child of this mode. |
CLocation |
CMaximizedMode.getCLocation(Dockable dockable,
Location location) |
CLocation |
CMinimizedMode.getCLocation(Dockable dockable,
Location location) |
CLocation |
CModeArea.getCLocation(Dockable dockable,
Location location)
Assuming
dockable would be at location location
if it would be a child of this station, returns the CLocation that
matches location . |
CLocation |
CNormalMode.getCLocation(Dockable dockable,
Location location) |
CLocation |
CLocationModeManager.getLocation(Dockable dockable)
Gets an element describing the location of
dockable as
good as possible. |
CLocation |
CLocationModeManager.getLocation(Dockable dockable,
ExtendedMode mode)
Assuming that
dockable is currently not in mode mode ,
then this method searches for the previously stored location of dockable . |
protected CStation<?> |
CStationContainerHistoryRewriter.getMatchingStation(Dockable dockable,
ExtendedMode mode)
|
protected CStation<?> |
CStationContainerHistoryRewriter.getMatchingStation(Dockable dockable,
String root)
Given the current location of
dockable and the root station it is going
to use, this method decides which CStation is actually going to be the new parent
root station. |
MaximizedModeArea |
CMaximizedMode.getMaximizeArea(Dockable dockable,
Location history) |
protected CStation<?> |
CStationContainerHistoryRewriter.getParent(Dockable dockable)
Gets the first parent
CStation of dockable . |
protected CStation<?> |
CStationContainerHistoryRewriter.getWorkingArea(Dockable dockable)
|
ExtendedMode |
PreviousModeDoubleClickStrategy.handleDoubleClick(Dockable dockable,
ExtendedMode current,
ExtendedModeEnablement enablement) |
void |
CLocationModeManager.remove(Dockable dockable) |
Location |
CStationContainerHistoryRewriter.rewrite(Dockable dockable,
CLocationMode mode,
Location history) |
void |
CLocationModeManager.setLocation(Dockable dockable,
CLocation location)
Tries to set the location of
dockable . |
void |
CLocationModeManager.setLocation(Dockable dockable,
ExtendedMode mode,
CLocation location)
Sets the default location of
dockable when going into
mode . |
Modifier and Type | Method and Description |
---|---|
Dockable[] |
CScreenDockStationHandle.Maximal.getMaximized() |
Dockable[] |
CSplitDockStationHandle.Maximal.getMaximized() |
Modifier and Type | Method and Description |
---|---|
void |
CSplitDockStationHandle.dropAside(Dockable dockable)
Ensures that
dockable is a child of this
station. |
CLocation |
CFlapDockStationHandle.getCLocation(Dockable dockable) |
CLocation |
CScreenDockStationHandle.getCLocation(Dockable dockable)
Gets a
CLocation describing the location of dockable on the station of this handle. |
CLocation |
CScreenDockStationHandle.External.getCLocation(Dockable dockable) |
CLocation |
CScreenDockStationHandle.Maximal.getCLocation(Dockable dockable) |
CLocation |
CSplitDockStationHandle.Normal.getCLocation(Dockable dockable) |
CLocation |
CSplitDockStationHandle.Maximal.getCLocation(Dockable dockable) |
CLocation |
ExternalizedCSplitDockStationHandler.Externalized.getCLocation(Dockable dockable) |
CLocation |
CFlapDockStationHandle.getCLocation(Dockable dockable,
Location location) |
CLocation |
CScreenDockStationHandle.getCLocation(Dockable dockable,
Location location)
Assuming dockable would be at location
location if it would be a child of this station,
returns the CLocation that matches location . |
CLocation |
CScreenDockStationHandle.External.getCLocation(Dockable dockable,
Location location) |
CLocation |
CScreenDockStationHandle.Maximal.getCLocation(Dockable dockable,
Location location) |
CLocation |
CSplitDockStationHandle.Normal.getCLocation(Dockable dockable,
Location location) |
CLocation |
CSplitDockStationHandle.Maximal.getCLocation(Dockable dockable,
Location location) |
CLocation |
ExternalizedCSplitDockStationHandler.Externalized.getCLocation(Dockable dockable,
Location location) |
DockableProperty |
CScreenDockStationHandle.External.getLocation(Dockable child) |
DockableProperty |
CScreenDockStationHandle.Maximal.getLocation(Dockable child) |
DockableProperty |
CSplitDockStationHandle.Normal.getLocation(Dockable child) |
DockableProperty |
CSplitDockStationHandle.Maximal.getLocation(Dockable child) |
DockableProperty |
ExternalizedCSplitDockStationHandler.Externalized.getLocation(Dockable child) |
boolean |
CScreenDockStationHandle.External.isChild(Dockable dockable) |
boolean |
CScreenDockStationHandle.Maximal.isChild(Dockable dockable) |
boolean |
CSplitDockStationHandle.Normal.isChild(Dockable dockable) |
boolean |
CSplitDockStationHandle.Maximal.isChild(Dockable dockable) |
boolean |
ExternalizedCSplitDockStationHandler.Externalized.isChild(Dockable dockable) |
boolean |
CSplitDockStationHandle.Normal.isNormalModeChild(Dockable dockable) |
Runnable |
CScreenDockStationHandle.Maximal.onApply(LocationModeEvent event,
Dockable replacement) |
Runnable |
CSplitDockStationHandle.Maximal.onApply(LocationModeEvent event,
Dockable replacement) |
void |
CSplitDockStationHandle.Maximal.prepareApply(Dockable dockable,
AffectedSet affected) |
void |
CScreenDockStationHandle.Maximal.prepareApply(Dockable dockable,
Location history,
AffectedSet set) |
void |
CSplitDockStationHandle.Maximal.prepareApply(Dockable dockable,
Location history,
AffectedSet set) |
boolean |
CScreenDockStationHandle.External.setLocation(Dockable dockable,
DockableProperty location,
AffectedSet set) |
boolean |
CSplitDockStationHandle.Normal.setLocation(Dockable dockable,
DockableProperty location,
AffectedSet set) |
boolean |
ExternalizedCSplitDockStationHandler.Externalized.setLocation(Dockable dockable,
DockableProperty location,
AffectedSet set) |
void |
CScreenDockStationHandle.Maximal.setMaximized(Dockable dockable,
boolean maximized,
Location history,
AffectedSet set) |
void |
CSplitDockStationHandle.Maximal.setMaximized(Dockable dockable,
boolean maximized,
Location location,
AffectedSet set) |
Modifier and Type | Method and Description |
---|---|
void |
CSplitDockStationHandle.ModeAreaListenerWrapper.fire(Set<Dockable> dockables)
Calls
ModeAreaListener.internalLocationChange(ModeArea, Set) with
dockables as set and CSplitDockStationHandle.ModeAreaListenerWrapper.area as area. |
Modifier and Type | Method and Description |
---|---|
EclipseThemeConnector.TitleBar |
CommonEclipseThemeConnector.getTitleBarKind(DockStation parent,
Dockable dockable) |
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 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,
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,
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 |
---|
DoubleClickController.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,
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(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(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(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 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,
Point mouse,
boolean move)
Creates a new event.
|
DefaultDockRelocatorEvent(DockController controller,
Dockable dockable,
Dockable[] implicit,
DockStation target,
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(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,
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) |
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 |
---|---|
Object |
DefaultDockableFactory.getLayout(DefaultDockable element,
Map<Dockable,Integer> children) |
DefaultDockable |
DefaultDockableFactory.layout(Object layout,
Map<Integer,Dockable> children,
PlaceholderStrategy placeholders) |
void |
DefaultDockableFactory.setLayout(DefaultDockable element,
Object layout,
Map<Integer,Dockable> children,
PlaceholderStrategy placeholders) |
Constructor and Description |
---|
DockableIcon(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 |
---|---|
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,
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,
Icon oldIcon,
Icon newIcon) |
void |
DockableListener.titleIconChanged(Dockable dockable,
Icon oldIcon,
Icon newIcon)
Invoked when the title-icon of a
Dockable has changed |
void |
DockableAdapter.titleTextChanged(Dockable dockable,
String oldTitle,
String newTitle) |
void |
DockableListener.titleTextChanged(Dockable dockable,
String oldTitle,
String newTitle)
Invoked when the title of a
Dockable has changed. |
void |
DockableAdapter.titleToolTipChanged(Dockable dockable,
String oldTooltip,
String newTooltip) |
void |
DockableListener.titleToolTipChanged(Dockable dockable,
String oldToolTip,
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,
Set<Dockable> dockables) |
void |
DockActionAdapter.actionEnabledChanged(StandardDockAction action,
Set<Dockable> dockables) |
void |
StandardDockActionListener.actionEnabledChanged(StandardDockAction action,
Set<Dockable> dockables)
Invoked when the enabled-state of a
StandardDockAction has been changed. |
void |
StandardDockActionListener.actionIconChanged(StandardDockAction action,
ActionContentModifier modifier,
Set<Dockable> dockables)
Invoked when the icon of a
StandardDockAction has been changed. |
void |
DockActionAdapter.actionIconChanged(StandardDockAction action,
Set<Dockable> dockables) |
void |
DockActionAdapter.actionRepresentativeChanged(StandardDockAction action,
Set<Dockable> dockables) |
void |
StandardDockActionListener.actionRepresentativeChanged(StandardDockAction action,
Set<Dockable> dockables)
Invoked when the representative-property of a
StandardDockAction has been changed. |
void |
DockActionAdapter.actionTextChanged(StandardDockAction action,
Set<Dockable> dockables) |
void |
StandardDockActionListener.actionTextChanged(StandardDockAction action,
Set<Dockable> dockables)
Invoked when the text of a
StandardDockAction has been changed. |
void |
DockActionAdapter.actionTooltipTextChanged(StandardDockAction action,
Set<Dockable> dockables) |
void |
StandardDockActionListener.actionTooltipTextChanged(StandardDockAction action,
Set<Dockable> dockables)
Invoked when the tooltip of a
StandardDockAction has been changed. |
void |
SelectableDockActionListener.selectedChanged(SelectableDockAction action,
Set<Dockable> dockables)
Triggered by a
SelectableDockAction if the selection-state of
a Dockable has changed. |
void |
DropDownActionListener.selectionChanged(DropDownAction action,
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 |
CloseAction.action(Dockable dockable) |
void |
RenameAction.action(Dockable dockable) |
void |
ReplaceAction.action(Dockable dockable) |
protected void |
RenameAction.bound(Dockable dockable) |
void |
ReplaceAction.bound(Dockable dockable) |
protected void |
CloseAction.close(Dockable dockable)
Invoked when the
dockable has to be closed. |
protected Boolean |
ReplaceAction.createGroupKey(Dockable dockable) |
RenameAction |
RenameActionFactory.find(Dockable owner)
Gets an action for
owner . |
DockActionSource |
ReplaceActionGuard.getSource(Dockable dockable) |
boolean |
ReplaceActionGuard.react(Dockable dockable) |
protected abstract void |
RenameAction.rename(Dockable dockable,
String text)
Invoked when the action was triggered, and the user tipped in
the new title for
dockable . |
protected void |
RenameAction.RenameStackDockStation.rename(Dockable dock,
String text) |
protected void |
RenameAction.RenameSplitDockStation.rename(Dockable dock,
String text) |
protected void |
RenameAction.RenameFlapDockStation.rename(Dockable dock,
String text) |
protected void |
RenameAction.RenameDefaultDockable.rename(Dockable dock,
String text) |
protected void |
RenameAction.unbound(Dockable dockable) |
void |
ReplaceAction.unbound(Dockable dockable) |
Modifier and Type | Method and Description |
---|---|
void |
CloseableDockableMenuPiece.check(Dockable dockable)
Ensures that
dockable has an item if it is included ,
and does not have otherwise. |
protected CloseableDockableMenuPiece.Item |
CloseableDockableMenuPiece.create(Dockable dockable)
Creates a new item for the menu.
|
protected void |
CloseableDockableMenuPiece.hide(Dockable dockable)
Ensures that
dockable is not visible. |
protected boolean |
CloseableDockableMenuPiece.include(Dockable dockable)
Tells whether an item should be inserted into the menu for the given
dockable or not. |
protected void |
CloseableDockableMenuPiece.show(Dockable dockable)
Ensures that
dockable is visible. |
void |
CloseableDockableMenuPiece.Item.titleBound(Dockable dockable,
DockTitle title) |
void |
CloseableDockableMenuPiece.Item.titleExchanged(Dockable dockable,
DockTitle title) |
void |
CloseableDockableMenuPiece.Item.titleIconChanged(Dockable dockable,
Icon oldIcon,
Icon newIcon) |
void |
CloseableDockableMenuPiece.Item.titleTextChanged(Dockable dockable,
String oldTitle,
String newTitle) |
void |
CloseableDockableMenuPiece.Item.titleToolTipChanged(Dockable dockable,
String oldToolTip,
String newToolTip) |
void |
CloseableDockableMenuPiece.Item.titleUnbound(Dockable dockable,
DockTitle title) |
Constructor and Description |
---|
CloseableDockableMenuPiece.Item(Dockable dockable)
Creates a new item.
|
Modifier and Type | Method and Description |
---|---|
Dockable |
AbstractLocationMode.DockableHandle.getDockable()
Gets the element of this handle.
|
Dockable |
LocationModeEvent.getDockable()
Gets the
Dockable whose mode was, or is going to be, changed. |
Dockable[] |
MaximizedModeArea.getMaximized()
Gets the currently maximized elements.
|
Dockable |
MaximizedMode.getMaximizingElement(Dockable dockable)
Gets the element which must be maximized when the user requests that
dockable is maximized. |
Dockable |
MaximizedMode.getMaximizingElement(Dockable old,
Dockable dockable)
Gets the element which would be maximized if
old is currently
maximized, and dockable is or will not be maximized. |
Modifier and Type | Method and Description |
---|---|
void |
LocationModeManager.apply(Dockable dockable,
ExtendedMode extendedMode,
CGroupMovement action)
Executes
action in a transaction assuming that the result of this action will lead to
dockable having the new mode extendedMode . |
boolean |
AbstractLocationMode.apply(Dockable dockable,
Location history,
AffectedSet set) |
void |
LocationModeManager.apply(Dockable dockable,
M mode,
Location history,
AffectedSet set) |
protected void |
LocationModeManager.applyDuringRead(String key,
Path old,
Path current,
Dockable dockable)
Ignores the call, the position of
Dockable s is set elsewhere. |
protected AbstractLocationMode.DockableHandle |
AbstractLocationMode.createHandle(Dockable dockable)
Creates a new handle for
dockable . |
Location |
DefaultLocationMode.current(Dockable dockable)
This default implementation just returns the location of
dockable but does not change any properties. |
Location |
MaximizedMode.current(Dockable dockable) |
void |
LocationModeManager.delayedRefresh(Dockable dockable)
If the
DockRegister is currently stalled, then a call to ModeManager.refresh(Dockable, boolean)
is scheduled, otherwise the call is performed directly. |
void |
DefaultLocationModeActionProvider.destroy(Dockable dockable,
DockActionSource source) |
void |
LocationModeActionProvider.destroy(Dockable dockable,
DockActionSource source)
Called if
dockable is no longer in use and all references
to dockable are to be removed. |
void |
MappingLocationModeActionProvider.destroy(Dockable dockable,
DockActionSource source) |
void |
ExternalizedMode.ensureNotHidden(Dockable dockable) |
void |
LocationMode.ensureNotHidden(Dockable dockable)
Ensures that no
Dockable that has this mode hides dockable . |
void |
LocationModeManager.ensureNotHidden(Dockable dockable)
Ensures that
dockable is not hidden behind another
Dockable . |
void |
MaximizedMode.ensureNotHidden(Dockable dockable) |
void |
MinimizedMode.ensureNotHidden(Dockable dockable) |
void |
NormalMode.ensureNotHidden(Dockable dockable) |
void |
LocationModeManager.ensureValidLocation(Dockable dockable)
Empty method evaluating the correct location of a
Dockable . |
ScreenDockProperty |
DefaultExternalizedModeBehavior.findLocation(ExternalizedModeArea target,
Dockable dockable) |
ScreenDockProperty |
ExternalizedModeBehavior.findLocation(ExternalizedModeArea target,
Dockable dockable)
Finds a good location for
dockable which was
never in the ExternalizedMode . |
A |
AbstractLocationMode.get(Dockable dockable)
Recursively searches through all stations of
dockable
until a station is found that is registered at this mode. |
A |
AbstractLocationMode.get(Dockable dockable,
boolean locationRoot)
Recursively searches through all stations of
dockable
until a station is found that is registered at this mode. |
DockActionSource |
DefaultLocationModeActionProvider.getActions(Dockable dockable,
Mode<Location> mode,
DockActionSource source) |
DockActionSource |
LocationModeActionProvider.getActions(Dockable dockable,
Mode<Location> currentMode,
DockActionSource currentSource)
Called if the element
dockable , which is currently in
mode mode , should have some additional DockAction s
related to the owner of this LocationModeActionProvider . |
DockActionSource |
MappingLocationModeActionProvider.getActions(Dockable dockable,
Mode<Location> currentMode,
DockActionSource currentSource) |
DockActionSource |
AbstractLocationMode.getActionsFor(Dockable dockable,
Mode<Location> mode) |
M |
LocationModeManager.getCurrentMode(Dockable dockable) |
DockableProperty |
MaximizedModeArea.getLocation(Dockable child)
Gets the location of
dockable which is a child
of this station. |
DockableProperty |
StationModeArea.getLocation(Dockable child)
Gets the location of
dockable which is a child
of this station. |
MaximizedModeArea |
MaximizedMode.getMaximizeArea(Dockable dockable)
Searches the first
MaximizedModeArea which is a parent
of dockable . |
MaximizedModeArea |
MaximizedMode.getMaximizeArea(Dockable dockable,
Location history)
Gets the area to which
dockable should be maximized. |
Dockable |
MaximizedMode.getMaximizingElement(Dockable dockable)
Gets the element which must be maximized when the user requests that
dockable is maximized. |
Dockable |
MaximizedMode.getMaximizingElement(Dockable old,
Dockable dockable)
Gets the element which would be maximized if
old is currently
maximized, and dockable is or will not be maximized. |
ExtendedMode |
LocationModeManager.getMode(Dockable dockable)
Gets the current mode of
dockable . |
protected abstract LocationModeActionProvider |
MappingLocationModeActionProvider.getProvider(Dockable dockable,
Mode<Location> currentMode,
DockActionSource currentSource)
Gets the
LocationModeActionProvider which fits the key generated by the arguments
of this methode. |
LocationMode |
MaximizedMode.getUnmaximizedMode(Dockable dockable)
Assuming
dockable is a maximized element, tells which
mode would be the preferred mode for unmaximization. |
ExtendedMode |
DoubleClickLocationStrategy.handleDoubleClick(Dockable dockable,
ExtendedMode current,
ExtendedModeEnablement enablement)
Called if the user double-clicked on
dockable . |
boolean |
ModeArea.isChild(Dockable dockable)
Tells whether
dockable is a direct child of this station. |
boolean |
DefaultLocationMode.isCurrentMode(Dockable dockable)
This default implementation calls
ModeArea.isChild(Dockable) on each
area of this mode and returns true if at least one area returns true . |
boolean |
LocationMode.isCurrentMode(Dockable dockable)
If this method is not able to clearly find out whether
dockable
has this mode, it returns false . |
boolean |
MaximizedMode.isCurrentMode(Dockable dockable) |
boolean |
NormalMode.isCurrentMode(Dockable dockable) |
boolean |
ExternalizedMode.isDefaultMode(Dockable dockable) |
boolean |
MaximizedMode.isDefaultMode(Dockable dockable) |
boolean |
MinimizedMode.isDefaultMode(Dockable dockable) |
boolean |
NormalMode.isDefaultMode(Dockable dockable) |
protected boolean |
AbstractLocationMode.isModeAvailable(Dockable dockable)
Tells whether this mode is available for
dockable . |
boolean |
LocationModeManager.isModeAvailable(Dockable dockable,
ExtendedMode mode)
Using the current
ExtendedModeEnablement this method tells whether
mode mode can be applied to dockable . |
protected boolean |
AbstractLocationMode.isModeHidden(Dockable dockable)
Tells whether this mode is hidden for
dockable . |
boolean |
LocationModeManager.isModeHidden(Dockable dockable,
ExtendedMode mode)
Using the current
ExtendedModeEnablement this method tells whether
mode mode is hidden from the user when looking at dockable . |
boolean |
NormalModeArea.isNormalModeChild(Dockable dockable)
Tells whether
dockable is a child of this
station and in a form satisfying the normal-mode criteria. |
void |
MaximizedMode.maximize(MaximizedModeArea area,
Dockable dockable,
AffectedSet set)
Ensures that
dockable is maximized. |
boolean |
MaximizedMode.maximize(MaximizedModeArea area,
Dockable dockable,
Location history,
AffectedSet set)
Ensures that
dockable is maximized. |
Runnable |
MaximizedModeArea.onApply(LocationModeEvent event,
Dockable replacement)
This method is called before the method
apply
is executed of a LocationMode that is not the owner of this area. |
void |
MaximizedModeArea.prepareApply(Dockable dockable,
Location history,
AffectedSet set)
This method is called by
MaximizedMode just before the mode is applied
to dockable . |
protected boolean |
MaximizedMode.process(Dockable dockable,
KeyEvent event)
Invoked whenever a key is pressed, released or typed.
|
protected abstract boolean |
AbstractLocationMode.runApply(Dockable dockable,
Location history,
AffectedSet set)
Called by
AbstractLocationMode.apply(Dockable, Location, AffectedSet) after the LocationModeListener s
are informed. |
boolean |
DefaultLocationMode.runApply(Dockable dockable,
Location history,
AffectedSet set)
This default implementation uses the
DockStation.move(Dockable, DockableProperty)
and DockStation.drop(Dockable, DockableProperty) methods to put
dockable at its location. |
boolean |
ExternalizedMode.runApply(Dockable dockable,
Location history,
AffectedSet set) |
boolean |
MaximizedMode.runApply(Dockable dockable,
Location history,
AffectedSet set) |
boolean |
StationModeArea.setLocation(Dockable dockable,
DockableProperty location,
AffectedSet set)
Sets the location of
dockable to location
and tries to ensure that dockable is a child of this station.
This method may completely fail to change the location of dockable , for example because
a DockAcceptance does not allow the dockable to be moved. |
void |
LocationModeManager.setLocationAside(Dockable dockable,
Dockable aside)
Iterates through all the
LocationMode s for which aside has stored locations,
and sets dockable as neighbor. |
void |
MaximizedModeArea.setMaximized(Dockable dockable,
boolean maximized,
Location location,
AffectedSet set)
Tells this parent to change the maximization state of
dockable . |
void |
LocationModeManager.setMode(Dockable dockable,
ExtendedMode extendedMode)
Sets the current mode of
dockable . |
boolean |
MaximizedMode.switchMode(Dockable dockable)
Tries to switch the current mode of
dockable to or from
the maximized mode. |
void |
MaximizedMode.unmaximize(Dockable dockable,
AffectedSet set)
Ensures that
dockable is not maximized. |
Modifier and Type | Method and Description |
---|---|
void |
ModeAreaListener.internalLocationChange(ModeArea source,
Set<Dockable> dockables)
To be called if a set of
Dockable s, which are children of the
ModeArea source , changed their location such that
their Mode might change.
Note: this method gets only called if getDockParent()
did not change. |
Constructor and Description |
---|
AbstractLocationMode.DockableHandle(Dockable dockable)
Creates a new handle.
|
LocationModeEvent(LocationMode mode,
Location location,
Dockable dockable,
AffectedSet affected)
Creates a new event.
|
Modifier and Type | Method and Description |
---|---|
void |
LocationModeAction.action(Dockable dockable) |
protected void |
LocationModeAction.bound(Dockable dockable) |
protected void |
LocationModeAction.unbound(Dockable dockable) |
Modifier and Type | Method and Description |
---|---|
DockableProperty |
FlapDockStationHandle.getLocation(Dockable child) |
boolean |
FlapDockStationHandle.isChild(Dockable dockable) |
boolean |
FlapDockStationHandle.setLocation(Dockable dockable,
DockableProperty location,
AffectedSet set) |
Modifier and Type | Method and Description |
---|---|
void |
ExtendedModeEnablementListener.availabilityChanged(Dockable dockable,
ExtendedMode mode,
boolean available)
Called if the state changed.
|
protected abstract void |
AbstractExtendedModeEnablement.connect(Dockable dockable)
Adds listeners to
dockable in order to call AbstractExtendedModeEnablement.fire(Dockable, ExtendedMode, boolean)
once the availability of some mode changed. |
protected void |
DefaultExtendedModeEnablement.connect(Dockable dockable) |
protected abstract void |
AbstractExtendedModeEnablement.disconnect(Dockable dockable)
Removes listeners from
dockable that were added earlier. |
protected void |
DefaultExtendedModeEnablement.disconnect(Dockable dockable) |
protected void |
AbstractExtendedModeEnablement.fire(Dockable dockable,
ExtendedMode mode,
boolean available)
Calls
ExtendedModeEnablementListener.availabilityChanged(Dockable, ExtendedMode, boolean) for
all listeners that are registered. |
ExtendedModeEnablement.Availability |
DefaultExtendedModeEnablement.isAvailable(Dockable dockable,
ExtendedMode mode) |
ExtendedModeEnablement.Availability |
ExtendedModeEnablement.isAvailable(Dockable dockable,
ExtendedMode mode)
Tells whether
mode is available for dockable .Note: for ExtendedMode.NORMALIZED the result should always be true . |
ExtendedModeEnablement.Hidden |
DefaultExtendedModeEnablement.isHidden(Dockable dockable,
ExtendedMode mode) |
ExtendedModeEnablement.Hidden |
ExtendedModeEnablement.isHidden(Dockable dockable,
ExtendedMode mode)
Tells whether
mode is hidden from the user for dockable . |
protected ExtendedModeEnablement.Availability |
DefaultExtendedModeEnablement.isModeAvailable(Dockable dockable,
ExtendedMode mode)
The actual implementation of
ExtendedModeEnablement.isAvailable(Dockable, ExtendedMode) |
Modifier and Type | Method and Description |
---|---|
Dockable |
DelegatingSplitLayoutManager.willMakeFullscreen(SplitDockStation station,
Dockable dockable) |
Modifier and Type | Method and Description |
---|---|
Dockable |
DelegatingSplitLayoutManager.willMakeFullscreen(SplitDockStation station,
Dockable dockable) |
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 Collection<Dockable> |
DefaultLayoutChangeStrategy.approveClosing(DockFrontendInternals frontend,
DockSituation situation,
DefaultLayoutChangeStrategy.SettingAccess setting)
Asks the
VetoManager whether some Dockable s can be hidden. |
protected 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 Collection<Dockable> |
DefaultLayoutChangeStrategy.getClosingDockables(DockFrontendInternals frontend,
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(Collection<Dockable> dockables,
boolean cancelable)
Marks all elements of
dockables to be expected to hide soon. |
boolean |
VetoManager.expectToShow(Collection<Dockable> dockables,
boolean cancelable)
Marks all elements of
dockables to be expected to show soon. |
protected void |
VetoManager.fireAllHidden(Collection<Dockable> dockables,
boolean expected)
Invokes the method
VetoableDockFrontendListener.hidden(VetoableDockFrontendEvent)
for all listeners for all elements in dockables . |
protected boolean |
VetoManager.fireAllHiding(Collection<Dockable> dockables,
boolean cancelable)
Calls the method
VetoableDockFrontendListener.hiding(VetoableDockFrontendEvent)
for all elements in dockables |
protected boolean |
VetoManager.fireAllShowing(Collection<Dockable> dockables,
boolean cancelable)
Calls
VetoableDockFrontendListener.showing(VetoableDockFrontendEvent)
for all elements in dockables . |
protected void |
VetoManager.fireAllShown(Collection<Dockable> dockables,
boolean expected)
Invokes the method
VetoableDockFrontendListener.shown(VetoableDockFrontendEvent)
for all elements in dockables . |
protected Collection<Dockable> |
DefaultLayoutChangeStrategy.getClosingDockables(DockFrontendInternals frontend,
Set<Dockable> visible)
Creates a collection of all the
Dockable s that are about to be closed. |
BackupFactoryData<L> |
RegisteringDockFactory.getLayout(D element,
Map<Dockable,Integer> children) |
D |
RegisteringDockFactory.layout(BackupFactoryData<L> layout,
Map<Integer,Dockable> children,
PlaceholderStrategy placeholders) |
void |
RegisteringDockFactory.setLayout(D element,
BackupFactoryData<L> layout,
Map<Integer,Dockable> children,
PlaceholderStrategy placeholders) |
Modifier and Type | Method and Description |
---|---|
L |
DockConverter.getLayout(D element,
Map<Dockable,Integer> children)
Gets the layout of
element . |
void |
DockConverter.setLayout(D element,
L layout,
Map<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,
Dimension size,
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 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,
Map<Dockable,Integer> children) |
FlapDockStation |
FlapDockStationFactory.layout(FlapDockStationLayout layout,
Map<Integer,Dockable> children,
PlaceholderStrategy placeholders) |
void |
FlapDockStationFactory.setLayout(FlapDockStation station,
FlapDockStationLayout layout,
Map<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 observered. |
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,
Icon oldIcon,
Icon newIcon) |
void |
AbstractButtonContentCondition.titleTextChanged(Dockable dockable,
String oldTitle,
String newTitle) |
void |
AbstractButtonContentCondition.titleToolTipChanged(Dockable dockable,
String oldToolTip,
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 Boolean |
ScreenFullscreenAction.createGroupKey(Dockable dockable) |
void |
ScreenDockStationListener.fullscreenChanged(ScreenDockStation station,
Dockable dockable)
Called if the fullscreen-mode of
dockable changed. |
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 . |
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,
Map<Dockable,Integer> children) |
ScreenDockStation |
ScreenDockStationFactory.layout(ScreenDockStationLayout layout,
Map<Integer,Dockable> children,
PlaceholderStrategy placeholders) |
void |
ScreenDockStationFactory.setLayout(ScreenDockStation station,
ScreenDockStationLayout layout,
Map<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 Boolean |
SplitFullScreenAction.createGroupKey(Dockable dockable) |
protected PutInfo |
Leaf.createSidePut(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,
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,
Map<Leaf,Dockable> linksToSet) |
void |
Node.evolve(SplitDockTree.Key key,
boolean checkValidity,
Map<Leaf,Dockable> linksToSet) |
void |
Placeholder.evolve(SplitDockTree.Key key,
boolean checkValidity,
Map<Leaf,Dockable> linksToSet) |
void |
Root.evolve(SplitDockTree.Key key,
boolean checkValidity,
Map<Leaf,Dockable> linksToSet) |
abstract void |
SplitNode.evolve(SplitDockTree.Key key,
boolean checkValidity,
Map<Leaf,Dockable> linksToSet)
Creates or replaces children according to the values found in
key . |
SplitDockStationLayout |
SplitDockStationFactory.getLayout(SplitDockStation station,
Map<Dockable,Integer> children) |
SplitDockStation |
SplitDockStationFactory.layout(SplitDockStationLayout layout,
Map<Integer,Dockable> children,
PlaceholderStrategy placeholders) |
void |
SplitDockStationFactory.setLayout(SplitDockStation station,
SplitDockStationLayout layout,
Map<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(String title,
Icon icon,
Component comp,
Dockable dockable) |
void |
DefaultStackDockComponent.addTab(String title,
Icon icon,
Component comp,
Dockable dockable) |
void |
StackDockComponent.addTab(String title,
Icon icon,
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,
JComponent component)
Creates a
BorderForwarder for the content component for the tab of dockable |
protected Component |
CombinedStackDockComponent.createLayerAt(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)
|
Dimension |
CombinedStackDockComponent.getMinimumSize(Dockable dockable) |
T |
CombinedStackDockComponent.getOnTab(Dockable dockable) |
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(String title,
Icon icon,
Component comp,
Dockable dockable,
int index) |
void |
DefaultStackDockComponent.insertTab(String title,
Icon icon,
Component comp,
Dockable dockable,
int index) |
void |
StackDockComponent.insertTab(String title,
Icon icon,
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,
Map<Dockable,Integer> children) |
StackDockStation |
StackDockStationFactory.layout(StackDockStationLayout layout,
Map<Integer,Dockable> children,
PlaceholderStrategy placeholders) |
void |
StackDockStationFactory.setLayout(StackDockStation station,
StackDockStationLayout layout,
Map<Integer,Dockable> children,
PlaceholderStrategy placeholders) |
Constructor and Description |
---|
CombinedStackDockComponent.Meta(Dockable dockable,
Component component,
String text,
Icon icon,
String tooltip,
boolean enabled)
Creates new meta information.
|
DefaultDndAutoSelectStrategyRequest(StackDockStation station,
Dockable dockable,
TransferHandler.TransferSupport transferSupport)
Creates a new request object.
|
DefaultStackDockComponent.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 |
---|
CombinedMenuContent.Item(Dockable dockable,
String text,
String tooltip,
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. |
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. |
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 |
---|
LineTabsLayoutBlock.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 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,
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 |
ModeManager.getDoubleClickTarget(Dockable target)
Given some
Dockable on which an event was registered, searches a
registered dockable that is a child of target or
target itself. |
Modifier and Type | Method and Description |
---|---|
Set<Dockable> |
ModeManager.listDockables()
Returns a set containing all
Dockable s that are currently
registered at this manager. |
Modifier and Type | Method and Description |
---|---|
void |
AffectedSet.add(Dockable dockable)
Stores
dockable and all its children in the set. |
void |
ModeManager.add(String key,
Dockable dockable)
Registers a new
Dockable at this manager. |
void |
ModeManager.addToModeHistory(Dockable dockable,
M mode,
H history)
Adds the history data
history to dockable for mode mode , and
stores mode as the newest used mode. |
boolean |
Mode.apply(Dockable dockable,
H history,
AffectedSet set)
Applies this mode to
dockable . |
void |
ModeManager.apply(Dockable dockable,
M mode,
AffectedSet set,
boolean force)
Alters the mode of
dockable to mode . |
void |
ModeManager.apply(Dockable dockable,
M mode,
boolean force)
Alters the mode of
dockable to mode . |
void |
ModeManager.apply(Dockable dockable,
M mode,
H history,
AffectedSet set)
Alters the mode of
dockable to be mode . |
boolean |
ModeManager.apply(Dockable dockable,
Path mode,
AffectedSet set,
boolean force)
Alters the mode of
dockable to mode . |
boolean |
ModeManager.apply(Dockable dockable,
Path mode,
boolean force)
Alters the mode of
dockable to mode . |
boolean |
ModeManager.apply(Dockable dockable,
Path mode,
H history,
AffectedSet set)
Alters the mode of
dockable to be mode . |
protected abstract void |
ModeManager.applyDuringRead(String key,
Path old,
Path current,
Dockable dockable)
Called while reading modes in
ModeManager.readSettings(ModeSettings) . |
H |
Mode.current(Dockable dockable)
Provides history information about the current state of
dockable
in respect to this mode. |
void |
ModeManagerListener.dockableAdded(ModeManager<? extends A,? extends M> manager,
Dockable dockable)
Called when a
Dockable is added or replaced in manager . |
void |
ModeManagerListener.dockableRemoved(ModeManager<? extends A,? extends M> manager,
Dockable dockable)
Called when a
Dockable is removed or replaced from manager . |
protected void |
ModeManager.fireAdded(Dockable dockable)
Calls
ModeManagerListener.dockableAdded(ModeManager, Dockable)
on all listeners that are currently registered |
protected void |
ModeManager.fireModeChanged(Dockable dockable,
M oldMode,
M newMode)
Calls
ModeManagerListener.modeChanged(ModeManager, Dockable, Mode, Mode)
on all listeners that are currently registered. |
protected void |
ModeManager.fireRemoved(Dockable dockable)
Calls
ModeManagerListener.dockableRemoved(ModeManager, Dockable)
on all listeners that are currently registered. |
DockActionSource |
Mode.getActionsFor(Dockable dockable,
Mode<H> mode)
|
M |
ModeManager.getCurrentMode(Dockable dockable)
Tries to find the mode
dockable is currently in. |
protected M |
ModeManager.getDefaultMode(Dockable dockable)
Gets the default mode of
dockable , the mode
dockable is in if nothing else is specified. |
Dockable |
ModeManager.getDoubleClickTarget(Dockable target)
Given some
Dockable on which an event was registered, searches a
registered dockable that is a child of target or
target itself. |
H |
ModeManager.getHistory(Dockable dockable,
Path modeId)
Gets the history of
dockable in mode modeId . |
String |
ModeManager.getKey(Dockable dockable)
Gets the unique identifier which is used for
dockable . |
List<M> |
ModeManager.getModeHistory(Dockable dockable)
Gets the history which modes
dockable
used in the past. |
M |
ModeManager.getPreviousMode(Dockable dockable)
Reading the history this method tells which mode
dockable was in before the current mode. |
protected H |
ModeManager.getProperties(M mode,
Dockable dockable)
Gets the properties which correspond to
dockable
and mode . |
List<H> |
ModeManager.getPropertyHistory(Dockable dockable)
Gets the history which properties
dockable
used in the past. |
boolean |
Mode.isCurrentMode(Dockable dockable)
Tells whether
dockable fulfills the requirements of
this mode, meaning whether dockable has this mode. |
boolean |
Mode.isDefaultMode(Dockable dockable)
Checks whether this mode is a default mode of
dockable . |
boolean |
ModeManager.isRegistered(Dockable dockable)
|
void |
ModeManagerListener.modeChanged(ModeManager<? extends A,? extends M> manager,
Dockable dockable,
M oldMode,
M newMode)
Called if the mode of
dockable changed. |
void |
ModeManager.put(String key,
Dockable dockable)
Registers a new
Dockable at this manager. |
protected void |
ModeManager.rebuild(Dockable dockable)
Rebuilds the action sources of
dockable . |
void |
ModeManager.reduceToEmpty(Dockable dockable)
Removes
dockable itself, put the properties of
dockable remain in the system. |
void |
ModeManager.refresh(Dockable dockable,
boolean recursive)
Updates the mode of
dockable and updates the actions
associated with dockable . |
void |
ModeManager.remove(Dockable dockable)
Removes the properties that belong to
dockable . |
H |
HistoryRewriter.rewrite(Dockable dockable,
M mode,
H history)
Checks whether the history object
history is still valid. |
protected void |
ModeManager.setProperties(M mode,
Dockable dockable,
H property)
Stores a property for
dockable if in mode mode . |
void |
ModeManager.store(Dockable dockable)
Stores the current location of
dockable and all its children in respect
to their current Mode . |
protected void |
ModeManager.store(M mode,
Dockable dockable)
Stores the location of
dockable under the key mode .This method does nothing if ModeManager.isOnContinuous() returns true |
Modifier and Type | Method and Description |
---|---|
void |
ModeManager.addAffected(Iterable<Dockable> dockables)
Adds all elements of
dockables to the current
AffectedSet . |
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 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)
Initialises all properties of this DockableDisplayer.
|
void |
BasicDockableDisplayerDecorator.setDockable(Component component,
Dockable dockable)
Sets the element to show on this decorator, can be
null |
void |
MinimalDecorator.setDockable(Component content,
Dockable dockable) |
void |
TabDecorator.setDockable(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
|
BasicStackDockComponent.BasicTab(Dockable dockable) |
BasicStationTitle(Dockable dockable,
DockTitleVersion origin)
Creates a new instance
|
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,
Set<Dockable> dockables) |
void |
BasicHandler.Listener.actionIconChanged(StandardDockAction action,
ActionContentModifier modifier,
Set<Dockable> dockables) |
void |
BasicHandler.Listener.actionRepresentativeChanged(StandardDockAction action,
Set<Dockable> dockables) |
void |
BasicHandler.Listener.actionTextChanged(StandardDockAction action,
Set<Dockable> dockables) |
void |
BasicHandler.Listener.actionTooltipTextChanged(StandardDockAction action,
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.Check(SelectableDockAction action,
Dockable dockable)
Creates a new handler
|
BasicSelectableHandler.Radio(SelectableDockAction action,
Dockable dockable)
Creates a new handler
|
BasicSelectableHandler(SelectableDockAction action,
Dockable dockable)
Creates a new handler
|
DropDownItemHandle(DockAction item,
DropDownViewItem view,
Dockable dockable,
DropDownAction action)
Creates a new item.
|
Modifier and Type | Method and Description |
---|---|
void |
ButtonContentValue.changed(ButtonContent content,
Dockable dockable) |
protected BasicTitleViewItem<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 JComponent> parent)
Initializes this icon by setting missing properties.
|
Constructor and Description |
---|
AbstractDropDownHandler(S action,
Dockable dockable,
JMenuItem item)
Creates an new handler.
|
ButtonDropDownHandler(ButtonDockAction action,
Dockable dockable,
JMenuItem item)
Creates a new handler.
|
SelectableDropDownHandler(SelectableDockAction action,
Dockable dockable,
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,
JPopupMenu menu)
Creates a new handler
|
MenuMenuHandler(MenuDockAction action,
Dockable dockable)
Creates a new handler
|
MenuMenuHandler(MenuDockAction action,
Dockable dockable,
ViewTarget<? extends MenuViewItem<JComponent>> target)
Creates a new handler
|
SelectableMenuHandler(SelectableDockAction action,
Dockable dockable,
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(String id,
Dockable dockable,
DockAction action,
Color backup)
Creates a new
DockColor . |
ActionColor(String id,
Path kind,
Dockable dockable,
DockAction action,
Color backup)
Creates a new
DockColor . |
TabColor(String id,
DockStation station,
Dockable dockable,
Color backup)
Creates a new TabColor.
|
TabColor(String id,
Path kind,
DockStation station,
Dockable dockable,
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(String id,
Dockable dockable,
DockAction action,
FontModifier backup)
Creates a new font
|
ButtonFont(String id,
Dockable dockable,
DockAction action,
Path kind,
FontModifier backup)
Creates a new font
|
TabFont(String id,
DockStation station,
Dockable dockable)
Creates a new font
|
TabFont(String id,
DockStation station,
Dockable dockable,
FontModifier backup)
Creates a new font
|
TabFont(String id,
Path kind,
DockStation station,
Dockable dockable)
Creates a new font
|
TabFont(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<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 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 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. |