Public Member Functions | |
void | exit () |
String | getCommand () |
String | getCurrentMenuItem () |
boolean | isAllDone () |
boolean | isIdle () |
boolean | isWaiting () |
MenuDialog (String[][] src, PythonInterpreter interpreter, String message, StyledTextWriter writer) | |
void | setContinuous (boolean b) |
void | setMessage (String message) |
void | showDialog (Frame owner, String title, boolean modal) |
void | showMessage (String msg) |
Static Public Member Functions | |
static MenuDialog | getCurrentMenuDialog () |
Package Functions | |
void | setReadyToNext () |
Package Attributes | |
JPanel | jpanel_globalMenu = null |
Private Member Functions | |
JButton | addButton (JPanel pnl, final String name, final String com, final boolean goNext) |
JPanel | getGlobalMenuPanel () |
JCheckBox | getJCheckBoxContinuous () |
JCheckBox | getJCheckBoxSequential () |
JTextArea | getJTextArea () |
JPanel | getLocalMenuPanel () |
JButton | getNextButton () |
JButton | getPreviousButton () |
void | initialize () |
String[] | parseCommand (String com) |
void | refresh () |
void | showGlobalMenu () |
void | showLocalMenu () |
Static Private Member Functions | |
static void | _clearTextComponentRecursive (Container container) |
static void | _setTabSelected (Component c) |
Private Attributes | |
String | command_ = null |
List< JTextField > | currentFields_ = new ArrayList<JTextField>() |
int | currentStage_ = 0 |
JDialog | dialog_ = null |
HashMap< String, String > | exceptMap = new HashMap<String, String>() |
PythonInterpreter | interpreter_ |
boolean | isWaiting_ = false |
JButton | jButton_next = null |
JButton | jButton_previous = null |
JCheckBox | jCheckBoxContinuous = null |
JCheckBox | jCheckBoxSequential = null |
JLabel | jLabel = null |
JPanel | jPanel_localMenu = null |
JTextArea | jTextArea = null |
String[][] | menu_ |
String | message_ |
int | showingStage_ = 0 |
StyledTextWriter | writer_ |
Static Private Attributes | |
static MenuDialog | currentMenuPanel_ = null |
static final SimpleDateFormat | dateFormat_ = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss") |
static final String | QUITBUTTON_TITLE = "Quit" |
Dialog with buttons that is be able to set jython funtion
Definition at line 62 of file MenuDialog.java.
com.generalrobotix.ui.view.MenuDialog.MenuDialog | ( | String | src[][], |
PythonInterpreter | interpreter, | ||
String | message, | ||
StyledTextWriter | writer | ||
) | [inline] |
Definition at line 89 of file MenuDialog.java.
static void com.generalrobotix.ui.view.MenuDialog._clearTextComponentRecursive | ( | Container | container | ) | [inline, static, private] |
Definition at line 422 of file MenuDialog.java.
static void com.generalrobotix.ui.view.MenuDialog._setTabSelected | ( | Component | c | ) | [inline, static, private] |
Definition at line 433 of file MenuDialog.java.
JButton com.generalrobotix.ui.view.MenuDialog.addButton | ( | JPanel | pnl, |
final String | name, | ||
final String | com, | ||
final boolean | goNext | ||
) | [inline, private] |
Definition at line 317 of file MenuDialog.java.
void com.generalrobotix.ui.view.MenuDialog.exit | ( | ) | [inline] |
Definition at line 520 of file MenuDialog.java.
String com.generalrobotix.ui.view.MenuDialog.getCommand | ( | ) | [inline] |
Definition at line 472 of file MenuDialog.java.
static MenuDialog com.generalrobotix.ui.view.MenuDialog.getCurrentMenuDialog | ( | ) | [inline, static] |
Definition at line 475 of file MenuDialog.java.
String com.generalrobotix.ui.view.MenuDialog.getCurrentMenuItem | ( | ) | [inline] |
Definition at line 478 of file MenuDialog.java.
JPanel com.generalrobotix.ui.view.MenuDialog.getGlobalMenuPanel | ( | ) | [inline, private] |
Definition at line 197 of file MenuDialog.java.
JCheckBox com.generalrobotix.ui.view.MenuDialog.getJCheckBoxContinuous | ( | ) | [inline, private] |
Definition at line 310 of file MenuDialog.java.
JCheckBox com.generalrobotix.ui.view.MenuDialog.getJCheckBoxSequential | ( | ) | [inline, private] |
Definition at line 289 of file MenuDialog.java.
JTextArea com.generalrobotix.ui.view.MenuDialog.getJTextArea | ( | ) | [inline, private] |
Definition at line 414 of file MenuDialog.java.
JPanel com.generalrobotix.ui.view.MenuDialog.getLocalMenuPanel | ( | ) | [inline, private] |
Definition at line 256 of file MenuDialog.java.
JButton com.generalrobotix.ui.view.MenuDialog.getNextButton | ( | ) | [inline, private] |
Definition at line 276 of file MenuDialog.java.
JButton com.generalrobotix.ui.view.MenuDialog.getPreviousButton | ( | ) | [inline, private] |
Definition at line 263 of file MenuDialog.java.
void com.generalrobotix.ui.view.MenuDialog.initialize | ( | ) | [inline, private] |
Definition at line 96 of file MenuDialog.java.
boolean com.generalrobotix.ui.view.MenuDialog.isAllDone | ( | ) | [inline] |
Definition at line 486 of file MenuDialog.java.
boolean com.generalrobotix.ui.view.MenuDialog.isIdle | ( | ) | [inline] |
Definition at line 469 of file MenuDialog.java.
boolean com.generalrobotix.ui.view.MenuDialog.isWaiting | ( | ) | [inline] |
Definition at line 466 of file MenuDialog.java.
String [] com.generalrobotix.ui.view.MenuDialog.parseCommand | ( | String | com | ) | [inline, private] |
Definition at line 397 of file MenuDialog.java.
void com.generalrobotix.ui.view.MenuDialog.refresh | ( | ) | [inline, private] |
Definition at line 458 of file MenuDialog.java.
void com.generalrobotix.ui.view.MenuDialog.setContinuous | ( | boolean | b | ) | [inline] |
Definition at line 517 of file MenuDialog.java.
void com.generalrobotix.ui.view.MenuDialog.setMessage | ( | String | message | ) | [inline] |
Definition at line 513 of file MenuDialog.java.
void com.generalrobotix.ui.view.MenuDialog.setReadyToNext | ( | ) | [inline, package] |
Definition at line 131 of file MenuDialog.java.
void com.generalrobotix.ui.view.MenuDialog.showDialog | ( | Frame | owner, |
String | title, | ||
boolean | modal | ||
) | [inline] |
Definition at line 446 of file MenuDialog.java.
void com.generalrobotix.ui.view.MenuDialog.showGlobalMenu | ( | ) | [inline, private] |
Definition at line 152 of file MenuDialog.java.
void com.generalrobotix.ui.view.MenuDialog.showLocalMenu | ( | ) | [inline, private] |
Definition at line 206 of file MenuDialog.java.
void com.generalrobotix.ui.view.MenuDialog.showMessage | ( | String | msg | ) | [inline] |
Definition at line 491 of file MenuDialog.java.
String com.generalrobotix.ui.view.MenuDialog.command_ = null [private] |
Definition at line 80 of file MenuDialog.java.
List<JTextField> com.generalrobotix.ui.view.MenuDialog.currentFields_ = new ArrayList<JTextField>() [private] |
Definition at line 74 of file MenuDialog.java.
MenuDialog com.generalrobotix.ui.view.MenuDialog.currentMenuPanel_ = null [static, private] |
Definition at line 63 of file MenuDialog.java.
int com.generalrobotix.ui.view.MenuDialog.currentStage_ = 0 [private] |
Definition at line 79 of file MenuDialog.java.
final SimpleDateFormat com.generalrobotix.ui.view.MenuDialog.dateFormat_ = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss") [static, private] |
Definition at line 82 of file MenuDialog.java.
JDialog com.generalrobotix.ui.view.MenuDialog.dialog_ = null [private] |
Definition at line 64 of file MenuDialog.java.
HashMap<String, String> com.generalrobotix.ui.view.MenuDialog.exceptMap = new HashMap<String, String>() [private] |
Definition at line 84 of file MenuDialog.java.
PythonInterpreter com.generalrobotix.ui.view.MenuDialog.interpreter_ [private] |
Definition at line 86 of file MenuDialog.java.
boolean com.generalrobotix.ui.view.MenuDialog.isWaiting_ = false [private] |
Definition at line 81 of file MenuDialog.java.
JButton com.generalrobotix.ui.view.MenuDialog.jButton_next = null [private] |
Definition at line 67 of file MenuDialog.java.
JButton com.generalrobotix.ui.view.MenuDialog.jButton_previous = null [private] |
Definition at line 66 of file MenuDialog.java.
JCheckBox com.generalrobotix.ui.view.MenuDialog.jCheckBoxContinuous = null [private] |
Definition at line 72 of file MenuDialog.java.
JCheckBox com.generalrobotix.ui.view.MenuDialog.jCheckBoxSequential = null [private] |
Definition at line 69 of file MenuDialog.java.
JLabel com.generalrobotix.ui.view.MenuDialog.jLabel = null [private] |
Definition at line 68 of file MenuDialog.java.
JPanel com.generalrobotix.ui.view.MenuDialog.jpanel_globalMenu = null [package] |
Definition at line 151 of file MenuDialog.java.
JPanel com.generalrobotix.ui.view.MenuDialog.jPanel_localMenu = null [private] |
Definition at line 65 of file MenuDialog.java.
JTextArea com.generalrobotix.ui.view.MenuDialog.jTextArea = null [private] |
Definition at line 70 of file MenuDialog.java.
String [][] com.generalrobotix.ui.view.MenuDialog.menu_ [private] |
Definition at line 77 of file MenuDialog.java.
String com.generalrobotix.ui.view.MenuDialog.message_ [private] |
Definition at line 85 of file MenuDialog.java.
final String com.generalrobotix.ui.view.MenuDialog.QUITBUTTON_TITLE = "Quit" [static, private] |
Definition at line 83 of file MenuDialog.java.
int com.generalrobotix.ui.view.MenuDialog.showingStage_ = 0 [private] |
Definition at line 78 of file MenuDialog.java.
Definition at line 87 of file MenuDialog.java.