pl.edu.agh.cast.data.model.presentation
Enum IPresentationElement.PropertyCategory

java.lang.Object
  extended by java.lang.Enum<IPresentationElement.PropertyCategory>
      extended by pl.edu.agh.cast.data.model.presentation.IPresentationElement.PropertyCategory
All Implemented Interfaces:
Serializable, Comparable<IPresentationElement.PropertyCategory>
Enclosing interface:
IPresentationElement<T extends IElement>

public static enum IPresentationElement.PropertyCategory
extends Enum<IPresentationElement.PropertyCategory>

Constants which identify presentation element's properties.


Enum Constant Summary
ORIGINAL
          Identifies properties of original element associated with the presentation element.
PRESENTATION
          Identifies properties of presentation element.
VISUAL
          Identifies properties of visual element associated with the presentation element.
 
Method Summary
static IPresentationElement.PropertyCategory fromString(String value)
          Creates enumeration object from string.
static IPresentationElement.PropertyCategory valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IPresentationElement.PropertyCategory[] 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

PRESENTATION

public static final IPresentationElement.PropertyCategory PRESENTATION
Identifies properties of presentation element.


VISUAL

public static final IPresentationElement.PropertyCategory VISUAL
Identifies properties of visual element associated with the presentation element.


ORIGINAL

public static final IPresentationElement.PropertyCategory ORIGINAL
Identifies properties of original element associated with the presentation element.

Method Detail

values

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

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

valueOf

public static IPresentationElement.PropertyCategory 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

fromString

public static IPresentationElement.PropertyCategory fromString(String value)
Creates enumeration object from string.

Parameters:
value - string to convert
Returns:
property category or null if value is not correct


Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.