uk.ac.starlink.topcat
Class ClassComboBoxRenderer

java.lang.Object
  extended by uk.ac.starlink.util.gui.CustomComboBoxRenderer<Class>
      extended by uk.ac.starlink.topcat.ClassComboBoxRenderer
All Implemented Interfaces:
ListCellRenderer

public class ClassComboBoxRenderer
extends uk.ac.starlink.util.gui.CustomComboBoxRenderer<Class>

Custom combo box renderer for rendering Class objects.

Since:
17 Aug 2004
Author:
Mark Taylor (Starlink)

Constructor Summary
ClassComboBoxRenderer(String nullTxt)
          Constructs a renderer with a given null representation.
 
Method Summary
protected  String mapValue(Class clazz)
           
 
Methods inherited from class uk.ac.starlink.util.gui.CustomComboBoxRenderer
getListCellRendererComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassComboBoxRenderer

public ClassComboBoxRenderer(String nullTxt)
Constructs a renderer with a given null representation.

Parameters:
nullTxt - representation of a null class
Method Detail

mapValue

protected String mapValue(Class clazz)
Overrides:
mapValue in class uk.ac.starlink.util.gui.CustomComboBoxRenderer<Class>


Copyright © 2003-2019 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.