|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectppe.gui.networkspec.Choice
ppe.gui.networkspec.InstanceTypeChoice
public class InstanceTypeChoice
| Constructor Summary | |
|---|---|
InstanceTypeChoice(Ec2InstanceType instanceType)
|
|
| Method Summary | |
|---|---|
void |
createCC()
Creates a choice Component that can be added to a
JPanel. |
java.lang.String |
getChoiceType()
|
java.lang.String |
getColumnName(int iCol)
Default implementation: returns Choice.getLabel() |
double |
getColumnWeight(int iCol)
Default implementation: returns 1.0 |
javax.swing.JComponent |
getComponent(int iCol)
Default implementation: returns ChoiceComponent.getComponent() |
int |
getGridBagAnchor(int iCol)
Default implementation: returns GridBagConstraints.BASELINE_LEADING. |
java.awt.Insets |
getInsets(int iCol)
Default implementation: all zeros. |
java.lang.String |
getLabel()
|
int |
getNColumns()
Default implementation: returns 1. |
java.lang.String |
getToolTip()
|
java.lang.Object |
getValue()
|
java.lang.Object |
getValue(int iCol)
Default implementation: returns Choice.getValue() |
| Methods inherited from class ppe.gui.networkspec.Choice |
|---|
getComponent, load, setEnabled, setSelected |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InstanceTypeChoice(Ec2InstanceType instanceType)
| Method Detail |
|---|
public java.lang.String getChoiceType()
getChoiceType in class Choicepublic java.lang.Object getValue()
getValue in class Choicepublic java.lang.String getLabel()
getLabel in class Choicepublic void createCC()
ChoiceComponent 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 Choicepublic int getNColumns()
Choice
getNColumns in class Choicepublic java.lang.String getColumnName(int iCol)
ChoiceChoice.getLabel()
getColumnName in class Choicepublic java.lang.Object getValue(int iCol)
ChoiceChoice.getValue()
getValue in class Choicepublic javax.swing.JComponent getComponent(int iCol)
ChoiceChoiceComponent.getComponent()
getComponent in class Choicepublic double getColumnWeight(int iCol)
Choice
getColumnWeight in class Choicepublic int getGridBagAnchor(int iCol)
Choice
getGridBagAnchor in class Choicepublic java.awt.Insets getInsets(int iCol)
Choice
getInsets in class Choicepublic java.lang.String getToolTip()
getToolTip in class Choice
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||