Top Description Fields Constructors Methods
com.sun.star.uno

public abstract Class Enum

extends Object
Class Inheritance

The Enum class is the base class for all classes generated as java binding for the IDL type enum.

Each java mapped enum class provides static member of this class which represents the enum values. You cannot create an object of this class or subclass direct, to avoid enum values with integer values outside the defined range.

Field Summary

Modifier and TypeField and Description
private final int

Constructor Summary

AccessConstructor and Description
protected
Enum(int
the integer value of this enum value.
value
)

Constructs an enum value.

Method Summary

Modifier and TypeMethod and Description
public final int

Returns:

the integer value.
getValue
()

Get the integer value of an enum value.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

m_valueback to summary
private final int m_value

Constructor Detail

Enumback to summary
protected Enum(int value)

Constructs an enum value.

Parameters
value:int

the integer value of this enum value.

Method Detail

getValueback to summary
public final int getValue()

Get the integer value of an enum value.

Returns:int

the integer value.