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

◆ MenuDialog()

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

◆ _clearTextComponentRecursive()

static void com.generalrobotix.ui.view.MenuDialog._clearTextComponentRecursive ( Container  container)
inlinestaticprivate

Definition at line 422 of file MenuDialog.java.

◆ _setTabSelected()

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

Definition at line 433 of file MenuDialog.java.

◆ addButton()

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.

◆ exit()

void com.generalrobotix.ui.view.MenuDialog.exit ( )
inline

Definition at line 520 of file MenuDialog.java.

◆ getCommand()

String com.generalrobotix.ui.view.MenuDialog.getCommand ( )
inline

Definition at line 472 of file MenuDialog.java.

◆ getCurrentMenuDialog()

static MenuDialog com.generalrobotix.ui.view.MenuDialog.getCurrentMenuDialog ( )
inlinestatic

Definition at line 475 of file MenuDialog.java.

◆ getCurrentMenuItem()

String com.generalrobotix.ui.view.MenuDialog.getCurrentMenuItem ( )
inline

Definition at line 478 of file MenuDialog.java.

◆ getGlobalMenuPanel()

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

Definition at line 197 of file MenuDialog.java.

◆ getJCheckBoxContinuous()

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

Definition at line 310 of file MenuDialog.java.

◆ getJCheckBoxSequential()

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

Definition at line 289 of file MenuDialog.java.

◆ getJTextArea()

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

Definition at line 414 of file MenuDialog.java.

◆ getLocalMenuPanel()

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

Definition at line 256 of file MenuDialog.java.

◆ getNextButton()

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

Definition at line 276 of file MenuDialog.java.

◆ getPreviousButton()

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

Definition at line 263 of file MenuDialog.java.

◆ initialize()

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

Definition at line 96 of file MenuDialog.java.

◆ isAllDone()

boolean com.generalrobotix.ui.view.MenuDialog.isAllDone ( )
inline

Definition at line 486 of file MenuDialog.java.

◆ isIdle()

boolean com.generalrobotix.ui.view.MenuDialog.isIdle ( )
inline

Definition at line 469 of file MenuDialog.java.

◆ isWaiting()

boolean com.generalrobotix.ui.view.MenuDialog.isWaiting ( )
inline

Definition at line 466 of file MenuDialog.java.

◆ parseCommand()

String [] com.generalrobotix.ui.view.MenuDialog.parseCommand ( String  com)
inlineprivate

Definition at line 397 of file MenuDialog.java.

◆ refresh()

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

Definition at line 458 of file MenuDialog.java.

◆ setContinuous()

void com.generalrobotix.ui.view.MenuDialog.setContinuous ( boolean  b)
inline

Definition at line 517 of file MenuDialog.java.

◆ setMessage()

void com.generalrobotix.ui.view.MenuDialog.setMessage ( String  message)
inline

Definition at line 513 of file MenuDialog.java.

◆ showDialog()

void com.generalrobotix.ui.view.MenuDialog.showDialog ( Frame  owner,
String  title,
boolean  modal 
)
inline

Definition at line 446 of file MenuDialog.java.

◆ showGlobalMenu()

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

Definition at line 152 of file MenuDialog.java.

◆ showLocalMenu()

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

Definition at line 206 of file MenuDialog.java.

◆ showMessage()

void com.generalrobotix.ui.view.MenuDialog.showMessage ( String  msg)
inline

Definition at line 491 of file MenuDialog.java.

Member Data Documentation

◆ command_

String com.generalrobotix.ui.view.MenuDialog.command_ = null
private

Definition at line 80 of file MenuDialog.java.

◆ currentFields_

List<JTextField> com.generalrobotix.ui.view.MenuDialog.currentFields_ = new ArrayList<JTextField>()
private

Definition at line 74 of file MenuDialog.java.

◆ currentMenuPanel_

MenuDialog com.generalrobotix.ui.view.MenuDialog.currentMenuPanel_ = null
staticprivate

Definition at line 63 of file MenuDialog.java.

◆ currentStage_

int com.generalrobotix.ui.view.MenuDialog.currentStage_ = 0
private

Definition at line 79 of file MenuDialog.java.

◆ dateFormat_

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.

◆ dialog_

JDialog com.generalrobotix.ui.view.MenuDialog.dialog_ = null
private

Definition at line 64 of file MenuDialog.java.

◆ exceptMap

HashMap<String, String> com.generalrobotix.ui.view.MenuDialog.exceptMap = new HashMap<String, String>()
private

Definition at line 84 of file MenuDialog.java.

◆ interpreter_

PythonInterpreter com.generalrobotix.ui.view.MenuDialog.interpreter_
private

Definition at line 86 of file MenuDialog.java.

◆ isWaiting_

boolean com.generalrobotix.ui.view.MenuDialog.isWaiting_ = false
private

Definition at line 81 of file MenuDialog.java.

◆ jButton_next

JButton com.generalrobotix.ui.view.MenuDialog.jButton_next = null
private

Definition at line 67 of file MenuDialog.java.

◆ jButton_previous

JButton com.generalrobotix.ui.view.MenuDialog.jButton_previous = null
private

Definition at line 66 of file MenuDialog.java.

◆ jCheckBoxContinuous

JCheckBox com.generalrobotix.ui.view.MenuDialog.jCheckBoxContinuous = null
private

Definition at line 72 of file MenuDialog.java.

◆ jCheckBoxSequential

JCheckBox com.generalrobotix.ui.view.MenuDialog.jCheckBoxSequential = null
private

Definition at line 69 of file MenuDialog.java.

◆ jLabel

JLabel com.generalrobotix.ui.view.MenuDialog.jLabel = null
private

Definition at line 68 of file MenuDialog.java.

◆ jPanel_localMenu

JPanel com.generalrobotix.ui.view.MenuDialog.jPanel_localMenu = null
private

Definition at line 65 of file MenuDialog.java.

◆ jTextArea

JTextArea com.generalrobotix.ui.view.MenuDialog.jTextArea = null
private

Definition at line 70 of file MenuDialog.java.

◆ menu_

String [][] com.generalrobotix.ui.view.MenuDialog.menu_
private

Definition at line 77 of file MenuDialog.java.

◆ message_

String com.generalrobotix.ui.view.MenuDialog.message_
private

Definition at line 85 of file MenuDialog.java.

◆ QUITBUTTON_TITLE

final String com.generalrobotix.ui.view.MenuDialog.QUITBUTTON_TITLE = "Quit"
staticprivate

Definition at line 83 of file MenuDialog.java.

◆ showingStage_

int com.generalrobotix.ui.view.MenuDialog.showingStage_ = 0
private

Definition at line 78 of file MenuDialog.java.

◆ writer_

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 Thu Sep 8 2022 02:24:08