Public Member Functions | Static Public Member Functions | Package Functions | Package Attributes | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes
com.generalrobotix.ui.view.MenuDialog Class Reference
Inheritance diagram for com.generalrobotix.ui.view.MenuDialog:
Inheritance graph
[legend]

List of all members.

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"

Detailed Description

Dialog with buttons that is be able to set jython funtion

Author:
kawasumi

Definition at line 62 of file MenuDialog.java.


Constructor & Destructor Documentation

com.generalrobotix.ui.view.MenuDialog.MenuDialog ( String  src[][],
PythonInterpreter  interpreter,
String  message,
StyledTextWriter  writer 
) [inline]

Definition at line 89 of file MenuDialog.java.


Member Function Documentation

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.

Definition at line 520 of file MenuDialog.java.

Definition at line 472 of file MenuDialog.java.

Definition at line 475 of file MenuDialog.java.

Definition at line 478 of file MenuDialog.java.

Definition at line 197 of file MenuDialog.java.

Definition at line 310 of file MenuDialog.java.

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.

Definition at line 256 of file MenuDialog.java.

Definition at line 276 of file MenuDialog.java.

Definition at line 263 of file MenuDialog.java.

Definition at line 96 of file MenuDialog.java.

Definition at line 486 of file MenuDialog.java.

Definition at line 469 of file MenuDialog.java.

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.

Definition at line 458 of file MenuDialog.java.

Definition at line 517 of file MenuDialog.java.

Definition at line 513 of file MenuDialog.java.

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.

Definition at line 152 of file MenuDialog.java.

Definition at line 206 of file MenuDialog.java.

Definition at line 491 of file MenuDialog.java.


Member Data Documentation

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.

Definition at line 63 of file MenuDialog.java.

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.

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.

Definition at line 86 of file MenuDialog.java.

Definition at line 81 of file MenuDialog.java.

Definition at line 67 of file MenuDialog.java.

Definition at line 66 of file MenuDialog.java.

Definition at line 72 of file MenuDialog.java.

Definition at line 69 of file MenuDialog.java.

Definition at line 68 of file MenuDialog.java.

Definition at line 151 of file MenuDialog.java.

Definition at line 65 of file MenuDialog.java.

Definition at line 70 of file MenuDialog.java.

Definition at line 77 of file MenuDialog.java.

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.

Definition at line 78 of file MenuDialog.java.

Definition at line 87 of file MenuDialog.java.


The documentation for this class was generated from the following file:


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sun Apr 2 2017 03:44:01