Yazi Ekle
-
java
|
javax
|
org
javax
>
javax.swing
>
javax.swing.plaf
>
javax.swing.plaf.basic
>
javax.swing.plaf.basic.basictoolbarui
>
Class: javax.swing.plaf.basic.BasicToolBarUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ToolBarUI
javax.swing.plaf.basic.BasicToolBarUI
public class
BasicToolBarUI
extends
ToolBarUI
implements
SwingConstants
Inner Class(es):
BasicToolBarUI.DockingListener
,
BasicToolBarUI.DragWindow
,
BasicToolBarUI.FrameListener
,
BasicToolBarUI.PropertyListener
,
BasicToolBarUI.ToolBarContListener
,
BasicToolBarUI.ToolBarFocusListener
FIELDS:
protected
String
constraintBeforeFloating
protected
Color
dockingBorderColor
protected
Color
dockingColor
protected
MouseInputListener
dockingListener
protected
KeyStroke
downKey
protected
BasicToolBarUI.DragWindow
dragWindow
protected
Color
floatingBorderColor
protected
Color
floatingColor
protected int
focusedCompIndex
protected
KeyStroke
leftKey
protected
PropertyChangeListener
propertyListener
protected
KeyStroke
rightKey
protected
JToolBar
toolBar
protected
ContainerListener
toolBarContListener
protected
FocusListener
toolBarFocusListener
protected
KeyStroke
upKey
CONSTRUCTORS:
public
BasicToolBarUI
()
METHODS:
public
boolean
canDock
(
Component
c,
Point
p)
protected
MouseInputListener
createDockingListener
()
protected
BasicToolBarUI.DragWindow
createDragWindow
(
JToolBar
toolbar)
protected
JFrame
createFloatingFrame
(
JToolBar
toolbar)
protected
RootPaneContainer
createFloatingWindow
(
JToolBar
toolbar)
protected
WindowListener
createFrameListener
()
protected
Border
createNonRolloverBorder
()
protected
PropertyChangeListener
createPropertyListener
()
protected
Border
createRolloverBorder
()
protected
ContainerListener
createToolBarContListener
()
protected
FocusListener
createToolBarFocusListener
()
public static
ComponentUI
createUI
(
JComponent
c)
Overrides:
ComponentUI
protected
void
dragTo
(
Point
position,
Point
origin)
protected
void
floatAt
(
Point
position,
Point
origin)
public
Color
getDockingColor
()
public
Color
getFloatingColor
()
protected
Border
getNonRolloverBorder
(
AbstractButton
b)
protected
Border
getRolloverBorder
(
AbstractButton
b)
protected
void
installComponents
()
protected
void
installDefaults
()
protected
void
installKeyboardActions
()
protected
void
installListeners
()
protected
void
installNonRolloverBorders
(
JComponent
c)
protected
void
installNormalBorders
(
JComponent
c)
protected
void
installRolloverBorders
(
JComponent
c)
public
void
installUI
(
JComponent
c)
Overrides:
ComponentUI
public
boolean
isFloating
()
public
boolean
isRolloverBorders
()
protected
void
navigateFocusedComp
(int direction)
protected
void
paintDragWindow
(
Graphics
g)
Throws:
NullPointerException
protected
void
setBorderToNonRollover
(
Component
c)
protected
void
setBorderToNormal
(
Component
c)
protected
void
setBorderToRollover
(
Component
c)
public
void
setDockingColor
(
Color
c)
public
void
setFloating
(boolean b,
Point
p)
public
void
setFloatingColor
(
Color
c)
public
void
setFloatingLocation
(int x, int y)
public
void
setOrientation
(int orientation)
public
void
setRolloverBorders
(boolean rollover)
protected
void
uninstallComponents
()
protected
void
uninstallDefaults
()
protected
void
uninstallKeyboardActions
()
protected
void
uninstallListeners
()
public
void
uninstallUI
(
JComponent
c)
Overrides:
ComponentUI
INHERITED METHODS:
installUI(javax.swing.JComponent)
,
uninstallUI(javax.swing.JComponent)
,
paint(java.awt.Graphics, javax.swing.JComponent)
,
update(java.awt.Graphics, javax.swing.JComponent)
,
getPreferredSize(javax.swing.JComponent)
,
getMinimumSize(javax.swing.JComponent)
,
getMaximumSize(javax.swing.JComponent)
,
contains(javax.swing.JComponent, int, int)
,
createUI(javax.swing.JComponent)
,
getBaseline(javax.swing.JComponent, int, int)
,
getBaselineResizeBehavior(javax.swing.JComponent)
,
getAccessibleChildrenCount(javax.swing.JComponent)
,
getAccessibleChild(javax.swing.JComponent, int)
,
getClass()
,
hashCode()
,
equals(java.lang.Object)
,
clone()
,
toString()
,
notify()
,
notifyAll()
,
wait(long)
,
wait(long, int)
,
wait()
,
finalize()
,
SUBCLASSES:
MetalToolBarUI
,
Yazilar kaynak gosterilmeden kopyalanamaz © www.kodcu.net