Package org.opentrafficsim.demo
Class NetworksSwing.InputFieldSelectionMapRadio<K,T> 
java.lang.Object
nl.tudelft.simulation.dsol.swing.gui.inputparameters.AbstractInputField
org.opentrafficsim.demo.NetworksSwing.InputFieldSelectionMapRadio<K,T> 
- Type Parameters:
 K- key of the selection mapT- return type of the selection map
- All Implemented Interfaces:
 nl.tudelft.simulation.dsol.swing.gui.inputparameters.InputField
- Enclosing class:
 - NetworksSwing
 
public static class NetworksSwing.InputFieldSelectionMapRadio<K,T> 
extends nl.tudelft.simulation.dsol.swing.gui.inputparameters.AbstractInputField
Radio button selection map.
- 
Field Summary
Fields inherited from class nl.tudelft.simulation.dsol.swing.gui.inputparameters.AbstractInputField
key, parameter - 
Constructor Summary
ConstructorsConstructorDescriptionInputFieldSelectionMapRadio(JPanel panel, nl.tudelft.simulation.dsol.model.inputparameters.InputParameterSelectionMap<K, T> parameter) Create a string field on the screen. - 
Method Summary
Methods inherited from class nl.tudelft.simulation.dsol.swing.gui.inputparameters.AbstractInputField
getKey 
- 
Constructor Details
- 
InputFieldSelectionMapRadio
public InputFieldSelectionMapRadio(JPanel panel, nl.tudelft.simulation.dsol.model.inputparameters.InputParameterSelectionMap<K, T> parameter) Create a string field on the screen.- Parameters:
 panel- JPanel; panel to add the field toparameter- InputParameterSelectionMap<K,T>; the parameter
 
 - 
 - 
Method Details
- 
getParameter
public nl.tudelft.simulation.dsol.model.inputparameters.InputParameterSelectionMap<K,T> getParameter()- Specified by:
 getParameterin interfacenl.tudelft.simulation.dsol.swing.gui.inputparameters.InputField- Overrides:
 getParameterin classnl.tudelft.simulation.dsol.swing.gui.inputparameters.AbstractInputField
 - 
getValue
- Returns:
 - the mapped value of the field in the gui, selected by the key's toString() value.
 
 
 -