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

◆ AlertBox() [1/2]

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

Definition at line 36 of file AlertBox.java.

◆ AlertBox() [2/2]

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

◆ _init()

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

Definition at line 45 of file AlertBox.java.

◆ dispose()

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

Definition at line 130 of file AlertBox.java.

◆ setCaption()

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

Definition at line 133 of file AlertBox.java.

◆ setMessage()

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

Definition at line 139 of file AlertBox.java.

◆ setTitle()

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

Definition at line 136 of file AlertBox.java.

◆ show()

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

Definition at line 116 of file AlertBox.java.

Member Data Documentation

◆ caption_

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

Definition at line 27 of file AlertBox.java.

◆ dialog_

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

Definition at line 33 of file AlertBox.java.

◆ messageType_

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

Definition at line 32 of file AlertBox.java.

◆ options_

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

Definition at line 26 of file AlertBox.java.

◆ title_

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