Classes | Public Member Functions | Static Public Attributes | Protected Attributes | Private Member Functions | Private Attributes | Static Private Attributes
com.generalrobotix.ui.util.ModalDialog Class Reference
Inheritance diagram for com.generalrobotix.ui.util.ModalDialog:
Inheritance graph
[legend]

List of all members.

Classes

class  InnerButton

Public Member Functions

void addActionListener (ActionListener listener)
void addButton (String caption)
void addInputComponent (String caption, Component component, int location, boolean fill)
void dispose ()
int getInputAreaWidth ()
 ModalDialog ()
 ModalDialog (Frame owner, String title, String message, int buttonType)
 ModalDialog (Dialog owner, String title, String message, int buttonType)
void processWindowEvent (WindowEvent evt)
void removeActionListener (ActionListener listener)
void setCloseButtonEnabled (boolean enabled)
void setInputAreaWidth (int width)
int showModalDialog ()
void showNoWait ()

Static Public Attributes

static final int CANCEL_BUTTON = 2
static final int CLOSE_BUTTON = 5
static final int CUSTOM_BUTTON = 0
static final int INLINE_CAPTION = 1
static final int MULTILINE_CAPTION = 2
static final int NO_BUTTON = 4
static final int NONE_TYPE = 0
static final int OK_BUTTON = 1
static final int OK_CANCEL_TYPE = 2
static final int OK_TYPE = 1
static final int YES_BUTTON = 3
static final int YES_NO_CANCEL_TYPE = 4
static final int YES_NO_TYPE = 3

Protected Attributes

JPanel buttonArea_
String buttonCommand_
int buttonType_
boolean closeButtonEnabled_ = true
GridBagConstraints gbc_
JPanel inputArea_
ActionListener listener_
JPanel mainPanel_
Window owner_

Private Member Functions

void _init (String title, String message, int buttonType)

Private Attributes

int width_

Static Private Attributes

static final int BUTTON_GAP = 5
static final int CAPTION_GAP = 11

Detailed Description

モーダルダイアログのスーパークラス

Definition at line 45 of file ModalDialog.java.


Constructor & Destructor Documentation

Definition at line 89 of file ModalDialog.java.

com.generalrobotix.ui.util.ModalDialog.ModalDialog ( Frame  owner,
String  title,
String  message,
int  buttonType 
) [inline]

Definition at line 91 of file ModalDialog.java.

com.generalrobotix.ui.util.ModalDialog.ModalDialog ( Dialog  owner,
String  title,
String  message,
int  buttonType 
) [inline]

Definition at line 102 of file ModalDialog.java.


Member Function Documentation

void com.generalrobotix.ui.util.ModalDialog._init ( String  title,
String  message,
int  buttonType 
) [inline, private]

Definition at line 113 of file ModalDialog.java.

void com.generalrobotix.ui.util.ModalDialog.addActionListener ( ActionListener  listener) [inline]

Definition at line 282 of file ModalDialog.java.

Definition at line 253 of file ModalDialog.java.

void com.generalrobotix.ui.util.ModalDialog.addInputComponent ( String  caption,
Component  component,
int  location,
boolean  fill 
) [inline]

入力コンポーネントの追加

Definition at line 199 of file ModalDialog.java.

Reimplemented in com.generalrobotix.ui.util.AlertBox.

Definition at line 277 of file ModalDialog.java.

Definition at line 194 of file ModalDialog.java.

Definition at line 294 of file ModalDialog.java.

Definition at line 286 of file ModalDialog.java.

Definition at line 290 of file ModalDialog.java.

Definition at line 186 of file ModalDialog.java.

Definition at line 261 of file ModalDialog.java.

Definition at line 269 of file ModalDialog.java.


Member Data Documentation

Definition at line 69 of file ModalDialog.java.

Definition at line 83 of file ModalDialog.java.

Definition at line 77 of file ModalDialog.java.

Definition at line 76 of file ModalDialog.java.

Definition at line 63 of file ModalDialog.java.

Definition at line 70 of file ModalDialog.java.

Definition at line 66 of file ModalDialog.java.

Definition at line 78 of file ModalDialog.java.

Definition at line 61 of file ModalDialog.java.

GridBagConstraints com.generalrobotix.ui.util.ModalDialog.gbc_ [protected]

Definition at line 85 of file ModalDialog.java.

Definition at line 57 of file ModalDialog.java.

Definition at line 82 of file ModalDialog.java.

Definition at line 80 of file ModalDialog.java.

Definition at line 84 of file ModalDialog.java.

Definition at line 58 of file ModalDialog.java.

Definition at line 65 of file ModalDialog.java.

Definition at line 50 of file ModalDialog.java.

Definition at line 62 of file ModalDialog.java.

Definition at line 52 of file ModalDialog.java.

Definition at line 51 of file ModalDialog.java.

Definition at line 81 of file ModalDialog.java.

Definition at line 74 of file ModalDialog.java.

Definition at line 64 of file ModalDialog.java.

Definition at line 54 of file ModalDialog.java.

Definition at line 53 of file ModalDialog.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