Liking cljdoc? Tell your friends :D

javax.swing.plaf.basic.BasicScrollBarUI

Implementation of ScrollBarUI for the Basic Look and Feel

Implementation of ScrollBarUI for the Basic Look and Feel
raw docstring

*create-uiclj

(*create-ui c)

c - javax.swing.JComponent

returns: javax.swing.plaf.ComponentUI

c - `javax.swing.JComponent`

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

->basic-scroll-bar-uiclj

(->basic-scroll-bar-ui)

Constructor.

Constructor.
raw docstring

add-layout-componentclj

(add-layout-component this name child)

Description copied from interface: LayoutManager

name - the string to be associated with the component - java.lang.String child - the component to be added - java.awt.Component

Description copied from interface: LayoutManager

name - the string to be associated with the component - `java.lang.String`
child - the component to be added - `java.awt.Component`
raw docstring

get-maximum-sizeclj

(get-maximum-size this c)

Description copied from class: ComponentUI

c - The JScrollBar that's delegating this method to us. - javax.swing.JComponent

returns: new Dimension(Integer.MAX_VALUE, Integer.MAX_VALUE); - java.awt.Dimension

Description copied from class: ComponentUI

c - The JScrollBar that's delegating this method to us. - `javax.swing.JComponent`

returns: new Dimension(Integer.MAX_VALUE, Integer.MAX_VALUE); - `java.awt.Dimension`
raw docstring

get-preferred-sizeclj

(get-preferred-size this c)

A vertical scrollbar's preferred width is the maximum of preferred widths of the (non null) increment/decrement buttons, and the minimum width of the thumb. The preferred height is the sum of the preferred heights of the same parts. The basis for the preferred size of a horizontal scrollbar is similar.

The preferredSize is only computed once, subsequent calls to this method just return a cached size.

c - the JScrollBar that's delegating this method to us - javax.swing.JComponent

returns: the preferred size of a Basic JScrollBar - java.awt.Dimension

A vertical scrollbar's preferred width is the maximum of
 preferred widths of the (non null)
 increment/decrement buttons,
 and the minimum width of the thumb. The preferred height is the
 sum of the preferred heights of the same parts.  The basis for
 the preferred size of a horizontal scrollbar is similar.

 The preferredSize is only computed once, subsequent
 calls to this method just return a cached size.

c - the JScrollBar that's delegating this method to us - `javax.swing.JComponent`

returns: the preferred size of a Basic JScrollBar - `java.awt.Dimension`
raw docstring

get-supports-absolute-positioning?clj

(get-supports-absolute-positioning? this)

Indicates whether the user can absolutely position the thumb with a mouse gesture (usually the middle mouse button).

returns: true if a mouse gesture can absolutely position the thumb - boolean

Indicates whether the user can absolutely position the thumb with
 a mouse gesture (usually the middle mouse button).

returns: true if a mouse gesture can absolutely position the thumb - `boolean`
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

layout-containerclj

(layout-container this scrollbar-container)

Description copied from interface: LayoutManager

scrollbar-container - the container to be laid out - java.awt.Container

Description copied from interface: LayoutManager

scrollbar-container - the container to be laid out - `java.awt.Container`
raw docstring

minimum-layout-sizeclj

(minimum-layout-size this scrollbar-container)

Description copied from interface: LayoutManager

scrollbar-container - the component to be laid out - java.awt.Container

returns: java.awt.Dimension

Description copied from interface: LayoutManager

scrollbar-container - the component to be laid out - `java.awt.Container`

returns: `java.awt.Dimension`
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

preferred-layout-sizeclj

(preferred-layout-size this scrollbar-container)

Description copied from interface: LayoutManager

scrollbar-container - the container to be laid out - java.awt.Container

returns: java.awt.Dimension

Description copied from interface: LayoutManager

scrollbar-container - the container to be laid out - `java.awt.Container`

returns: `java.awt.Dimension`
raw docstring

remove-layout-componentclj

(remove-layout-component this child)

Description copied from interface: LayoutManager

child - the component to be removed - java.awt.Component

Description copied from interface: LayoutManager

child - the component to be removed - `java.awt.Component`
raw docstring

thumb-rollover?clj

(thumb-rollover? this)

Returns true if the mouse is currently over the thumb.

returns: true if the thumb is currently active - boolean

Returns true if the mouse is currently over the thumb.

returns: true if the thumb is currently active - `boolean`
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

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

× close