Class JDialogMipavOptions.FontBoxRenderer

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JLabel
gov.nih.mipav.view.dialogs.JDialogMipavOptions.FontBoxRenderer
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ListCellRenderer, SwingConstants
Enclosing class:
JDialogMipavOptions

class JDialogMipavOptions.FontBoxRenderer extends JLabel implements ListCellRenderer
DOCUMENT ME!
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Use serialVersionUID for interoperability.
      See Also:
  • Constructor Details

    • FontBoxRenderer

      public FontBoxRenderer()
      Creates a new FontBoxRenderer object.
  • Method Details

    • getListCellRendererComponent

      public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)
      This method finds the image and text corresponding to the selected value and returns the label, set up to display the text and image.
      Specified by:
      getListCellRendererComponent in interface ListCellRenderer
      Parameters:
      list - DOCUMENT ME!
      value - DOCUMENT ME!
      index - DOCUMENT ME!
      isSelected - DOCUMENT ME!
      cellHasFocus - DOCUMENT ME!
      Returns:
      DOCUMENT ME!