org.apache.wicket.portlet
Enum WicketPortlet.PageType

java.lang.Object
  extended by java.lang.Enum<WicketPortlet.PageType>
      extended by org.apache.wicket.portlet.WicketPortlet.PageType
All Implemented Interfaces:
Serializable, Comparable<WicketPortlet.PageType>
Enclosing class:
WicketPortlet

public static enum WicketPortlet.PageType
extends Enum<WicketPortlet.PageType>


Enum Constant Summary
ACTION
           
CUSTOM
           
EDIT
           
HELP
           
VIEW
           
 
Field Summary
 String initParameterName
           
 
Method Summary
static WicketPortlet.PageType getByInitParameterName(String initParameterName)
           
static WicketPortlet.PageType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static WicketPortlet.PageType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ACTION

public static final WicketPortlet.PageType ACTION

CUSTOM

public static final WicketPortlet.PageType CUSTOM

EDIT

public static final WicketPortlet.PageType EDIT

HELP

public static final WicketPortlet.PageType HELP

VIEW

public static final WicketPortlet.PageType VIEW
Field Detail

initParameterName

public final String initParameterName
Method Detail

values

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

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

valueOf

public static WicketPortlet.PageType 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

getByInitParameterName

public static WicketPortlet.PageType getByInitParameterName(String initParameterName)


Copyright © 2015. All Rights Reserved.