artisynth.core.modelbase
Enum CompositeComponent.NavpanelDisplay

java.lang.Object
  extended by java.lang.Enum<CompositeComponent.NavpanelDisplay>
      extended by artisynth.core.modelbase.CompositeComponent.NavpanelDisplay
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CompositeComponent.NavpanelDisplay>
Enclosing interface:
CompositeComponent

public static enum CompositeComponent.NavpanelDisplay
extends java.lang.Enum<CompositeComponent.NavpanelDisplay>

Specifies how the a composite component should be displayed in a navigation panel.


Enum Constant Summary
ALPHABETIC
          Component should be visible in the panel, with named children ordered alphebetically.
NORMAL
          Component should be visible in the panel, with named children ordered according to their component ordering.
 
Method Summary
static CompositeComponent.NavpanelDisplay valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CompositeComponent.NavpanelDisplay[] values()
          Returns an array containing the constants of this enum type, in the order they are 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

NORMAL

public static final CompositeComponent.NavpanelDisplay NORMAL
Component should be visible in the panel, with named children ordered according to their component ordering.


ALPHABETIC

public static final CompositeComponent.NavpanelDisplay ALPHABETIC
Component should be visible in the panel, with named children ordered alphebetically.

Method Detail

values

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

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

valueOf

public static CompositeComponent.NavpanelDisplay 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