|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.plaf.ComponentUI
javax.swing.plaf.ToolBarUI
javax.swing.plaf.basic.BasicToolBarUI
javax.swing.plaf.metal.MetalToolBarUI
de.muntjak.tinylookandfeel.TinyToolBarUI
public class TinyToolBarUI
TinyToolBarUI
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.plaf.metal.MetalToolBarUI |
|---|
javax.swing.plaf.metal.MetalToolBarUI.MetalContainerListener, javax.swing.plaf.metal.MetalToolBarUI.MetalDockingListener, javax.swing.plaf.metal.MetalToolBarUI.MetalRolloverListener |
| Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicToolBarUI |
|---|
javax.swing.plaf.basic.BasicToolBarUI.DockingListener, javax.swing.plaf.basic.BasicToolBarUI.DragWindow, javax.swing.plaf.basic.BasicToolBarUI.FrameListener, javax.swing.plaf.basic.BasicToolBarUI.PropertyListener, javax.swing.plaf.basic.BasicToolBarUI.ToolBarContListener, javax.swing.plaf.basic.BasicToolBarUI.ToolBarFocusListener |
| Field Summary | |
|---|---|
static int |
FLOATABLE_GRIP_SIZE
|
static java.lang.String |
IS_TOOL_BAR_BUTTON_KEY
|
| Fields inherited from class javax.swing.plaf.metal.MetalToolBarUI |
|---|
contListener, rolloverListener |
| Fields inherited from class javax.swing.plaf.basic.BasicToolBarUI |
|---|
constraintBeforeFloating, dockingBorderColor, dockingColor, dockingListener, downKey, dragWindow, floatingBorderColor, floatingColor, focusedCompIndex, leftKey, propertyListener, rightKey, toolBar, toolBarContListener, toolBarFocusListener, upKey |
| Fields inherited from interface javax.swing.SwingConstants |
|---|
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
| Constructor Summary | |
|---|---|
TinyToolBarUI()
|
|
| Method Summary | |
|---|---|
protected javax.swing.RootPaneContainer |
createFloatingWindow(javax.swing.JToolBar toolbar)
Overrides BasicToolBarUI.createFloatingWindow() to return a simple dialog (which works with TinyLaF). |
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c)
Creates the UI delegate for the given component. |
static boolean |
doesMenuBarBorderToolBar(javax.swing.JMenuBar c)
Returns true if the passed in JMenuBar is above a horizontal JToolBar. |
void |
installUI(javax.swing.JComponent c)
Installs some default values for the given toolbar. |
void |
paint(java.awt.Graphics g,
javax.swing.JComponent c)
Paints the given component. |
protected void |
setBorderToNormal(java.awt.Component c)
|
protected void |
setBorderToRollover(java.awt.Component c)
Rewritten in 1.3. |
void |
uninstallUI(javax.swing.JComponent c)
|
| Methods inherited from class javax.swing.plaf.metal.MetalToolBarUI |
|---|
createContainerListener, createDockingListener, createNonRolloverBorder, createRolloverBorder, createRolloverListener, installListeners, setBorderToNonRollover, setDragOffset, uninstallListeners, update |
| Methods inherited from class javax.swing.plaf.basic.BasicToolBarUI |
|---|
canDock, createDragWindow, createFloatingFrame, createFrameListener, createPropertyListener, createToolBarContListener, createToolBarFocusListener, dragTo, floatAt, getDockingColor, getFloatingColor, getNonRolloverBorder, getRolloverBorder, installComponents, installDefaults, installKeyboardActions, installNonRolloverBorders, installNormalBorders, installRolloverBorders, isFloating, isRolloverBorders, navigateFocusedComp, paintDragWindow, setDockingColor, setFloating, setFloatingColor, setFloatingLocation, setOrientation, setRolloverBorders, uninstallComponents, uninstallDefaults, uninstallKeyboardActions |
| Methods inherited from class javax.swing.plaf.ComponentUI |
|---|
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String IS_TOOL_BAR_BUTTON_KEY
public static final int FLOATABLE_GRIP_SIZE
| Constructor Detail |
|---|
public TinyToolBarUI()
| Method Detail |
|---|
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
c - The component to create its UI delegate.
public static boolean doesMenuBarBorderToolBar(javax.swing.JMenuBar c)
public void installUI(javax.swing.JComponent c)
installUI in class javax.swing.plaf.metal.MetalToolBarUImainColor - The reference of the toolbar to install its default values.public void uninstallUI(javax.swing.JComponent c)
uninstallUI in class javax.swing.plaf.metal.MetalToolBarUIprotected javax.swing.RootPaneContainer createFloatingWindow(javax.swing.JToolBar toolbar)
createFloatingWindow in class javax.swing.plaf.basic.BasicToolBarUIRootPaneContainer object, containing the
toolbar.
public void paint(java.awt.Graphics g,
javax.swing.JComponent c)
paint in class javax.swing.plaf.ComponentUIg - The graphics context to use.c - The component to paint.protected void setBorderToRollover(java.awt.Component c)
setBorderToRollover in class javax.swing.plaf.basic.BasicToolBarUIprotected void setBorderToNormal(java.awt.Component c)
setBorderToNormal in class javax.swing.plaf.basic.BasicToolBarUI
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||