|
||||||||||
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 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 int getNColumns()
Choice
getNColumns
in class Choice
public java.lang.String getColumnName(int iCol)
Choice
Choice.getLabel()
getColumnName
in class Choice
public java.lang.Object getValue(int iCol)
Choice
Choice.getValue()
getValue
in class Choice
public javax.swing.JComponent getComponent(int iCol)
Choice
ChoiceComponent.getComponent()
getComponent
in class Choice
public double getColumnWeight(int iCol)
Choice
getColumnWeight
in class Choice
public int getGridBagAnchor(int iCol)
Choice
getGridBagAnchor
in class Choice
public java.awt.Insets getInsets(int iCol)
Choice
getInsets
in class Choice
public java.lang.String getToolTip()
getToolTip
in class Choice
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |