Liking cljdoc? Tell your friends :D

javax.swing.DefaultListCellRenderer

Renders an item in a list.

Implementation Note: This class overrides invalidate, validate, revalidate, repaint, isOpaque, and firePropertyChange solely to improve performance. If not overridden, these frequently called methods would execute code paths that are unnecessary for the default list cell renderer. If you write your own renderer, take care to weigh the benefits and drawbacks of overriding these methods.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

Renders an item in a list.

Implementation Note:
This class overrides
invalidate,
validate,
revalidate,
repaint,
isOpaque,
and
firePropertyChange
solely to improve performance.
If not overridden, these frequently called methods would execute code paths
that are unnecessary for the default list cell renderer.
If you write your own renderer,
take care to weigh the benefits and
drawbacks of overriding these methods.



Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

->default-list-cell-rendererclj

(->default-list-cell-renderer)

Constructor.

Constructs a default renderer object for an item in a list.

Constructor.

Constructs a default renderer object for an item
 in a list.
raw docstring

fire-property-changeclj

(fire-property-change this property-name old-value new-value)

Overridden for performance reasons. See the Implementation Note for more information.

property-name - the programmatic name of the property that was changed - java.lang.String old-value - the old value of the property (as a byte) - byte new-value - the new value of the property (as a byte) - byte

Overridden for performance reasons.
 See the Implementation Note
 for more information.

property-name - the programmatic name of the property that was changed - `java.lang.String`
old-value - the old value of the property (as a byte) - `byte`
new-value - the new value of the property (as a byte) - `byte`
raw docstring

get-list-cell-renderer-componentclj

(get-list-cell-renderer-component this
                                  list
                                  value
                                  index
                                  is-selected
                                  cell-has-focus)

Description copied from interface: ListCellRenderer

list - The JList we're painting. - javax.swing.JList value - The value returned by list.getModel().getElementAt(index). - java.lang.Object index - The cells index. - int is-selected - True if the specified cell was selected. - boolean cell-has-focus - True if the specified cell has the focus. - boolean

returns: A component whose paint() method will render the specified value. - java.awt.Component

Description copied from interface: ListCellRenderer

list - The JList we're painting. - `javax.swing.JList`
value - The value returned by list.getModel().getElementAt(index). - `java.lang.Object`
index - The cells index. - `int`
is-selected - True if the specified cell was selected. - `boolean`
cell-has-focus - True if the specified cell has the focus. - `boolean`

returns: A component whose paint() method will render the specified value. - `java.awt.Component`
raw docstring

invalidateclj

(invalidate this)

Overridden for performance reasons. See the Implementation Note for more information.

Overridden for performance reasons.
See the Implementation Note
for more information.
raw docstring

opaque?clj

(opaque? this)

Overridden for performance reasons. See the Implementation Note for more information.

returns: true if the background is completely opaque and differs from the JList's background; false otherwise - boolean

Overridden for performance reasons.
 See the Implementation Note
 for more information.

returns: true if the background is completely opaque
         and differs from the JList's background;
         false otherwise - `boolean`
raw docstring

repaintclj

(repaint this)
(repaint this r)
(repaint this tm x y width height)

Overridden for performance reasons. See the Implementation Note for more information.

tm - this parameter is not used - long x - the x value of the dirty region - int y - the y value of the dirty region - int width - the width of the dirty region - int height - the height of the dirty region - int

Overridden for performance reasons.
 See the Implementation Note
 for more information.

tm - this parameter is not used - `long`
x - the x value of the dirty region - `int`
y - the y value of the dirty region - `int`
width - the width of the dirty region - `int`
height - the height of the dirty region - `int`
raw docstring

revalidateclj

(revalidate this)

Overridden for performance reasons. See the Implementation Note for more information.

Overridden for performance reasons.
See the Implementation Note
for more information.
raw docstring

validateclj

(validate this)

Overridden for performance reasons. See the Implementation Note for more information.

Overridden for performance reasons.
See the Implementation Note
for more information.
raw docstring

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

× close