ppe.gui.networkspec
Interface ChoiceComponent
- All Known Implementing Classes:
- LabeledTextFieldCC, OtherCC, RadioButtonCC, SpotPriceCC
public interface ChoiceComponent
A JComponent used to specify a choice. Every Choice
creates an appropriate ChoiceComponent
but a Choicce
can supply other information as well (such as a description).
BUTTON_SIZE
static final java.awt.Dimension BUTTON_SIZE
CHOICE_FONT
static final java.awt.Font CHOICE_FONT
CHOICE_FONT_BOLD
static final java.awt.Font CHOICE_FONT_BOLD
TEXT_FIELD_SIZE
static final java.awt.Dimension TEXT_FIELD_SIZE
setEnabled
void setEnabled(boolean enabled)
setSelected
void setSelected(boolean selected)
getRadioButton
javax.swing.JRadioButton getRadioButton()
addActionListener
void addActionListener(java.awt.event.ActionListener actionListener)
setActionCommand
void setActionCommand(java.lang.String cmd)
getComponent
javax.swing.JComponent getComponent()
isSelected
boolean isSelected()