public interface

Renderer

javax.swing.Renderer

Class Overview

Defines the requirements for an object responsible for "rendering" (displaying) a value.

Summary

Public Methods
abstract Component getComponent()
Returns the component used to render the value.
abstract void setValue(Object aValue, boolean isSelected)
Specifies the value to display and whether or not the value should be portrayed as "currently selected".

Public Methods

public abstract Component getComponent ()

Returns the component used to render the value.

Returns
  • the Component responsible for displaying the value

public abstract void setValue (Object aValue, boolean isSelected)

Specifies the value to display and whether or not the value should be portrayed as "currently selected".

Parameters
aValue an Object object
isSelected a boolean