IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
 
[Sommaire]  [Top 50]  [F.A.Q.]  [ Java SE ]  [ Java EE ]  [Javadoc standard]  [Contact]
[ 1.4.2 ]  [ 5.0 ]  [ 6.0
Rechercher   
Dans
Options   sensible à la casse
étendre la recherche aux descriptions
Préférences
fr en 
 
Moteurs de recherche
JavaTM 2 Platform Std. Ed. v1.6.0

javax.swing
Interface Renderer


public interface Renderer

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


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

Method Detail

setValue

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

getComponent

Component getComponent()
Returns the component used to render the value.

Returns:
the Component responsible for displaying the value

Copyright 2003 Sun Microsystems, Inc. All rights reserved