org.broadleafcommerce.common.presentation.client
Enum VisibilityEnum

java.lang.Object
  extended by java.lang.Enum<VisibilityEnum>
      extended by org.broadleafcommerce.common.presentation.client.VisibilityEnum
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable, Serializable, Comparable<VisibilityEnum>

public enum VisibilityEnum
extends Enum<VisibilityEnum>
implements com.google.gwt.user.client.rpc.IsSerializable

Created by IntelliJ IDEA. User: jfischer Date: 9/27/11 Time: 1:26 PM To change this template use File | Settings | File Templates.


Enum Constant Summary
FORM_HIDDEN
           
GRID_HIDDEN
           
HIDDEN_ALL
           
NOT_SPECIFIED
           
VISIBLE_ALL
           
 
Method Summary
static VisibilityEnum valueOf(String name)
          Returns the enum constant of this type with the specified name.
static VisibilityEnum[] 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

HIDDEN_ALL

public static final VisibilityEnum HIDDEN_ALL

VISIBLE_ALL

public static final VisibilityEnum VISIBLE_ALL

FORM_HIDDEN

public static final VisibilityEnum FORM_HIDDEN

GRID_HIDDEN

public static final VisibilityEnum GRID_HIDDEN

NOT_SPECIFIED

public static final VisibilityEnum NOT_SPECIFIED
Method Detail

values

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

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

valueOf

public static VisibilityEnum 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 name
NullPointerException - if the argument is null


Copyright © 2013. All Rights Reserved.