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

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

com.generalrobotix.ui.util.ModalDialog.ModalDialog ( )
inline

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

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.

void com.generalrobotix.ui.util.ModalDialog.addButton ( String  caption)
inline

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.

void com.generalrobotix.ui.util.ModalDialog.dispose ( )
inline

Definition at line 277 of file ModalDialog.java.

int com.generalrobotix.ui.util.ModalDialog.getInputAreaWidth ( )
inline

Definition at line 194 of file ModalDialog.java.

void com.generalrobotix.ui.util.ModalDialog.processWindowEvent ( WindowEvent  evt)
inline

Definition at line 294 of file ModalDialog.java.

void com.generalrobotix.ui.util.ModalDialog.removeActionListener ( ActionListener  listener)
inline

Definition at line 286 of file ModalDialog.java.

void com.generalrobotix.ui.util.ModalDialog.setCloseButtonEnabled ( boolean  enabled)
inline

Definition at line 290 of file ModalDialog.java.

void com.generalrobotix.ui.util.ModalDialog.setInputAreaWidth ( int  width)
inline

Definition at line 186 of file ModalDialog.java.

int com.generalrobotix.ui.util.ModalDialog.showModalDialog ( )
inline

Definition at line 261 of file ModalDialog.java.

void com.generalrobotix.ui.util.ModalDialog.showNoWait ( )
inline

Definition at line 269 of file ModalDialog.java.

Member Data Documentation

final int com.generalrobotix.ui.util.ModalDialog.BUTTON_GAP = 5
staticprivate

Definition at line 69 of file ModalDialog.java.

JPanel com.generalrobotix.ui.util.ModalDialog.buttonArea_
protected

Definition at line 83 of file ModalDialog.java.

String com.generalrobotix.ui.util.ModalDialog.buttonCommand_
protected

Definition at line 77 of file ModalDialog.java.

int com.generalrobotix.ui.util.ModalDialog.buttonType_
protected

Definition at line 76 of file ModalDialog.java.

final int com.generalrobotix.ui.util.ModalDialog.CANCEL_BUTTON = 2
static

Definition at line 63 of file ModalDialog.java.

final int com.generalrobotix.ui.util.ModalDialog.CAPTION_GAP = 11
staticprivate

Definition at line 70 of file ModalDialog.java.

final int com.generalrobotix.ui.util.ModalDialog.CLOSE_BUTTON = 5
static

Definition at line 66 of file ModalDialog.java.

boolean com.generalrobotix.ui.util.ModalDialog.closeButtonEnabled_ = true
protected

Definition at line 78 of file ModalDialog.java.

final int com.generalrobotix.ui.util.ModalDialog.CUSTOM_BUTTON = 0
static

Definition at line 61 of file ModalDialog.java.

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

Definition at line 85 of file ModalDialog.java.

final int com.generalrobotix.ui.util.ModalDialog.INLINE_CAPTION = 1
static

Definition at line 57 of file ModalDialog.java.

JPanel com.generalrobotix.ui.util.ModalDialog.inputArea_
protected

Definition at line 82 of file ModalDialog.java.

ActionListener com.generalrobotix.ui.util.ModalDialog.listener_
protected

Definition at line 80 of file ModalDialog.java.

JPanel com.generalrobotix.ui.util.ModalDialog.mainPanel_
protected

Definition at line 84 of file ModalDialog.java.

final int com.generalrobotix.ui.util.ModalDialog.MULTILINE_CAPTION = 2
static

Definition at line 58 of file ModalDialog.java.

final int com.generalrobotix.ui.util.ModalDialog.NO_BUTTON = 4
static

Definition at line 65 of file ModalDialog.java.

final int com.generalrobotix.ui.util.ModalDialog.NONE_TYPE = 0
static

Definition at line 50 of file ModalDialog.java.

final int com.generalrobotix.ui.util.ModalDialog.OK_BUTTON = 1
static

Definition at line 62 of file ModalDialog.java.

final int com.generalrobotix.ui.util.ModalDialog.OK_CANCEL_TYPE = 2
static

Definition at line 52 of file ModalDialog.java.

final int com.generalrobotix.ui.util.ModalDialog.OK_TYPE = 1
static

Definition at line 51 of file ModalDialog.java.

Window com.generalrobotix.ui.util.ModalDialog.owner_
protected

Definition at line 81 of file ModalDialog.java.

int com.generalrobotix.ui.util.ModalDialog.width_
private

Definition at line 74 of file ModalDialog.java.

final int com.generalrobotix.ui.util.ModalDialog.YES_BUTTON = 3
static

Definition at line 64 of file ModalDialog.java.

final int com.generalrobotix.ui.util.ModalDialog.YES_NO_CANCEL_TYPE = 4
static

Definition at line 54 of file ModalDialog.java.

final int com.generalrobotix.ui.util.ModalDialog.YES_NO_TYPE = 3
static

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 Sat May 8 2021 02:42:44