ppe.gui.networkspec
Class SlotsPerHostChoice

java.lang.Object
  extended by ppe.gui.networkspec.Choice
      extended by ppe.gui.networkspec.SlotsPerHostChoice

public class SlotsPerHostChoice
extends Choice


Constructor Summary
SlotsPerHostChoice()
           
SlotsPerHostChoice(int nSlots)
           
 
Method Summary
 void createCC()
          Creates a choice Component that can be added to a JPanel.
 java.lang.String getChoiceType()
           
 java.lang.String getLabel()
           
 int getNSlots()
           
 java.lang.Object getValue()
           
 void setNSlots(int nSlots)
           
 
Methods inherited from class ppe.gui.networkspec.Choice
getColumnName, getColumnWeight, getComponent, getComponent, getGridBagAnchor, getInsets, getNColumns, getToolTip, getValue, load, setEnabled, setSelected
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SlotsPerHostChoice

public SlotsPerHostChoice(int nSlots)

SlotsPerHostChoice

public SlotsPerHostChoice()
Method Detail

createCC

public void createCC()
Description copied from class: Choice
Creates a choice Component that can be added to a JPanel. If the component is itself a JPanel, its components are created but not loaded. That's the responsibility of the Choice.load() method.

Specified by:
createCC in class Choice

getValue

public java.lang.Object getValue()
Specified by:
getValue in class Choice

getNSlots

public int getNSlots()

getLabel

public java.lang.String getLabel()
Specified by:
getLabel in class Choice

getChoiceType

public java.lang.String getChoiceType()
Specified by:
getChoiceType in class Choice

setNSlots

public void setNSlots(int nSlots)