bibliothek.extension.gui.dock.theme.bubble
Class BubbleMovingTitleGetter
java.lang.Object
bibliothek.extension.gui.dock.theme.bubble.BubbleMovingTitleGetter
- All Implemented Interfaces:
- MovingTitleGetter
public class BubbleMovingTitleGetter
- extends Object
- implements MovingTitleGetter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BubbleMovingTitleGetter
public BubbleMovingTitleGetter(BubbleTheme theme)
get
public DockTitle get(DockController controller,
DockTitle snatched)
- Description copied from interface:
MovingTitleGetter
- Gets a title which will be shown underneath the cursor. Assumes that the
user clicked on the title
snatched
.
- Specified by:
get
in interface MovingTitleGetter
- Parameters:
controller
- The controller which will be responsible for the titlesnatched
- The title which is grabbed by the user
- Returns:
- A
DockTitle
. The title must not be bound
to any Dockable
except the owner of snatched
. The title
may be snatched
itself, a new instance, an existing title of
somewhere else, or null
. Note that clients may use the
origin
of the result to create a new,
unbound and independent title.
get
public DockTitle get(DockController controller,
Dockable dockable)
- Description copied from interface:
MovingTitleGetter
- Gets a title which will be shown underneath the cursor. Assumes
that the user clicked on
dockable
.
- Specified by:
get
in interface MovingTitleGetter
- Parameters:
controller
- The controller which will be responsible for the titledockable
- The Dockable which is snatched
- Returns:
- A
DockTitle
. The title must not be unbound
to any Dockable
except dockable
. The title
may be a new instance, an existing title of somewhere else, or null