com.partnersoft.preferences.model
Enum MapsetStartupVisibility

java.lang.Object
  extended by java.lang.Enum<MapsetStartupVisibility>
      extended by com.partnersoft.preferences.model.MapsetStartupVisibility
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MapsetStartupVisibility>

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

The three possible states for mapset visibility at startup.

Copyright 2010 Partner Software, Inc.

Version:
$Id$
Author:
Paul Reavis

Enum Constant Summary
HIDDEN
          Hidden at startup, regardless of changes made to Contents menu during previous runs of the Map Viewer.
REMEMBERED
          Visibility set to however it was left during previous run of the Map Viewer.
VISIBLE
          Visible at startup, regardless of changes made to Contents menu during previous runs of the Map Viewer.
 
Method Summary
static MapsetStartupVisibility forName(java.lang.String name)
           
 java.lang.String getName()
           
static java.util.List<java.lang.String> listNames()
           
static MapsetStartupVisibility valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MapsetStartupVisibility[] 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

VISIBLE

public static final MapsetStartupVisibility VISIBLE
Visible at startup, regardless of changes made to Contents menu during previous runs of the Map Viewer.


HIDDEN

public static final MapsetStartupVisibility HIDDEN
Hidden at startup, regardless of changes made to Contents menu during previous runs of the Map Viewer.


REMEMBERED

public static final MapsetStartupVisibility REMEMBERED
Visibility set to however it was left during previous run of the Map Viewer.

Method Detail

values

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

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

valueOf

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

forName

public static MapsetStartupVisibility forName(java.lang.String name)

listNames

public static java.util.List<java.lang.String> listNames()

getName

public java.lang.String getName()