ui.renderer
Class LineIcon

java.lang.Object
  extended by ui.renderer.LineIcon

public class LineIcon
extends Object


Field Summary
protected  Icon absorptionIcon
           
protected  Icon emissionIcon
           
protected  float startWavelength
           
 
Constructor Summary
LineIcon(float aStartWavelength, String anIconName)
           
 
Method Summary
 Icon getIcon(boolean emission)
           
protected static Icon getIcon(float wavelength, boolean emission)
           
static ImageIcon getImageIcon(String fileName)
           
 float getStartWavelength()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

startWavelength

protected float startWavelength

absorptionIcon

protected Icon absorptionIcon

emissionIcon

protected Icon emissionIcon
Constructor Detail

LineIcon

public LineIcon(float aStartWavelength,
                String anIconName)
Method Detail

getStartWavelength

public float getStartWavelength()

getIcon

public Icon getIcon(boolean emission)

getIcon

protected static Icon getIcon(float wavelength,
                              boolean emission)

getImageIcon

public static ImageIcon getImageIcon(String fileName)