|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent javax.swing.JPanel bibliothek.gui.dock.util.BackgroundPanel bibliothek.gui.dock.util.ConfiguredBackgroundPanel bibliothek.gui.dock.themes.basic.BasicDockableDisplayer bibliothek.extension.gui.dock.theme.eclipse.displayer.EclipseDockableDisplayer2
@Todo(priority=MINOR, target=VERSION_1_1_2, compatibility=BREAK_MINOR, description="Rename this class to EclipseDockableDisplayer") public class EclipseDockableDisplayer2
The new DockableDisplayer
used by the EclipseTheme
. This class replaces
EclipseDockableDisplayer
. Other than its predecessor, this class also supports showing a DockTitle
.
In a future release this class will be renamed to EclipseDockableDisplayer
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class bibliothek.gui.dock.themes.basic.BasicDockableDisplayer |
---|
BasicDockableDisplayer.DisplayerBorder, BasicDockableDisplayer.Hints |
Nested classes/interfaces inherited from class javax.swing.JPanel |
---|
JPanel.AccessibleJPanel |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Nested classes/interfaces inherited from interface bibliothek.gui.dock.station.DockableDisplayer |
---|
DockableDisplayer.Location |
Field Summary |
---|
Fields inherited from class javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
EclipseDockableDisplayer2(EclipseTheme theme,
DockStation station,
Dockable dockable,
DockTitle title)
Creates a new DockableDisplayer . |
Method Summary | |
---|---|
protected BasicDockableDisplayerDecorator |
createMinimalDecorator()
Creates a new MinimalDecorator that will be shown on this displayer. |
protected BasicDockableDisplayerDecorator |
createStackedDecorator()
Creates a new decorator that will be shown in this displayer if the displayer is shown alongside a tab (@see BasicDockableDisplayer.setStacked(boolean) ). |
protected Border |
getDefaultBorder()
Gets the default border for this displayer. |
void |
setController(DockController controller)
Sets the controller for which this displayer is used. |
void |
setDockable(Dockable dockable)
Sets the Dockable which should be shown on this displayer. |
Methods inherited from class bibliothek.gui.dock.util.ConfiguredBackgroundPanel |
---|
configure |
Methods inherited from class bibliothek.gui.dock.util.BackgroundPanel |
---|
getBackgroundAlgorithm, getTransparency, paint, paintBackground, paintBorder, paintChildren, paintComponent, paintForeground, paintOverlay, setBackground, setTransparency |
Methods inherited from class javax.swing.JPanel |
---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EclipseDockableDisplayer2(EclipseTheme theme, DockStation station, Dockable dockable, DockTitle title)
DockableDisplayer
.
theme
- the theme which creates this displayer, not null
station
- the parent of this displayer, not null
dockable
- the element shown on this displayer, may be null
title
- the title that is shown on this displayer, usually null
Method Detail |
---|
protected Border getDefaultBorder()
BasicDockableDisplayer
null
.
The standard implementation just returns a new instance of of
BevelBorder
.
getDefaultBorder
in class BasicDockableDisplayer
public void setDockable(Dockable dockable)
DockableDisplayer
null
means that no Dockable should be visible at all.
setDockable
in interface DockableDisplayer
setDockable
in class BasicDockableDisplayer
dockable
- the child, can be null
public void setController(DockController controller)
DockableDisplayer
setController
in interface DockableDisplayer
setController
in class BasicDockableDisplayer
controller
- the controller, can be null
protected BasicDockableDisplayerDecorator createMinimalDecorator()
BasicDockableDisplayer
MinimalDecorator
that will be shown on this displayer.
createMinimalDecorator
in class BasicDockableDisplayer
protected BasicDockableDisplayerDecorator createStackedDecorator()
BasicDockableDisplayer
BasicDockableDisplayer.setStacked(boolean)
). The default implementation
return BasicDockableDisplayer.createMinimalDecorator()
. Subclasses may call BasicDockableDisplayer.createStackedDecorator(PropertyKey)
to easily create a fitting decorator.
createStackedDecorator
in class BasicDockableDisplayer
BasicDockableDisplayer.createStackedDecorator(PropertyKey)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |