Liking cljdoc? Tell your friends :D

javax.swing.plaf.basic.BasicSliderUI

A Basic L&F implementation of SliderUI.

A Basic L&F implementation of SliderUI.
raw docstring

*-max-scrollclj

Static Constant.

type: int

Static Constant.

type: int
raw docstring

*-min-scrollclj

Static Constant.

type: int

Static Constant.

type: int
raw docstring

*-negative-scrollclj

Static Constant.

type: int

Static Constant.

type: int
raw docstring

*-positive-scrollclj

Static Constant.

type: int

Static Constant.

type: int
raw docstring

*create-uiclj

(*create-ui b)

b - javax.swing.JComponent

returns: javax.swing.plaf.ComponentUI

b - `javax.swing.JComponent`

returns: `javax.swing.plaf.ComponentUI`
raw docstring

->basic-slider-uiclj

(->basic-slider-ui b)

Constructor.

b - javax.swing.JSlider

Constructor.

b - `javax.swing.JSlider`
raw docstring

get-baselineclj

(get-baseline this c width height)

Returns the baseline.

c - JComponent baseline is being requested for - javax.swing.JComponent width - the width to get the baseline for - int height - the height to get the baseline for - int

returns: baseline or a value < 0 indicating there is no reasonable baseline - int

throws: java.lang.NullPointerException - if c is null

Returns the baseline.

c - JComponent baseline is being requested for - `javax.swing.JComponent`
width - the width to get the baseline for - `int`
height - the height to get the baseline for - `int`

returns: baseline or a value < 0 indicating there is no reasonable
                  baseline - `int`

throws: java.lang.NullPointerException - if c is null
raw docstring

get-baseline-resize-behaviorclj

(get-baseline-resize-behavior this c)

Returns an enum indicating how the baseline of the component changes as the size changes.

c - JComponent to return baseline resize behavior for - javax.swing.JComponent

returns: an enum indicating how the baseline changes as the component size changes - java.awt.Component$BaselineResizeBehavior

throws: java.lang.NullPointerException - if c is null

Returns an enum indicating how the baseline of the component
 changes as the size changes.

c - JComponent to return baseline resize behavior for - `javax.swing.JComponent`

returns: an enum indicating how the baseline changes as the component
         size changes - `java.awt.Component$BaselineResizeBehavior`

throws: java.lang.NullPointerException - if c is null
raw docstring

get-maximum-sizeclj

(get-maximum-size this c)

Description copied from class: ComponentUI

c - the component whose maximum size is being queried; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components - javax.swing.JComponent

returns: a Dimension object or null - java.awt.Dimension

Description copied from class: ComponentUI

c - the component whose maximum size is being queried; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components - `javax.swing.JComponent`

returns: a Dimension object or null - `java.awt.Dimension`
raw docstring

get-minimum-horizontal-sizeclj

(get-minimum-horizontal-size this)

returns: java.awt.Dimension

returns: `java.awt.Dimension`
raw docstring

get-minimum-sizeclj

(get-minimum-size this c)

Description copied from class: ComponentUI

c - the component whose minimum size is being queried; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components - javax.swing.JComponent

returns: a Dimension object or null - java.awt.Dimension

Description copied from class: ComponentUI

c - the component whose minimum size is being queried; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components - `javax.swing.JComponent`

returns: a Dimension object or null - `java.awt.Dimension`
raw docstring

get-minimum-vertical-sizeclj

(get-minimum-vertical-size this)

returns: java.awt.Dimension

returns: `java.awt.Dimension`
raw docstring

get-preferred-horizontal-sizeclj

(get-preferred-horizontal-size this)

returns: java.awt.Dimension

returns: `java.awt.Dimension`
raw docstring

get-preferred-sizeclj

(get-preferred-size this c)

Description copied from class: ComponentUI

c - the component whose preferred size is being queried; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components - javax.swing.JComponent

returns: java.awt.Dimension

Description copied from class: ComponentUI

c - the component whose preferred size is being queried; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components - `javax.swing.JComponent`

returns: `java.awt.Dimension`
raw docstring

get-preferred-vertical-sizeclj

(get-preferred-vertical-size this)

returns: java.awt.Dimension

returns: `java.awt.Dimension`
raw docstring

install-uiclj

(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`
raw docstring

paintclj

(paint this g c)

Description copied from class: ComponentUI

g - the Graphics context in which to paint - java.awt.Graphics c - the component being painted; 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

g - the Graphics context in which to paint - `java.awt.Graphics`
c - the component being painted; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components - `javax.swing.JComponent`
raw docstring

paint-focusclj

(paint-focus this g)

g - java.awt.Graphics

g - `java.awt.Graphics`
raw docstring

paint-labelsclj

(paint-labels this g)

g - java.awt.Graphics

g - `java.awt.Graphics`
raw docstring

paint-thumbclj

(paint-thumb this g)

g - java.awt.Graphics

g - `java.awt.Graphics`
raw docstring

paint-ticksclj

(paint-ticks this g)

g - java.awt.Graphics

g - `java.awt.Graphics`
raw docstring

paint-trackclj

(paint-track this g)

g - java.awt.Graphics

g - `java.awt.Graphics`
raw docstring

scroll-by-blockclj

(scroll-by-block this direction)

direction - int

direction - `int`
raw docstring

scroll-by-unitclj

(scroll-by-unit this direction)

direction - int

direction - `int`
raw docstring

set-thumb-locationclj

(set-thumb-location this x y)

x - int y - int

x - `int`
y - `int`
raw docstring

uninstall-uiclj

(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`
raw docstring

value-for-x-positionclj

(value-for-x-position this x-pos)

Returns the value at the x position. If xPos is beyond the track at the left or the right, this method sets the value to either the minimum or maximum value of the slider, depending on if the slider is inverted or not.

x-pos - int

returns: int

Returns the value at the x position.  If xPos is beyond the
 track at the left or the right, this method sets the value to either the
 minimum or maximum value of the slider, depending on if the slider is
 inverted or not.

x-pos - `int`

returns: `int`
raw docstring

value-for-y-positionclj

(value-for-y-position this y-pos)

Returns the value at the y position. If yPos is beyond the track at the the bottom or the top, this method sets the value to either the minimum or maximum value of the slider, depending on if the slider is inverted or not.

y-pos - int

returns: int

Returns the value at the y position. If yPos is beyond the
 track at the the bottom or the top, this method sets the value to either
 the minimum or maximum value of the slider, depending on if the slider
 is inverted or not.

y-pos - `int`

returns: `int`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close