Liking cljdoc? Tell your friends :D

javax.swing.plaf.synth.SynthProgressBarUI

Provides the Synth L&F UI delegate for JProgressBar.

Provides the Synth L&F UI delegate for
JProgressBar.
raw docstring

*create-uiclj

(*create-ui x)

Creates a new UI object for the given component.

x - component to create UI object for - javax.swing.JComponent

returns: the UI object - javax.swing.plaf.ComponentUI

Creates a new UI object for the given component.

x - component to create UI object for - `javax.swing.JComponent`

returns: the UI object - `javax.swing.plaf.ComponentUI`
raw docstring

->synth-progress-bar-uiclj

(->synth-progress-bar-ui)

Constructor.

Constructor.
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

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

get-contextclj

(get-context this c)

Returns the Context for the specified component.

c - Component requesting SynthContext. - javax.swing.JComponent

returns: SynthContext describing component. - javax.swing.plaf.synth.SynthContext

Returns the Context for the specified component.

c - Component requesting SynthContext. - `javax.swing.JComponent`

returns: SynthContext describing component. - `javax.swing.plaf.synth.SynthContext`
raw docstring

get-preferred-sizeclj

(get-preferred-size this c)

Returns the specified component's preferred size appropriate for the look and feel. If null is returned, the preferred size will be calculated by the component's layout manager instead (this is the preferred approach for any component with a specific layout manager installed). The default implementation of this method returns null.

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

Returns the specified component's preferred size appropriate for
 the look and feel.  If null is returned, the preferred
 size will be calculated by the component's layout manager instead
 (this is the preferred approach for any component with a specific
 layout manager installed).  The default implementation of this
 method returns null.

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

paintclj

(paint this g c)

Paints the specified component according to the Look and Feel. This method is not used by Synth Look and Feel. Painting is handled by the paint(SynthContext,Graphics) method.

g - the Graphics object used for painting - java.awt.Graphics c - the component being painted - javax.swing.JComponent

Paints the specified component according to the Look and Feel.
 This method is not used by Synth Look and Feel.
 Painting is handled by the paint(SynthContext,Graphics) method.

g - the Graphics object used for painting - `java.awt.Graphics`
c - the component being painted - `javax.swing.JComponent`
raw docstring

paint-borderclj

(paint-border this context g x y w h)

Paints the border.

context - a component context - javax.swing.plaf.synth.SynthContext g - Graphics to paint on - java.awt.Graphics x - the X coordinate - int y - the Y coordinate - int w - width of the border - int h - height of the border - int

Paints the border.

context - a component context - `javax.swing.plaf.synth.SynthContext`
g - Graphics to paint on - `java.awt.Graphics`
x - the X coordinate - `int`
y - the Y coordinate - `int`
w - width of the border - `int`
h - height of the border - `int`
raw docstring

property-changeclj

(property-change this e)

This method gets called when a bound property is changed.

e - A PropertyChangeEvent object describing the event source and the property that has changed. - java.beans.PropertyChangeEvent

This method gets called when a bound property is changed.

e - A PropertyChangeEvent object describing the event source and the property that has changed. - `java.beans.PropertyChangeEvent`
raw docstring

updateclj

(update this g c)

Notifies this UI delegate to repaint the specified component. This method paints the component background, then calls the paint(SynthContext,Graphics) method.

In general, this method does not need to be overridden by subclasses. All Look and Feel rendering code should reside in the paint method.

g - the Graphics object used for painting - java.awt.Graphics c - the component being painted - javax.swing.JComponent

Notifies this UI delegate to repaint the specified component.
 This method paints the component background, then calls
 the paint(SynthContext,Graphics) method.

 In general, this method does not need to be overridden by subclasses.
 All Look and Feel rendering code should reside in the paint method.

g - the Graphics object used for painting - `java.awt.Graphics`
c - the component being painted - `javax.swing.JComponent`
raw docstring

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

× close