Library | Package Java Toolkit

Class MessageButton

package com.ptc.pfc.pfcUI;

public class MessageButton
  implements jxenum



Description

This enumerated type indicates different types of buttons.



Field Summary
static final int_MESSAGE_BUTTON_OK
    Integer value of enum value "MESSAGE_BUTTON_OK"
    OK.
static final MessageButtonMESSAGE_BUTTON_OK
    Object value of enum value "MESSAGE_BUTTON_OK"
    OK.
static final int_MESSAGE_BUTTON_CANCEL
    Integer value of enum value "MESSAGE_BUTTON_CANCEL"
    CANCEL.
static final MessageButtonMESSAGE_BUTTON_CANCEL
    Object value of enum value "MESSAGE_BUTTON_CANCEL"
    CANCEL.
static final int_MESSAGE_BUTTON_YES
    Integer value of enum value "MESSAGE_BUTTON_YES"
    YES.
static final MessageButtonMESSAGE_BUTTON_YES
    Object value of enum value "MESSAGE_BUTTON_YES"
    YES.
static final int_MESSAGE_BUTTON_NO
    Integer value of enum value "MESSAGE_BUTTON_NO"
    NO.
static final MessageButtonMESSAGE_BUTTON_NO
    Object value of enum value "MESSAGE_BUTTON_NO"
    NO.
static final int_MESSAGE_BUTTON_ABORT
    Integer value of enum value "MESSAGE_BUTTON_ABORT"
    ABORT.
static final MessageButtonMESSAGE_BUTTON_ABORT
    Object value of enum value "MESSAGE_BUTTON_ABORT"
    ABORT.
static final int_MESSAGE_BUTTON_RETRY
    Integer value of enum value "MESSAGE_BUTTON_RETRY"
    RETRY.
static final MessageButtonMESSAGE_BUTTON_RETRY
    Object value of enum value "MESSAGE_BUTTON_RETRY"
    RETRY.
static final int_MESSAGE_BUTTON_IGNORE
    Integer value of enum value "MESSAGE_BUTTON_IGNORE"
    IGNORE.
static final MessageButtonMESSAGE_BUTTON_IGNORE
    Object value of enum value "MESSAGE_BUTTON_IGNORE"
    IGNORE.
static final int_MESSAGE_BUTTON_CONFIRM
    Integer value of enum value "MESSAGE_BUTTON_CONFIRM"
    CONFIRM.
static final MessageButtonMESSAGE_BUTTON_CONFIRM
    Object value of enum value "MESSAGE_BUTTON_CONFIRM"
    CONFIRM.
static final int_MessageButton_null
    Enum null value.

Method Summary
static MessageButtonFromInt (int value)
    Creates enum object from an integer.
static MessageButtonFromInt (Integer value)
    Creates enum object from an integer object.
intgetValue ()
    Returns enum object value as an integer.

Method Detail

getValue

intgetValue ()


    Returns enum object value as an integer.
Returns:
Integer enum value.


FromInt

static MessageButtonFromInt (int value)


    Creates enum object from an integer.
Parameters:
value
Input integer value.
Returns:
Enum value object.


FromInt

static MessageButtonFromInt (Integer value)


    Creates enum object from an integer object.
Parameters:
value
Input integer object.
Returns:
Enum value object.