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

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 ()
 

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)
inlinestaticprivate

Definition at line 422 of file MenuDialog.java.

static void com.generalrobotix.ui.view.MenuDialog._setTabSelected ( Component  c)
inlinestaticprivate

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 
)
inlineprivate

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 ( )
inlinestatic

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 ( )
inlineprivate

Definition at line 197 of file MenuDialog.java.

JCheckBox com.generalrobotix.ui.view.MenuDialog.getJCheckBoxContinuous ( )
inlineprivate

Definition at line 310 of file MenuDialog.java.

JCheckBox com.generalrobotix.ui.view.MenuDialog.getJCheckBoxSequential ( )
inlineprivate

Definition at line 289 of file MenuDialog.java.

JTextArea com.generalrobotix.ui.view.MenuDialog.getJTextArea ( )
inlineprivate

Definition at line 414 of file MenuDialog.java.

JPanel com.generalrobotix.ui.view.MenuDialog.getLocalMenuPanel ( )
inlineprivate

Definition at line 256 of file MenuDialog.java.

JButton com.generalrobotix.ui.view.MenuDialog.getNextButton ( )
inlineprivate

Definition at line 276 of file MenuDialog.java.

JButton com.generalrobotix.ui.view.MenuDialog.getPreviousButton ( )
inlineprivate

Definition at line 263 of file MenuDialog.java.

void com.generalrobotix.ui.view.MenuDialog.initialize ( )
inlineprivate

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)
inlineprivate

Definition at line 397 of file MenuDialog.java.

void com.generalrobotix.ui.view.MenuDialog.refresh ( )
inlineprivate

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.showDialog ( Frame  owner,
String  title,
boolean  modal 
)
inline

Definition at line 446 of file MenuDialog.java.

void com.generalrobotix.ui.view.MenuDialog.showGlobalMenu ( )
inlineprivate

Definition at line 152 of file MenuDialog.java.

void com.generalrobotix.ui.view.MenuDialog.showLocalMenu ( )
inlineprivate

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.

Member Data Documentation

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
staticprivate

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")
staticprivate

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_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"
staticprivate

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.

StyledTextWriter com.generalrobotix.ui.view.MenuDialog.writer_
private

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 Sat Apr 13 2019 02:14:30