/[classpath]/classpath/javax/swing/DefaultListCellRenderer.java
ViewVC logotype

Diff of /classpath/javax/swing/DefaultListCellRenderer.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.9 by mark, Sat Jul 2 20:32:47 2005 UTC revision 1.10 by rabbit78, Wed Jul 27 12:41:33 2005 UTC
# Line 46  import javax.swing.border.Border; Line 46  import javax.swing.border.Border;
46  import javax.swing.border.EmptyBorder;  import javax.swing.border.EmptyBorder;
47    
48  /**  /**
49   * DefaultListCellRenderer. This class is responsible for rendering  list   * The default implementation {@link ListCellRenderer}. It provides a standard
50   * cells.   * renderer for data objects of all types via {@link Object#toString()}.
51   *   *
52   * @author Andrew Selkirk   * @author Andrew Selkirk
  * @version 1.0  
53   */   */
54  public class DefaultListCellRenderer extends JLabel  public class DefaultListCellRenderer extends JLabel
55    implements ListCellRenderer, Serializable    implements ListCellRenderer, Serializable
56  {  {
57    private static final long serialVersionUID = 7708947179685189462L;    private static final long serialVersionUID = 7708947179685189462L;
58    
59      /**
60       * Subclasses <code>DefaultListCellRenderers</code> and implements
61       * {@link javax.swing.plaf.UIResource}. This is used by
62       * {@link javax.swing.plaf.ListUI} subclasses to provide a default for
63       * the <code>List.cellRenderer</code> property. If you want to override
64       * this property, use <code>DefaultListCellRenderer</code> or a subclass.
65       */
66    public static class UIResource extends DefaultListCellRenderer    public static class UIResource extends DefaultListCellRenderer
67      implements javax.swing.plaf.UIResource      implements javax.swing.plaf.UIResource
68    {    {

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26