APIdia Launch Partner
Top Description Methods
javax.swing

public Interface Renderer

Imports
java.awt.Component

Defines the requirements for an object responsible for "rendering" (displaying) a value.
Author
Arnaud Weber
Since
1.2

Method Summary

Modifier and TypeMethod and Description
public Component

Returns:

the Component responsible for displaying the value
getComponent
()

Returns the component used to render the value.

public void
setValue(Object
an Object object
aValue
,
boolean
a boolean
isSelected
)

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

Method Detail

getComponentback to summary
public Component getComponent()

Returns the component used to render the value.

Returns:Component

the Component responsible for displaying the value

setValueback to summary
public 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:Object

an Object object

isSelected:boolean

a boolean