|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.norbl.cbp.ppe.gui.networkspec.Choice
com.norbl.cbp.ppe.gui.networkspec.AmiChoice
public abstract class AmiChoice
Field Summary |
---|
Fields inherited from class com.norbl.cbp.ppe.gui.networkspec.Choice |
---|
ID, parentChoiceSet |
Constructor Summary | |
---|---|
AmiChoice()
Creates 'other' |
|
AmiChoice(AmiPPE ami)
|
Method Summary | |
---|---|
void |
createCC()
Creates a choice Component that can be added to a
JPanel . |
boolean |
equals(java.lang.Object other)
|
java.lang.String |
getChoiceType()
|
abstract java.lang.String |
getColumnName(int iCol)
Default implementation: returns Choice.getLabel() |
abstract double |
getColumnWeight(int iCol)
Default implementation: returns 1.0 |
javax.swing.JComponent |
getComponent(int iCol)
Default implementation: returns ChoiceComponent.getComponent() |
abstract int |
getGridBagAnchor(int iCol)
Default implementation: returns GridBagConstraints.BASELINE_LEADING. |
abstract java.awt.Insets |
getInsets(int iCol)
Default implementation: all zeros. |
java.lang.String |
getLabel()
|
abstract int |
getNColumns()
Default implementation: returns 1. |
protected java.lang.String |
getUnauthorizedToolTipMessage()
|
java.lang.Object |
getValue()
|
abstract java.lang.Object |
getValue(int iCol)
Default implementation: returns Choice.getValue() |
boolean |
usesHvm()
|
boolean |
usesParavirtual()
|
Methods inherited from class com.norbl.cbp.ppe.gui.networkspec.Choice |
---|
getComponent, getToolTip, load, setColumnHeaderToolTip, setEnabled, setID, setParentChoiceSet, setSelected |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AmiChoice(AmiPPE ami)
public AmiChoice()
Method Detail |
---|
public java.lang.String getChoiceType()
getChoiceType
in class Choice
public java.lang.Object getValue()
getValue
in class Choice
public java.lang.String getLabel()
getLabel
in class Choice
public void createCC()
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.
createCC
in class Choice
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public boolean usesParavirtual()
public boolean usesHvm()
public abstract int getNColumns()
Choice
getNColumns
in class Choice
public abstract java.lang.Object getValue(int iCol)
Choice
Choice.getValue()
getValue
in class Choice
public abstract java.lang.String getColumnName(int iCol)
Choice
Choice.getLabel()
getColumnName
in class Choice
public abstract double getColumnWeight(int iCol)
Choice
getColumnWeight
in class Choice
public abstract int getGridBagAnchor(int iCol)
Choice
getGridBagAnchor
in class Choice
public abstract java.awt.Insets getInsets(int iCol)
Choice
getInsets
in class Choice
public javax.swing.JComponent getComponent(int iCol)
Choice
ChoiceComponent.getComponent()
getComponent
in class Choice
protected java.lang.String getUnauthorizedToolTipMessage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |