Package rocks.xmpp.extensions.rtt.model
Enum RealTimeText.Event
- java.lang.Object
-
- java.lang.Enum<RealTimeText.Event>
-
- rocks.xmpp.extensions.rtt.model.RealTimeText.Event
-
- All Implemented Interfaces:
Serializable
,Comparable<RealTimeText.Event>
- Enclosing class:
- RealTimeText
public static enum RealTimeText.Event extends Enum<RealTimeText.Event>
The real-time text event.- See Also:
- 4.2.2 event
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RealTimeText.Event
valueOf(String name)
Returns the enum constant of this type with the specified name.static RealTimeText.Event[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NEW
public static final RealTimeText.Event NEW
Begin a new real-time message.
-
RESET
public static final RealTimeText.Event RESET
Re-initialize the real-time message.
-
EDIT
public static final RealTimeText.Event EDIT
Modify existing real-time message.
-
INIT
public static final RealTimeText.Event INIT
Signals activation of real-time text.
-
CANCEL
public static final RealTimeText.Event CANCEL
Signals deactivation of real-time text.
-
-
Method Detail
-
values
public static RealTimeText.Event[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RealTimeText.Event c : RealTimeText.Event.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RealTimeText.Event valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-