Class MonthComponent

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JComboBox<org.nuiton.util.MonthEnum>
fr.ifremer.isisfish.ui.widget.editor.MonthComponent
All Implemented Interfaces:
ActionListener, ImageObserver, ItemSelectable, MenuContainer, Serializable, EventListener, Accessible, ListDataListener

public class MonthComponent extends JComboBox<org.nuiton.util.MonthEnum>
Subclass JComboBox to get a typed ComboBox. Usefull when editing factors.
Version:
$Revision$ Last update : $Date$ By : $Author$
Author:
chatellier
See Also:
  • Constructor Details

    • MonthComponent

      public MonthComponent(org.nuiton.util.MonthEnum[] values)
  • Method Details

    • createMounthCombo

      public static MonthComponent createMounthCombo(int mounth)
    • getSelectedValue

      public int getSelectedValue()