com.aol.acc
Enum AccCommandProp

java.lang.Object
  extended by java.lang.Enum<AccCommandProp>
      extended by com.aol.acc.AccCommandProp
All Implemented Interfaces:
AccEnum, java.io.Serializable, java.lang.Comparable<AccCommandProp>

public enum AccCommandProp
extends java.lang.Enum<AccCommandProp>
implements AccEnum

The IAccCommand interface is for enumerating commands on a plugin.


Enum Constant Summary
Flags
          The flags for the Command, from AccCommandFlags
Id
          The id for the command
ParentId
          Associated in UI with its parent command (e.g., in a submenu).
SmallIconUrl
          The URL for an icon to display with the command
Text
          The text for the command
UNKNOWNVALUE
           
 
Method Summary
 boolean equals(int i)
           
static AccCommandProp intToEnum(int value)
           
 AccCommandProp or(AccCommandProp val)
           
 int value()
           
static AccCommandProp valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AccCommandProp[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UNKNOWNVALUE

public static final AccCommandProp UNKNOWNVALUE

Id

public static final AccCommandProp Id
The id for the command


Text

public static final AccCommandProp Text
The text for the command


SmallIconUrl

public static final AccCommandProp SmallIconUrl
The URL for an icon to display with the command


Flags

public static final AccCommandProp Flags
The flags for the Command, from AccCommandFlags


ParentId

public static final AccCommandProp ParentId
Associated in UI with its parent command (e.g., in a submenu).

Method Detail

values

public static final AccCommandProp[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(AccCommandProp c : AccCommandProp.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static AccCommandProp valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

value

public final int value()
Specified by:
value in interface AccEnum

equals

public final boolean equals(int i)

or

public final AccCommandProp or(AccCommandProp val)

intToEnum

public static AccCommandProp intToEnum(int value)