Liking cljdoc? Tell your friends :D

javax.swing.plaf.synth.SynthSeparatorUI

Provides the Synth L&F UI delegate for JSeparator.

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

*create-uiclj

(*create-ui c)

Creates a new UI object for the given component.

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

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

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

->synth-separator-uiclj

(->synth-separator-ui)

Constructor.

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

(get-maximum-size this c)

Returns the specified component's maximum size appropriate for the look and feel. If null is returned, the maximum 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 invokes getPreferredSize and returns that value.

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

Returns the specified component's maximum size appropriate for
 the look and feel.  If null is returned, the maximum
 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 invokes getPreferredSize and returns that value.

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-sizeclj

(get-minimum-size this c)

Returns the specified component's minimum size appropriate for the look and feel. If null is returned, the minimum 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 invokes getPreferredSize and returns that value.

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

Returns the specified component's minimum size appropriate for
 the look and feel.  If null is returned, the minimum
 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 invokes getPreferredSize and returns that value.

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

install-defaultsclj

(install-defaults this c)

Installs default setting. This method is called when a LookAndFeel is installed.

c - javax.swing.JSeparator

Installs default setting. This method is called when a
 LookAndFeel is installed.

c - `javax.swing.JSeparator`
raw docstring

install-listenersclj

(install-listeners this c)

Installs listeners. This method is called when a LookAndFeel is installed.

c - javax.swing.JSeparator

Installs listeners. This method is called when a
 LookAndFeel is installed.

c - `javax.swing.JSeparator`
raw docstring

install-uiclj

(install-ui this c)

Configures the specified component appropriately for the look and feel. This method is invoked when the ComponentUI instance is being installed as the UI delegate on the specified component. This method should completely configure the component for the look and feel, including the following:

Install default property values for color, fonts, borders, icons, opacity, etc. on the component. Whenever possible, property values initialized by the client program should not be overridden. Install a LayoutManager on the component if necessary. Create/add any required sub-components to the component. Create/install event listeners on the component. Create/install a PropertyChangeListener on the component in order to detect and respond to component property changes appropriately. Install keyboard UI (mnemonics, traversal, etc.) on the component. Initialize any appropriate instance data.

c - the component where this UI delegate is being installed - javax.swing.JComponent

Configures the specified component appropriately for the look and feel.
 This method is invoked when the ComponentUI instance is being installed
 as the UI delegate on the specified component.  This method should
 completely configure the component for the look and feel,
 including the following:

 Install default property values for color, fonts, borders,
     icons, opacity, etc. on the component.  Whenever possible,
     property values initialized by the client program should not
     be overridden.
 Install a LayoutManager on the component if necessary.
 Create/add any required sub-components to the component.
 Create/install event listeners on the component.
 Create/install a PropertyChangeListener on the component in order
     to detect and respond to component property changes appropriately.
 Install keyboard UI (mnemonics, traversal, etc.) on the component.
 Initialize any appropriate instance data.

c - the component where this UI delegate is being installed - `javax.swing.JComponent`
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 evt)

Description copied from interface: PropertyChangeListener

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

Description copied from interface: PropertyChangeListener

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

uninstall-defaultsclj

(uninstall-defaults this c)

Uninstalls default setting. This method is called when a LookAndFeel is uninstalled.

c - javax.swing.JSeparator

Uninstalls default setting. This method is called when a
 LookAndFeel is uninstalled.

c - `javax.swing.JSeparator`
raw docstring

uninstall-listenersclj

(uninstall-listeners this c)

Uninstalls listeners. This method is called when a LookAndFeel is uninstalled.

c - javax.swing.JSeparator

Uninstalls listeners. This method is called when a
 LookAndFeel is uninstalled.

c - `javax.swing.JSeparator`
raw docstring

uninstall-uiclj

(uninstall-ui this c)

Reverses configuration which was done on the specified component during installUI. This method is invoked when this UIComponent instance is being removed as the UI delegate for the specified component. This method should undo the configuration performed in installUI, being careful to leave the JComponent instance in a clean state (no extraneous listeners, look-and-feel-specific property objects, etc.). This should include the following:

Remove any UI-set borders from the component. Remove any UI-set layout managers on the component. Remove any UI-added sub-components from the component. Remove any UI-added event/property listeners from the component. Remove any UI-installed keyboard UI from the component. Nullify any allocated instance data objects to allow for GC.

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

Reverses configuration which was done on the specified component during
 installUI.  This method is invoked when this
 UIComponent instance is being removed as the UI delegate
 for the specified component.  This method should undo the
 configuration performed in installUI, being careful to
 leave the JComponent instance in a clean state (no
 extraneous listeners, look-and-feel-specific property objects, etc.).
 This should include the following:

 Remove any UI-set borders from the component.
 Remove any UI-set layout managers on the component.
 Remove any UI-added sub-components from the component.
 Remove any UI-added event/property listeners from the component.
 Remove any UI-installed keyboard UI from the component.
 Nullify any allocated instance data objects to allow for GC.

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

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