|
||||||||||
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
bibliothek.gui.dock.themes.basic.action.buttons.MiniButton<bibliothek.gui.dock.themes.basic.action.BasicButtonModel>
bibliothek.gui.dock.themes.basic.action.buttons.BasicMiniButton
bibliothek.gui.dock.station.ToolbarMiniButton
public class ToolbarMiniButton
A BasicMiniButton
with custom borders, to be shown on the titlbar of
a toolbar.
Nested Class Summary |
---|
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 |
Field Summary | |
---|---|
static String |
BORDER_KEY_MOUSE_OVER
Identifier for the ThemeManager of the BorderModifier
which is used for the mouse hover state. |
static String |
BORDER_KEY_MOUSE_OVER_SELECTED
Identifier for the ThemeManager of the BorderModifier
which is used for the selected mouse hover state. |
static String |
BORDER_KEY_MOUSE_PRESSED
Identifier for the ThemeManager of the BorderModifier
which is used for the mouse pressed state. |
static String |
BORDER_KEY_MOUSE_PRESSED_SELECTED
Identifier for the ThemeManager of the BorderModifier
which is used for the selected mouse pressed state. |
static String |
BORDER_KEY_NORMAL
Identifier for the ThemeManager of the BorderModifier
which is used for the normal state. |
static String |
BORDER_KEY_NORMAL_SELECTED
Identifier for the ThemeManager of the BorderModifier
which is used for the selected state. |
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 | |
---|---|
ToolbarMiniButton(bibliothek.gui.dock.themes.basic.action.BasicTrigger trigger,
bibliothek.gui.dock.themes.basic.action.BasicResourceInitializer initializer)
Creates the new button. |
Method Summary | |
---|---|
protected bibliothek.gui.dock.themes.basic.action.buttons.MiniButtonContent |
createButtonContent()
|
Dimension |
getPreferredSize()
|
protected void |
paintFocus(Graphics g)
|
Methods inherited from class bibliothek.gui.dock.themes.basic.action.buttons.MiniButton |
---|
doLayout, getBorderKeyMouseOver, getBorderKeyMouseOverSelected, getBorderKeyMousePressed, getBorderKeyMousePressedSelected, getBorderKeyNormal, getBorderKeyNormalSelected, getContent, getMaxBorderInsets, getModel, getMouseOverBorder, getMouseOverSelectedBorder, getMousePressedBorder, getMousePressedSelectedBorder, getNormalBorder, getNormalSelectedBorder, paint, paintContent, setBorderKeyMouseOver, setBorderKeyMouseOverSelected, setBorderKeyMousePressed, setBorderKeyMousePressedSelected, setBorderKeyNormal, setBorderKeyNormalSelected, setModel, setMouseOverBorder, setMouseOverSelectedBorder, setMousePressedBorder, setMousePressedSelectedBorder, setNormalBorder, setNormalSelectedBorder, updateBorder |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String BORDER_KEY_NORMAL
ThemeManager
of the BorderModifier
which is used for the normal state.
public static final String BORDER_KEY_NORMAL_SELECTED
ThemeManager
of the BorderModifier
which is used for the selected state.
public static final String BORDER_KEY_MOUSE_OVER
ThemeManager
of the BorderModifier
which is used for the mouse hover state.
public static final String BORDER_KEY_MOUSE_OVER_SELECTED
ThemeManager
of the BorderModifier
which is used for the selected mouse hover state.
public static final String BORDER_KEY_MOUSE_PRESSED
ThemeManager
of the BorderModifier
which is used for the mouse pressed state.
public static final String BORDER_KEY_MOUSE_PRESSED_SELECTED
ThemeManager
of the BorderModifier
which is used for the selected mouse pressed state.
Constructor Detail |
---|
public ToolbarMiniButton(bibliothek.gui.dock.themes.basic.action.BasicTrigger trigger, bibliothek.gui.dock.themes.basic.action.BasicResourceInitializer initializer)
trigger
- the callback that is invoked when the user clicks onto this
buttoninitializer
- a strategy to lazily initialize resourcesMethod Detail |
---|
protected bibliothek.gui.dock.themes.basic.action.buttons.MiniButtonContent createButtonContent()
createButtonContent
in class bibliothek.gui.dock.themes.basic.action.buttons.MiniButton<bibliothek.gui.dock.themes.basic.action.BasicButtonModel>
protected void paintFocus(Graphics g)
paintFocus
in class bibliothek.gui.dock.themes.basic.action.buttons.MiniButton<bibliothek.gui.dock.themes.basic.action.BasicButtonModel>
public Dimension getPreferredSize()
getPreferredSize
in class bibliothek.gui.dock.themes.basic.action.buttons.MiniButton<bibliothek.gui.dock.themes.basic.action.BasicButtonModel>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |