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

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.AmiChoiceOmpi

public class AmiChoiceOmpi
extends AmiChoice


Field Summary
 
Fields inherited from class com.norbl.cbp.ppe.gui.networkspec.Choice
ID, parentChoiceSet
 
Constructor Summary
AmiChoiceOmpi()
          Creates 'other'
AmiChoiceOmpi(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

AmiChoiceOmpi

public AmiChoiceOmpi(AmiPPE ami)

AmiChoiceOmpi

public AmiChoiceOmpi()
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