Package mgui.util

Class OptionList

java.lang.Object
mgui.util.OptionList

public class OptionList
extends java.lang.Object
  • Field Summary

    Fields
    Modifier and Type Field Description
    java.lang.String current  
    java.util.HashMap<java.lang.String,​java.lang.Object> options  
  • Constructor Summary

    Constructors
    Constructor Description
    OptionList()  
  • Method Summary

    Modifier and Type Method Description
    void add​(java.lang.String str, java.lang.Object obj)  
    java.lang.Object get​(java.lang.String str)  
    java.lang.Object getCurrent()  
    void remove​(java.lang.String str)  
    void setCombo​(javax.swing.JComboBox combo)  
    void setCurrent​(java.lang.String s)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • options

      public java.util.HashMap<java.lang.String,​java.lang.Object> options
    • current

      public java.lang.String current
  • Constructor Details

    • OptionList

      public OptionList()
  • Method Details

    • setCombo

      public void setCombo​(javax.swing.JComboBox combo)
    • add

      public void add​(java.lang.String str, java.lang.Object obj)
    • remove

      public void remove​(java.lang.String str)
    • get

      public java.lang.Object get​(java.lang.String str)
    • setCurrent

      public void setCurrent​(java.lang.String s)
    • getCurrent

      public java.lang.Object getCurrent()