|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbibliothek.gui.dock.themes.NoStackTheme
public class NoStackTheme
A DockTheme
that wraps another theme and ensures that there
is no StackDockStation
in another StackDockStation
.
This theme hides some titles for the StackDockStation
.
Constructor Summary | |
---|---|
NoStackTheme(DockTheme base)
Creates a new theme |
Method Summary | |
---|---|
Combiner |
getCombiner(DockStation station)
Gets the Combiner for station . |
DisplayerFactory |
getDisplayFactory(DockStation station)
Gets a displayer factory for station . |
static ThemeFactory |
getFactory(Class<? extends DockTheme> theme,
ResourceBundle bundle,
DockUI ui)
Creates a ThemeFactory for this theme encapsulating another
theme. |
MovingTitleGetter |
getMovingTitleGetter(DockController controller)
Gets a pseudo factory for titles which are moved around by the user. |
StationPaint |
getPaint(DockStation station)
Gets the paint which is used to draw things onto station . |
DockTitleFactory |
getTitleFactory(DockController controller)
Gets the default DockTitleFactory which is used if no
other factory is set. |
void |
install(DockController controller)
Install this theme at controller . |
void |
uninstall(DockController controller)
Uninstalls this theme from controller . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NoStackTheme(DockTheme base)
base
- the wrapped theme, it is used as a delegate to get
some factories.Method Detail |
---|
public static ThemeFactory getFactory(Class<? extends DockTheme> theme, ResourceBundle bundle, DockUI ui)
ThemeFactory
for this theme encapsulating another
theme.
theme
- the theme to encapsulatebundle
- the bundle to read strings for the other theme, can be null
if the bundle of ui
should be used.ui
- the DockUI
from which values should be read, can be null
if the default-DockUI should be used.
public Combiner getCombiner(DockStation station)
DockTheme
station
.
getCombiner
in interface DockTheme
station
- the station whose combiner is searched
station
public DisplayerFactory getDisplayFactory(DockStation station)
DockTheme
station
.
getDisplayFactory
in interface DockTheme
station
- the station on which the created DockableDisplayer
is shown
public StationPaint getPaint(DockStation station)
DockTheme
station
.
getPaint
in interface DockTheme
station
- the station to paint on
station
public DockTitleFactory getTitleFactory(DockController controller)
DockTheme
DockTitleFactory
which is used if no
other factory is set.DockTitleManager.registerTheme(String, DockTitleFactory)
should be used.
getTitleFactory
in interface DockTheme
controller
- the controller using this theme
public MovingTitleGetter getMovingTitleGetter(DockController controller)
DockTheme
getMovingTitleGetter
in interface DockTheme
controller
- the controller for which the factory is needed
public void install(DockController controller)
DockTheme
controller
. The theme
may change any properties it likes.
install
in interface DockTheme
controller
- the controllerpublic void uninstall(DockController controller)
DockTheme
controller
. The theme
has to remove all listeners it added.
uninstall
in interface DockTheme
controller
- the controller
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |