A Basic L&F implementation of ToolBarUI. This implementation is a "combined" view/controller.
A Basic L&F implementation of ToolBarUI. This implementation is a "combined" view/controller.
(*create-ui c)
c - javax.swing.JComponent
returns: javax.swing.plaf.ComponentUI
c - `javax.swing.JComponent` returns: `javax.swing.plaf.ComponentUI`
(can-dock? this c p)
c - java.awt.Component
p - java.awt.Point
returns: boolean
c - `java.awt.Component` p - `java.awt.Point` returns: `boolean`
(get-docking-color this)
Gets the color displayed when over a docking area
returns: java.awt.Color
Gets the color displayed when over a docking area returns: `java.awt.Color`
(get-floating-color this)
Gets the color displayed when over a floating area
returns: java.awt.Color
Gets the color displayed when over a floating area returns: `java.awt.Color`
(install-ui this c)
Description copied from class: ComponentUI
c - the component where this UI delegate is being installed - javax.swing.JComponent
Description copied from class: ComponentUI c - the component where this UI delegate is being installed - `javax.swing.JComponent`
(rollover-borders? this)
Returns a flag to determine whether rollover button borders are enabled.
returns: true if rollover borders are enabled; false otherwise - boolean
Returns a flag to determine whether rollover button borders are enabled. returns: true if rollover borders are enabled; false otherwise - `boolean`
(set-docking-color this c)
Sets the color displayed when over a docking area
c - java.awt.Color
Sets the color displayed when over a docking area c - `java.awt.Color`
(set-floating this b p)
b - boolean
p - java.awt.Point
b - `boolean` p - `java.awt.Point`
(set-floating-color this c)
Sets the color displayed when over a floating area
c - java.awt.Color
Sets the color displayed when over a floating area c - `java.awt.Color`
(set-floating-location this x y)
x - int
y - int
x - `int` y - `int`
(set-orientation this orientation)
orientation - int
orientation - `int`
(set-rollover-borders this rollover)
Sets the flag for enabling rollover borders on the toolbar and it will also install the appropriate border depending on the state of the flag.
rollover - if true, rollover borders are installed. Otherwise non-rollover borders are installed - boolean
Sets the flag for enabling rollover borders on the toolbar and it will also install the appropriate border depending on the state of the flag. rollover - if true, rollover borders are installed. Otherwise non-rollover borders are installed - `boolean`
(uninstall-ui this c)
Description copied from class: ComponentUI
c - the component from which this UI delegate is being removed; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components - javax.swing.JComponent
Description copied from class: ComponentUI c - the component from which this UI delegate is being removed; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components - `javax.swing.JComponent`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close