|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbibliothek.gui.dock.themes.BasicTheme
bibliothek.extension.gui.dock.theme.EclipseTheme
public class EclipseTheme
A theme imitating the look and feel of the Eclipse-IDE.
Field Summary | |
---|---|
static PropertyKey<Boolean> |
PAINT_ICONS_WHEN_DESELECTED
Tells whether icons on tabs that are not selected should be painted or not. |
static String |
TAB_DOCK_TITLE
The id of the DockTitleVersion that is intended to create
DockTitle s used as tabs by the DockTitleTab . |
static PropertyKey<TabPainter> |
TAB_PAINTER
Tells in which way the tabs should be painted. |
static PropertyKey<EclipseThemeConnector> |
THEME_CONNECTOR
Provides additional dockable-wise information used to layout components in the EclipseTheme. |
Constructor Summary | |
---|---|
EclipseTheme()
Creates a new theme |
Method Summary | |
---|---|
MovingTitleGetter |
getMovingTitleGetter(DockController controller)
Gets a pseudo factory for titles which are moved around by the user. |
EclipseThemeConnector |
getThemeConnector(DockController controller)
Gets the connector which is used for decisions which are normally altered by the client. |
void |
install(DockController controller)
Install this theme at controller . |
void |
uninstall(DockController controller)
Uninstalls this theme from controller . |
Methods inherited from class bibliothek.gui.dock.themes.BasicTheme |
---|
getCombiner, getDisplayFactory, getPaint, getTitleFactory, setCombiner, setDisplayerFactory, setMovingTitleGetter, setPaint, setStackDockComponentFactory, setTitleFactory |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final PropertyKey<Boolean> PAINT_ICONS_WHEN_DESELECTED
public static final PropertyKey<TabPainter> TAB_PAINTER
ShapedGradientPainter
,
RectGradientPainter
public static final PropertyKey<EclipseThemeConnector> THEME_CONNECTOR
DefaultEclipseThemeConnector
public static final String TAB_DOCK_TITLE
DockTitleVersion
that is intended to create
DockTitle
s used as tabs by the DockTitleTab
. Clients
which want to use DockTitle
s as tabs, should exchange the
TabPainter
by executing this code:controller.getProperties().set( EclipseTheme.TAB_PAINTER, DockTitleTab.FACTORY );
Constructor Detail |
---|
public EclipseTheme()
Method Detail |
---|
public MovingTitleGetter getMovingTitleGetter(DockController controller)
DockTheme
getMovingTitleGetter
in interface DockTheme
getMovingTitleGetter
in class BasicTheme
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
install
in class BasicTheme
controller
- the controllerpublic void uninstall(DockController controller)
DockTheme
controller
. The theme
has to remove all listeners it added.
uninstall
in interface DockTheme
uninstall
in class BasicTheme
controller
- the controllerpublic EclipseThemeConnector getThemeConnector(DockController controller)
controller
- the controller in whose realm the decisions will take
effect.
DockProperties
under THEME_CONNECTOR
or
a default-value.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |