us.zuercher.gpx2map.gui
Class MarkerStyleComboBoxModel

java.lang.Object
  extended by javax.swing.AbstractListModel
      extended by javax.swing.DefaultComboBoxModel
          extended by us.zuercher.gpx2map.gui.MarkerStyleComboBoxModel
All Implemented Interfaces:
Serializable, ComboBoxModel, ListModel, MutableComboBoxModel

public class MarkerStyleComboBoxModel
extends DefaultComboBoxModel

MarkerStyleComboBoxModel defines the choices available in the marker style combo boxes of the Gpx2Map GUI.

Author:
Stephan Zuercher
See Also:
Serialized Form

Nested Class Summary
static class MarkerStyleComboBoxModel.BasicStyleChoice
          BasicStyleChoice represents a choice of one of the basic Styles.
static class MarkerStyleComboBoxModel.FileStyleChoice
          StyleChoice represents a choice of MarkerStyle.
static interface MarkerStyleComboBoxModel.StyleChoice
          StyleChoice represents a choice of MarkerStyle.
 
Field Summary
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
MarkerStyleComboBoxModel()
          Constructs a new MarkerStyleComboBoxModel with the available StyleChoices.
 
Method Summary
private static Object[] getMarkerStyles()
           
 
Methods inherited from class javax.swing.DefaultComboBoxModel
addElement, getElementAt, getIndexOf, getSelectedItem, getSize, insertElementAt, removeAllElements, removeElement, removeElementAt, setSelectedItem
 
Methods inherited from class javax.swing.AbstractListModel
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.swing.ListModel
addListDataListener, removeListDataListener
 

Constructor Detail

MarkerStyleComboBoxModel

public MarkerStyleComboBoxModel()
Constructs a new MarkerStyleComboBoxModel with the available StyleChoices.

Method Detail

getMarkerStyles

private static Object[] getMarkerStyles()