|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.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.gui.dock.station.toolbar.ToolbarDockableDisplayer
public class ToolbarDockableDisplayer
A simple implementation of a DockableDisplayer
that can be used by
toolbar-DockStation
s. This displayer is aware of the fact, that some
DockStation
s have an orientation and may update its own orientation
automatically.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class bibliothek.gui.dock.themes.basic.BasicDockableDisplayer |
---|
bibliothek.gui.dock.themes.basic.BasicDockableDisplayer.DisplayerBorder, bibliothek.gui.dock.themes.basic.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.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Nested classes/interfaces inherited from interface bibliothek.gui.dock.station.DockableDisplayer |
---|
bibliothek.gui.dock.station.DockableDisplayer.Location |
Field Summary | |
---|---|
static bibliothek.gui.dock.station.DisplayerFactory |
FACTORY
A factory creating new ToolbarDockableDisplayer s. |
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 | |
---|---|
ToolbarDockableDisplayer(bibliothek.gui.DockStation station,
bibliothek.gui.Dockable dockable,
bibliothek.gui.dock.title.DockTitle title)
Creates a new displayer. |
Method Summary | |
---|---|
protected Component |
getComponent(bibliothek.gui.Dockable dockable)
|
protected Border |
getDefaultBorder()
|
Insets |
getDockableInsets()
|
protected Orientation |
getOrientation()
Tries to find out the current Orientation of the Dockable . |
void |
setController(bibliothek.gui.DockController controller)
|
void |
setDockable(bibliothek.gui.Dockable dockable)
|
protected void |
setOrientation(Orientation orientation)
Called if the orientation of the current Dockable changed. |
protected void |
updateBorder()
|
Methods inherited from class bibliothek.gui.dock.themes.basic.BasicDockableDisplayer |
---|
addDockableDisplayerListener, createContentPane, createMinimalDecorator, createRootHandler, createStackedDecorator, createStackedDecorator, createTabDecorator, fireMoveableElementChanged, getComponent, getComponent, getComponentConfiguration, getController, getDefaultBorderHint, getDockable, getHints, getMoveableElement, getStation, getTitle, getTitleCenter, getTitleLocation, init, isRespectBorderHint, isSingleTabShowing, isSingleTabShowInnerBorder, isSingleTabShowOuterBorder, isStacked, isTabInside, listeners, orientation, prepareCombination, removeDockableDisplayerListener, resetDecorator, setBaseBorder, setComponentConfiguration, setContentBorder, setDecorator, setDefaultBorderHint, setRespectBorderHint, setSingleTabShowInnerBorder, setSingleTabShowOuterBorder, setStacked, setStation, setTabInside, setTitle, setTitleLocation, titleContains, updateDecorator, updateDecorator, updateUI |
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 |
Field Detail |
---|
public static final bibliothek.gui.dock.station.DisplayerFactory FACTORY
ToolbarDockableDisplayer
s.
Constructor Detail |
---|
public ToolbarDockableDisplayer(bibliothek.gui.DockStation station, bibliothek.gui.Dockable dockable, bibliothek.gui.dock.title.DockTitle title)
station
- the owner of this displayerdockable
- the element shown on this displayer, can be null
title
- the title shown on this displayer, can be null
Method Detail |
---|
protected Component getComponent(bibliothek.gui.Dockable dockable)
getComponent
in class bibliothek.gui.dock.themes.basic.BasicDockableDisplayer
protected Border getDefaultBorder()
getDefaultBorder
in class bibliothek.gui.dock.themes.basic.BasicDockableDisplayer
protected void updateBorder()
updateBorder
in class bibliothek.gui.dock.themes.basic.BasicDockableDisplayer
public void setController(bibliothek.gui.DockController controller)
setController
in interface bibliothek.gui.dock.station.DockableDisplayer
setController
in class bibliothek.gui.dock.themes.basic.BasicDockableDisplayer
public void setDockable(bibliothek.gui.Dockable dockable)
setDockable
in interface bibliothek.gui.dock.station.DockableDisplayer
setDockable
in class bibliothek.gui.dock.themes.basic.BasicDockableDisplayer
public Insets getDockableInsets()
getDockableInsets
in interface bibliothek.gui.dock.station.DockableDisplayer
getDockableInsets
in class bibliothek.gui.dock.themes.basic.BasicDockableDisplayer
protected Orientation getOrientation()
Orientation
of the Dockable
.
null
protected void setOrientation(Orientation orientation)
Dockable
changed.
orientation
- the new orientation, can be null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |