|
||||||||||
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.NoTitleBarDisplayer
public class NoTitleBarDisplayer
A DockableDisplayer
which is used in situations when usually no DockTitle
nor any tab is shown. This
displayer makes use of an InvisibleTab
to change its border. The invisible tab is accessed through the
global TabPainter
which in respect is made avilable by the DockProperties
and the key EclipseTheme.TAB_PAINTER
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class bibliothek.gui.dock.themes.basic.BasicDockableDisplayer |
---|
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 | |
---|---|
NoTitleBarDisplayer(DockStation station,
Dockable dockable,
DockTitle title,
EclipseThemeConnector.TitleBar bar)
|
Method Summary | |
---|---|
protected BasicDockableDisplayerDecorator |
createTabDecorator()
Creates a new TabDecorator that will be shown on this displayer. |
protected Border |
getDefaultBorder()
Gets the default border for this displayer. |
TabPlacement |
getDockTabPlacement()
Tells at which side tabs are shown. |
Dockable |
getSelectedDockable()
Gets the Dockable that is currently selected. |
void |
paint(Graphics g)
|
void |
setBorder(Dockable dockable,
Border border)
Sets the border that should be painted around dockable . |
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. |
void |
updateFullBorder()
Exchanges the border of this component, using the current EclipseTheme.TAB_PAINTER to determine the new border. |
protected void |
updateInvisibleTab()
|
Methods inherited from class bibliothek.gui.dock.util.ConfiguredBackgroundPanel |
---|
configure |
Methods inherited from class bibliothek.gui.dock.util.BackgroundPanel |
---|
getBackgroundAlgorithm, getTransparency, 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 |
Methods inherited from interface bibliothek.gui.dock.station.DockableDisplayer |
---|
addDockableDisplayerListener, getComponent, getController, getDockable, getDockableInsets, getMoveableElement, getStation, getTitle, getTitleLocation, prepareCombination, removeDockableDisplayerListener, setStation, setTitle, setTitleLocation, titleContains |
Methods inherited from interface bibliothek.extension.gui.dock.theme.eclipse.stack.tab.InvisibleTabPane |
---|
getStation |
Constructor Detail |
---|
public NoTitleBarDisplayer(DockStation station, Dockable dockable, DockTitle title, EclipseThemeConnector.TitleBar bar)
Method Detail |
---|
public void updateFullBorder()
EclipseTheme.TAB_PAINTER
to determine the new border.
updateFullBorder
in interface BorderedComponent
public void setBorder(Dockable dockable, Border border)
InvisibleTabPane
dockable
.
setBorder
in interface InvisibleTabPane
dockable
- some child of this paneborder
- the new border, can be null
protected Border getDefaultBorder()
BasicDockableDisplayer
null
.
The standard implementation just returns a new instance of of
BevelBorder
.
getDefaultBorder
in class BasicDockableDisplayer
protected void updateInvisibleTab()
public TabPlacement getDockTabPlacement()
BorderedComponent
getDockTabPlacement
in interface BorderedComponent
null
if
this component does not show tabspublic void paint(Graphics g)
paint
in class BackgroundPanel
public Dockable getSelectedDockable()
InvisibleTabPane
Dockable
that is currently selected.
getSelectedDockable
in interface InvisibleTabPane
null
spublic void setController(DockController controller)
DockableDisplayer
setController
in interface DockableDisplayer
setController
in class BasicDockableDisplayer
controller
- the controller, can be null
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
protected BasicDockableDisplayerDecorator createTabDecorator()
BasicDockableDisplayer
TabDecorator
that will be shown on this displayer.
createTabDecorator
in class BasicDockableDisplayer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |