com.norbl.cbp.ppe.gui.networkspec
Class AmiChoiceU

java.lang.Object
  extended by com.norbl.cbp.ppe.gui.networkspec.Choice
      extended by com.norbl.cbp.ppe.gui.networkspec.AmiChoice
          extended by com.norbl.cbp.ppe.gui.networkspec.AmiChoiceU

public class AmiChoiceU
extends AmiChoice

In v 1.2, we are using back to a single ('unified') network spec gui. This version if AmiChoice supports ppe-ompi and cloudRmpi.


Field Summary
 
Fields inherited from class com.norbl.cbp.ppe.gui.networkspec.Choice
ID, parentChoiceSet
 
Constructor Summary
AmiChoiceU()
          Creates 'other'
AmiChoiceU(AmiPPE ami)
           
 
Method Summary
 java.lang.String getColumnName(int iCol)
          Default implementation: returns Choice.getLabel()
 double getColumnWeight(int iCol)
          Default implementation: returns 1.0
 int getGridBagAnchor(int iCol)
          Default implementation: returns GridBagConstraints.BASELINE_LEADING.
 java.awt.Insets getInsets(int iCol)
          Default implementation: all zeros.
 int getNColumns()
          Default implementation: returns 1.
 java.lang.String getToolTip()
           
 java.lang.Object getValue(int iCol)
          Default implementation: returns Choice.getValue()
 void setColumnHeaderToolTip(int iCol, javax.swing.JComponent c)
           
 
Methods inherited from class com.norbl.cbp.ppe.gui.networkspec.AmiChoice
createCC, equals, getChoiceType, getComponent, getLabel, getUnauthorizedToolTipMessage, getValue, usesHvm, usesParavirtual
 
Methods inherited from class com.norbl.cbp.ppe.gui.networkspec.Choice
getComponent, load, setEnabled, setID, setParentChoiceSet, setSelected
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AmiChoiceU

public AmiChoiceU(AmiPPE ami)

AmiChoiceU

public AmiChoiceU()
Creates 'other'

Method Detail

getNColumns

public int getNColumns()
Description copied from class: Choice
Default implementation: returns 1.

Specified by:
getNColumns in class AmiChoice
Returns:

getValue

public java.lang.Object getValue(int iCol)
Description copied from class: Choice
Default implementation: returns Choice.getValue()

Specified by:
getValue in class AmiChoice
Returns:

getColumnName

public java.lang.String getColumnName(int iCol)
Description copied from class: Choice
Default implementation: returns Choice.getLabel()

Specified by:
getColumnName in class AmiChoice
Returns:

getColumnWeight

public double getColumnWeight(int iCol)
Description copied from class: Choice
Default implementation: returns 1.0

Specified by:
getColumnWeight in class AmiChoice
Returns:

getGridBagAnchor

public int getGridBagAnchor(int iCol)
Description copied from class: Choice
Default implementation: returns GridBagConstraints.BASELINE_LEADING.

Specified by:
getGridBagAnchor in class AmiChoice
Returns:

getInsets

public java.awt.Insets getInsets(int iCol)
Description copied from class: Choice
Default implementation: all zeros.

Specified by:
getInsets in class AmiChoice
Returns:

setColumnHeaderToolTip

public void setColumnHeaderToolTip(int iCol,
                                   javax.swing.JComponent c)
Overrides:
setColumnHeaderToolTip in class Choice

getToolTip

public java.lang.String getToolTip()
Overrides:
getToolTip in class Choice