|
||||||||||
| 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.title.AbstractMultiDockTitle
bibliothek.gui.dock.title.AbstractDockTitle
bibliothek.gui.dock.themes.basic.BasicDockTitle
bibliothek.extension.gui.dock.theme.eclipse.stack.tab.BasicTabDockTitle
@ColorCodes(value={"stack.tab.top.selected.focused","stack.tab.bottom.selected.focused","stack.tab.text","stack.tab.top.selected","stack.tab.bottom.selected","stack.tab.top.disabled","stack.tab.bottom.disabled","stack.tab.text","stack.border"})
public class BasicTabDockTitle
A DockTitle normally used by the DockTitleTab to show
a very simple tab.
| Nested Class Summary |
|---|
| 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.title.DockTitle |
|---|
DockTitle.Orientation |
| Field Summary | |
|---|---|
static DockTitleFactory |
FACTORY
A factory creating new BasicTabDockTitles. |
| 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 bibliothek.gui.dock.title.DockTitle |
|---|
ORIENTATION_STRATEGY |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
BasicTabDockTitle(Dockable dockable,
DockTitleVersion origin)
Creates a new title |
|
| Method Summary | |
|---|---|
void |
bind()
Called before this title is displayed. |
void |
changed(DockTitleEvent event)
Called if a property changed that might be important for painting this title. |
Dimension |
getMinimumSize()
|
protected void |
setIcon(Icon icon)
Sets the icon of this title. |
void |
unbind()
The reverse of DockTitle.bind(). |
| Methods inherited from class bibliothek.gui.dock.title.AbstractDockTitle |
|---|
doTitleLayout, getActionSourceFor, getPopupLocation, getPreferredSize, getSuggestedSource, init, isShowMiniButtons, setShowMiniButtons, setTooltip, suggestActions |
| Methods inherited from class bibliothek.gui.dock.util.ConfiguredBackgroundPanel |
|---|
configure |
| Methods inherited from class bibliothek.gui.dock.util.BackgroundPanel |
|---|
getBackgroundAlgorithm, getComponent, getTransparency, paint, paintBorder, paintChildren, paintComponent, paintOverlay, setBackground, setTransparency |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface bibliothek.gui.dock.title.DockTitle |
|---|
getComponent |
| Field Detail |
|---|
public static final DockTitleFactory FACTORY
BasicTabDockTitles.
| Constructor Detail |
|---|
public BasicTabDockTitle(Dockable dockable,
DockTitleVersion origin)
dockable - the element for which this title is shownorigin - the type of this title| Method Detail |
|---|
public void bind()
DockTitleowner.
If the title wants to show some DockActions (see the method
DockController.listOffers(Dockable)), then this method
should bind them too.Dockable.bind(DockTitle). The DockController
will call the bind-method, as soon as the Dockable knows the controller.
bind in interface DockTitlebind in class AbstractDockTitlepublic void unbind()
DockTitleDockTitle.bind(). The title should remove any connections
to other objects and unbind its
DockActions.Dockable.unbind(DockTitle). The DockController
will call the unbind-method before the Dockable looses the controller.
unbind in interface DockTitleunbind in class AbstractDockTitlepublic Dimension getMinimumSize()
getMinimumSize in class AbstractMultiDockTitlepublic void changed(DockTitleEvent event)
DockTitleDockTitleEvent to transmit more information
to this title than DockTitleEvent would allow.
changed in interface DockTitlechanged in class AbstractDockTitleevent - information about the current stateprotected void setIcon(Icon icon)
AbstractMultiDockTitle
setIcon in class AbstractMultiDockTitleicon - the icon, can be null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||