edu.princeton.wordnet.browser.tree.renderers.pojos
Enum MappedStyle

java.lang.Object
  extended by java.lang.Enum<MappedStyle>
      extended by edu.princeton.wordnet.browser.tree.renderers.pojos.MappedStyle
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MappedStyle>

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

Style enumeration

Author:
Bernard Bou

Enum Constant Summary
ADJPOSITION
           
CASEDWORD
           
CASEDWORDS
           
DEFAULT
           
DEFINITION
           
LEXDOMAIN
           
LEXLINK
           
LINK
           
LINKS
           
MORPH
           
MORPHS
           
POS
           
QUALIFIEDMORPH
           
QUERY
           
SAMPLE
           
SEMLINK
           
SENSE
           
SYNSET
           
VERBFRAME
           
VERBFRAMESENTENCE
           
WORD
           
 
Field Summary
(package private) static Persist.Moniker theMoniker
           
 Style theStyle
           
 
Method Summary
static void dump()
           
static void fromProperties(java.util.Properties theseSettings)
           
static void loadStyles()
           
static void saveStyles()
           
static java.util.Properties toProperties()
           
 java.lang.String toString()
           
 Style toStyle()
           
static MappedStyle valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MappedStyle[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DEFAULT

public static final MappedStyle DEFAULT

QUERY

public static final MappedStyle QUERY

WORD

public static final MappedStyle WORD

SENSE

public static final MappedStyle SENSE

SYNSET

public static final MappedStyle SYNSET

SEMLINK

public static final MappedStyle SEMLINK

LEXLINK

public static final MappedStyle LEXLINK

LINK

public static final MappedStyle LINK

LINKS

public static final MappedStyle LINKS

LEXDOMAIN

public static final MappedStyle LEXDOMAIN

POS

public static final MappedStyle POS

DEFINITION

public static final MappedStyle DEFINITION

SAMPLE

public static final MappedStyle SAMPLE

CASEDWORD

public static final MappedStyle CASEDWORD

CASEDWORDS

public static final MappedStyle CASEDWORDS

VERBFRAME

public static final MappedStyle VERBFRAME

VERBFRAMESENTENCE

public static final MappedStyle VERBFRAMESENTENCE

MORPH

public static final MappedStyle MORPH

QUALIFIEDMORPH

public static final MappedStyle QUALIFIEDMORPH

MORPHS

public static final MappedStyle MORPHS

ADJPOSITION

public static final MappedStyle ADJPOSITION
Field Detail

theStyle

public Style theStyle

theMoniker

static Persist.Moniker theMoniker
Method Detail

values

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

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

valueOf

public static MappedStyle 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

toStyle

public Style toStyle()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<MappedStyle>

toProperties

public static java.util.Properties toProperties()

fromProperties

public static void fromProperties(java.util.Properties theseSettings)

saveStyles

public static void saveStyles()

loadStyles

public static void loadStyles()

dump

public static void dump()