public class UIToolBarUI
extends javax.swing.plaf.metal.MetalToolBarUI
javax.swing.plaf.metal.MetalToolBarUI.MetalContainerListener, javax.swing.plaf.metal.MetalToolBarUI.MetalDockingListener, javax.swing.plaf.metal.MetalToolBarUI.MetalRolloverListener
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
限定符和类型 | 字段和说明 |
---|---|
static int |
FLOATABLE_GRIP_SIZE |
static java.lang.String |
IS_TOOL_BAR_BUTTON_KEY |
构造器和说明 |
---|
UIToolBarUI() |
限定符和类型 | 方法和说明 |
---|---|
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)
创建组件UI
|
void |
installUI(javax.swing.JComponent c)
加载组件ui
|
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.
|
createContainerListener, createDockingListener, createNonRolloverBorder, createRolloverBorder, createRolloverListener, installListeners, setBorderToNonRollover, setDragOffset, uninstallListeners, uninstallUI, update
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
public static final java.lang.String IS_TOOL_BAR_BUTTON_KEY
public static final int FLOATABLE_GRIP_SIZE
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
c
- 组件public void installUI(javax.swing.JComponent c)
installUI
在类中 javax.swing.plaf.metal.MetalToolBarUI
c
- 组件protected javax.swing.RootPaneContainer createFloatingWindow(javax.swing.JToolBar toolbar)
createFloatingWindow
在类中 javax.swing.plaf.basic.BasicToolBarUI
RootPaneContainer
object, containing the toolbar.public void paint(java.awt.Graphics g, javax.swing.JComponent c)
paint
在类中 javax.swing.plaf.ComponentUI
g
- The graphics context to use.c
- The component to paint.protected void setBorderToRollover(java.awt.Component c)
setBorderToRollover
在类中 javax.swing.plaf.basic.BasicToolBarUI
protected void setBorderToNormal(java.awt.Component c)
setBorderToNormal
在类中 javax.swing.plaf.basic.BasicToolBarUI