com.alee.managers.plugin.data
Enum StrategyType

java.lang.Object
  extended by java.lang.Enum<StrategyType>
      extended by com.alee.managers.plugin.data.StrategyType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<StrategyType>

public enum StrategyType
extends java.lang.Enum<StrategyType>

Plugin initialization strategy type.

Author:
Mikle Garin
See Also:
How to use PluginManager, PluginManager

Enum Constant Summary
after
          Plugin must be initialized strictly after some other plugin.
any
          Plugin doesn't define any specific strategy.
before
          Plugin must be initialized strictly before some other plugin.
 
Method Summary
 java.lang.String getDescription()
          Returns plugin strategy type description.
 javax.swing.ImageIcon getIcon()
          Returns plugin strategy type icon.
static StrategyType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static StrategyType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

any

public static final StrategyType any
Plugin doesn't define any specific strategy.


before

public static final StrategyType before
Plugin must be initialized strictly before some other plugin.


after

public static final StrategyType after
Plugin must be initialized strictly after some other plugin.

Method Detail

values

public static StrategyType[] 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 (StrategyType c : StrategyType.values())
    System.out.println(c);

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

valueOf

public static StrategyType 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
java.lang.NullPointerException - if the argument is null

getIcon

public javax.swing.ImageIcon getIcon()
Returns plugin strategy type icon.

Returns:
plugin strategy type icon

getDescription

public java.lang.String getDescription()
Returns plugin strategy type description.

Returns:
plugin strategy type description