|
||||||||||
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.title.AbstractMultiDockTitle bibliothek.gui.dock.title.AbstractDockTitle bibliothek.gui.dock.themes.basic.BasicButtonDockTitle bibliothek.extension.gui.dock.theme.flat.FlatButtonTitle
public class FlatButtonTitle
This title is used by the FlatTheme
to replace the
default-DockTitle of the FlapDockStation
.
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.BltBufferStrategy, Component.FlipBufferStrategy |
Nested classes/interfaces inherited from interface bibliothek.gui.dock.title.DockTitle |
---|
DockTitle.Orientation |
Field Summary |
---|
Fields inherited from class bibliothek.gui.dock.themes.basic.BasicButtonDockTitle |
---|
behavior, KNOB_SIZE |
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 | |
---|---|
FlatButtonTitle(Dockable dockable,
DockTitleVersion origin)
Constructs a new title |
Method Summary | |
---|---|
protected void |
changeBorder()
Exchanges the border of this title according to the state of selected and of mouseover . |
boolean |
isMouseover()
Tells whether the mouse is currently over this button or not. |
protected void |
setDisabled(boolean disabled)
Tells this title whether it should be disabled or not. |
Methods inherited from class bibliothek.gui.dock.themes.basic.BasicButtonDockTitle |
---|
bind, changed, createFilter, getActionSourceFor, getActiveColor, getActiveTextColor, getChildrenActionSourceFor, getDefaultActionSourceFor, getInactiveColor, getInactiveTextColor, getInnerInsets, getPopupLocation, getSelectedColor, getSelectedTextColor, isMousePressed, isSelected, paintForeground, setActive, setActiveColor, setActiveTextColor, setInactiveColor, setInactiveTextColor, setSelectedColor, setSelectedTextColor, unbind, updateColors, updateIcon, updateLayout, updateText |
Methods inherited from class bibliothek.gui.dock.title.AbstractDockTitle |
---|
doTitleLayout, getPreferredSize, getSuggestedSource, init, isShowMiniButtons, setOrientation, setShowMiniButtons, setTooltip, suggestActions |
Methods inherited from class bibliothek.gui.dock.title.AbstractMultiDockTitle |
---|
addColor, addConditionalFont, addFont, addMouseInputListener, createItemFor, doLayout, getDockable, getElement, getIcon, getIconBounds, getIconTextGap, getLabel, getMinimumSize, getOrientation, getOrigin, getText, init, isActive, isBound, isDisabled, isUsedAsTitle, paintBackground, paintBackground, paintForeground, paintIcon, removeAllConditionalFonts, removeColor, removeFont, removeMouseInputListener, setBackground, setBorder, setFont, setFontModifier, setForeground, setIcon, setIconTextGap, setText, shouldFocus, shouldTransfersFocus, titleInsets, updateFonts, updateTooltip |
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 |
Constructor Detail |
---|
public FlatButtonTitle(Dockable dockable, DockTitleVersion origin)
dockable
- the owner of the titleorigin
- the version which was used to create this titleMethod Detail |
---|
protected void setDisabled(boolean disabled)
AbstractMultiDockTitle
DisablingStrategy
changes. A disabled title should react to any InputEvent
, and should be painted differently than an
enabled title.
setDisabled
in class AbstractMultiDockTitle
disabled
- whether this title is disabledAbstractMultiDockTitle.isDisabled()
public boolean isMouseover()
true
if the mouse is over this buttonprotected void changeBorder()
selected
and of mouseover
.
over this title
changeBorder
in class BasicButtonDockTitle
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |