ElegantJCharts Java API Specification v2.0

com.elegantj.common
Class MessageBox

java.lang.Object
  |
  +--com.elegantj.common.MessageBox

public class MessageBox
extends java.lang.Object

As for "MessageBox" class Windows like it is the class which indicates the message box. However, it does not support the idea contest.


Field Summary
static int ABORTRETRYIGNORE
          Three buttons "of discontinuance" "retrial" "disregard" are indicated.
static int IDABORT
          ID "of discontinuance" button
static int IDCANCEL
          "Cancel" button
static int IDIGNORE
          ID "of disregard" button
static int IDNO
          "To be able to call," ID of the button
static int IDOK
          ID "of OK" button
static int IDRETRY
          ID "of retrial" button
static int IDYES
          "To be", ID of the button
protected  int m_ButtonHeight
          Height of button
protected  int m_ButtonWidth
          Width of button
protected  java.lang.String m_Message
          Message character string
protected  int m_Style
          Style of message box
protected static int MB_ABORT
          Discontinuance
protected static int MB_CANCEL
          Cancellation
protected static int MB_IGNORE
          Disregard
protected static int MB_NO
          Calling obtaining
protected static int MB_OK
          OK
protected static int MB_RETRY
          Retrial
protected static int MB_YES
          It is,
static int OK
          "The OK" button is indicated.
static int OKCANCEL
          Two buttons "of OK" "Cancel" are indicated.
static int RETRYCANCEL
          Two buttons "of retrial" "discontinuance" are indicated.
 int status
          When closing the message box, ID of the button which is pushed is returned.
static int YESNO
          "It is and" "can call" two buttons indicates.
static int YESNOCANCEL
          "It is and" "can call" three buttons indicates.
 
Constructor Summary
MessageBox(java.awt.Component parent, java.lang.String title)
          The message box (dialogue) it constructs.
MessageBox(java.awt.Component parent, java.lang.String title, java.lang.String message, int style)
          The message box is constructed.
MessageBox(javax.swing.JFrame parent, java.lang.String title, java.lang.String message, int style)
          The message box is constructed.
 
Method Summary
 java.lang.String[] GetOptions()
          It forms & arranges the options inside the message box.
 void SetOption(java.lang.String option)
          Sets the Option
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MB_ABORT

protected static final int MB_ABORT
Discontinuance

See Also:
Constant Field Values

MB_CANCEL

protected static final int MB_CANCEL
Cancellation

See Also:
Constant Field Values

MB_IGNORE

protected static final int MB_IGNORE
Disregard

See Also:
Constant Field Values

MB_NO

protected static final int MB_NO
Calling obtaining

See Also:
Constant Field Values

MB_OK

protected static final int MB_OK
OK

See Also:
Constant Field Values

MB_RETRY

protected static final int MB_RETRY
Retrial

See Also:
Constant Field Values

MB_YES

protected static final int MB_YES
It is,

See Also:
Constant Field Values

m_ButtonWidth

protected int m_ButtonWidth
Width of button


m_ButtonHeight

protected int m_ButtonHeight
Height of button


ABORTRETRYIGNORE

public static final int ABORTRETRYIGNORE
Three buttons "of discontinuance" "retrial" "disregard" are indicated.

See Also:
Constant Field Values

OK

public static final int OK
"The OK" button is indicated.

See Also:
Constant Field Values

OKCANCEL

public static final int OKCANCEL
Two buttons "of OK" "Cancel" are indicated.

See Also:
Constant Field Values

RETRYCANCEL

public static final int RETRYCANCEL
Two buttons "of retrial" "discontinuance" are indicated.

See Also:
Constant Field Values

YESNO

public static final int YESNO
"It is and" "can call" two buttons indicates.

See Also:
Constant Field Values

YESNOCANCEL

public static final int YESNOCANCEL
"It is and" "can call" three buttons indicates.

See Also:
Constant Field Values

IDABORT

public static final int IDABORT
ID "of discontinuance" button

See Also:
Constant Field Values

IDCANCEL

public static final int IDCANCEL
"Cancel" button

See Also:
Constant Field Values

IDIGNORE

public static final int IDIGNORE
ID "of disregard" button

See Also:
Constant Field Values

IDNO

public static final int IDNO
"To be able to call," ID of the button

See Also:
Constant Field Values

IDOK

public static final int IDOK
ID "of OK" button

See Also:
Constant Field Values

IDRETRY

public static final int IDRETRY
ID "of retrial" button

See Also:
Constant Field Values

IDYES

public static final int IDYES
"To be", ID of the button

See Also:
Constant Field Values

status

public int status
When closing the message box, ID of the button which is pushed is returned.


m_Message

protected java.lang.String m_Message
Message character string


m_Style

protected int m_Style
Style of message box

Constructor Detail

MessageBox

public MessageBox(javax.swing.JFrame parent,
                  java.lang.String title,
                  java.lang.String message,
                  int style)
The message box is constructed. Unlike dialogue, when object is formed, it indicates this class in automatically. (Show () method and setVisible () using method, it is not necessary to indicate.)

Parameters:
parent - Message box
title - Message box
message - Message character string
style - Message box (future also the idea contest correspondence schedule)

MessageBox

public MessageBox(java.awt.Component parent,
                  java.lang.String title,
                  java.lang.String message,
                  int style)
The message box is constructed. Unlike dialogue, when object is formed, it indicates this class in automatically. (Show () method and setVisible () using method, it is not necessary to indicate.)

Parameters:
parent - The owner of the message box (as for the message box being to search the frame from parent, as for the necessity to be Frame it is not.)
title - Message box
message - Message character string
style - Style of the message box (future also the idea contest correspondence schedule)

MessageBox

public MessageBox(java.awt.Component parent,
                  java.lang.String title)
The message box (dialogue) it constructs. This constructor is something which easy is done in order to use in class ahead deriving.

Parameters:
parent - message box
title - message box
Method Detail

GetOptions

public java.lang.String[] GetOptions()
It forms & arranges the options inside the message box.


SetOption

public void SetOption(java.lang.String option)
Sets the Option


ElegantJCharts Java API Specification v2.0

For any feedback, suggestion, or query, please revert back to support@elegantcharts.com

Copyright(c)
Elegant Microweb Technologies Pvt. Ltd.
www.elegantmicroweb.com
www.elegantjcharts.com
All Rights Reserved.