Public Member Functions | |
void | actionPerformed (ActionEvent event) |
Behaviour | getBehaviour () |
Static Public Member Functions | |
static Behaviour | showBehaviourDialog (Component parent) |
Private Member Functions | |
BehaviourDialog (Frame owner) | |
Private Attributes | |
JButton | cancel |
JButton | ok |
Behaviour | behaviour |
SpinnerNumberModel | model |
JSpinner | spinner |
JComboBox | combobox |
Static Private Attributes | |
static final String[] | BEHAVIOURS |
tit.gui.widget.BehaviourDialog.BehaviourDialog | ( | Frame | owner | ) | [private] |
Constructs a new CSVIODialog. is private to prevent instanciation, use this component by using the showCSVOptionsDialog()
-method.
owner | This dialog's owner. |
void tit.gui.widget.BehaviourDialog.actionPerformed | ( | ActionEvent | event | ) |
Handles ActionEvent
s.
event | The associated ActionEvent . |
Behaviour tit.gui.widget.BehaviourDialog.getBehaviour | ( | ) |
Returns the selected options.
static Behaviour tit.gui.widget.BehaviourDialog.showBehaviourDialog | ( | Component | parent | ) | [static] |
Shows a CSVOptionsDialog
.
parent | This dialog's parent. |
null
if the cancel button was clicked.
final String [] tit.gui.widget.BehaviourDialog.BEHAVIOURS [static, private] |
Initial value:
{ Fly.NAME, Hop.NAME, Preen.NAME, Billwipe.NAME, Boink.NAME, PeckRing.NAME, Tree1.NAME, Tree2.NAME, Tree3.NAME, Tree4.NAME, Tree5.NAME, Wall1.NAME, Wall2.NAME, Wall3.NAME, Wall4.NAME, Floor.NAME, DoorOrWindow.NAME, OtherLocation.NAME }
JButton tit.gui.widget.BehaviourDialog.cancel [private] |
The cancel-button.
JButton tit.gui.widget.BehaviourDialog.ok [private] |
The ok-button.
The behaviour.
SpinnerNumberModel tit.gui.widget.BehaviourDialog.model [private] |
The time model.
JSpinner tit.gui.widget.BehaviourDialog.spinner [private] |
The time spinner.
JComboBox tit.gui.widget.BehaviourDialog.combobox [private] |
The behaviour combo-box.