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

Public Member Functions

 AlertBox (Frame owner, String title, int messageType, int buttonType)
 
 AlertBox (Dialog owner, String title, int messageType, int buttonType)
 
void dispose ()
 
void setCaption (String caption)
 
void setMessage (String message)
 
void setTitle (String title)
 
void show ()
 
- Public Member Functions inherited from com.generalrobotix.ui.util.ModalDialog
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 ()
 

Protected Attributes

JLabel caption_
 
Object[] options_
 
String title_
 
- Protected Attributes inherited from com.generalrobotix.ui.util.ModalDialog
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, int messageType, int buttonType)
 

Private Attributes

JDialog dialog_
 
int messageType_
 

Additional Inherited Members

- Static Public Attributes inherited from com.generalrobotix.ui.util.ModalDialog
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
 

Detailed Description

Definition at line 24 of file AlertBox.java.

Constructor & Destructor Documentation

com.generalrobotix.ui.util.AlertBox.AlertBox ( Frame  owner,
String  title,
int  messageType,
int  buttonType 
)
inline

Definition at line 36 of file AlertBox.java.

com.generalrobotix.ui.util.AlertBox.AlertBox ( Dialog  owner,
String  title,
int  messageType,
int  buttonType 
)
inline

Definition at line 40 of file AlertBox.java.

Member Function Documentation

void com.generalrobotix.ui.util.AlertBox._init ( String  title,
int  messageType,
int  buttonType 
)
inlineprivate

Definition at line 45 of file AlertBox.java.

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

Definition at line 130 of file AlertBox.java.

void com.generalrobotix.ui.util.AlertBox.setCaption ( String  caption)
inline

Definition at line 133 of file AlertBox.java.

void com.generalrobotix.ui.util.AlertBox.setMessage ( String  message)
inline

Definition at line 139 of file AlertBox.java.

void com.generalrobotix.ui.util.AlertBox.setTitle ( String  title)
inline

Definition at line 136 of file AlertBox.java.

void com.generalrobotix.ui.util.AlertBox.show ( )
inline

Definition at line 116 of file AlertBox.java.

Member Data Documentation

JLabel com.generalrobotix.ui.util.AlertBox.caption_
protected

Definition at line 27 of file AlertBox.java.

JDialog com.generalrobotix.ui.util.AlertBox.dialog_
private

Definition at line 33 of file AlertBox.java.

int com.generalrobotix.ui.util.AlertBox.messageType_
private

Definition at line 32 of file AlertBox.java.

Object [] com.generalrobotix.ui.util.AlertBox.options_
protected

Definition at line 26 of file AlertBox.java.

String com.generalrobotix.ui.util.AlertBox.title_
protected

Definition at line 30 of file AlertBox.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