us.zuercher.gpx2map.gui
Class FontSizeComboBoxModel.FontSizeChoice

java.lang.Object
  extended by us.zuercher.gpx2map.gui.FontSizeComboBoxModel.FontSizeChoice
Enclosing class:
FontSizeComboBoxModel

public static class FontSizeComboBoxModel.FontSizeChoice
extends Object

FontChoice represents a choice in the font size selection combo box.


Field Summary
private  float fontSize
          Actual font size.
private  String fontSizeName
          Font size name.
 
Constructor Summary
private FontSizeComboBoxModel.FontSizeChoice(String name, float size)
          Constructs a new FontSizeChoice.
 
Method Summary
 float getFontSize()
          Returns the font size.
 String toString()
          Returns the font size name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

fontSizeName

private final String fontSizeName
Font size name.


fontSize

private final float fontSize
Actual font size.

Constructor Detail

FontSizeComboBoxModel.FontSizeChoice

private FontSizeComboBoxModel.FontSizeChoice(String name,
                                             float size)
Constructs a new FontSizeChoice.

Parameters:
name - font size name
size - font size
Method Detail

getFontSize

public float getFontSize()
Returns the font size.

Returns:
the font size.

toString

public String toString()
Returns the font size name.

Overrides:
toString in class Object
Returns:
the font size name.