public class

AssociationListCellRenderer

extends DefaultListCellRenderer
implements ListCellRenderer
java.lang.Object
   ↳ java.awt.Component
     ↳ java.awt.Container
       ↳ javax.swing.JComponent
         ↳ javax.swing.JLabel
           ↳ javax.swing.DefaultListCellRenderer
             ↳ vars.annotation.ui.roweditor.AssociationListCellRenderer

Class Overview

Allows a list of Associations to be displayed in a a single cell of a JTable

UML

                                   1
      [AssociationListCellRenderer]<--[TableCellRenderer4AssociationList]
 

Summary

[Expand]
Inherited Constants
From class javax.swing.JComponent
From class java.awt.Component
From interface java.awt.image.ImageObserver
From interface javax.swing.SwingConstants
[Expand]
Inherited Fields
From class javax.swing.DefaultListCellRenderer
From class javax.swing.JLabel
From class javax.swing.JComponent
Public Constructors
AssociationListCellRenderer()
Constructor for the AssociationListCellRenderer object
Public Methods
Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)
Gets the listCellRendererComponent attribute of the AssociationListCellRenderer object
Dimension getPreferredSize()
String getToolTipText()
[Expand]
Inherited Methods
From class javax.swing.DefaultListCellRenderer
From class javax.swing.JLabel
From class javax.swing.JComponent
From class java.awt.Container
From class java.awt.Component
From class java.lang.Object
From interface java.awt.MenuContainer
From interface java.awt.image.ImageObserver
From interface javax.accessibility.Accessible
From interface javax.swing.ListCellRenderer

Public Constructors

public AssociationListCellRenderer ()

Constructor for the AssociationListCellRenderer object

Public Methods

public Component getListCellRendererComponent (JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)

Gets the listCellRendererComponent attribute of the AssociationListCellRenderer object

Parameters
list Description of the Parameter
value Description of the Parameter
index Description of the Parameter
isSelected Description of the Parameter
cellHasFocus Description of the Parameter
Returns
  • The listCellRendererComponent value

public Dimension getPreferredSize ()

Returns
  • The preferredSize value

public String getToolTipText ()

Returns
  • The toolTipText value