snakeprogram3d
Enum SnakeActions

java.lang.Object
  extended by java.lang.Enum<SnakeActions>
      extended by snakeprogram3d.SnakeActions
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SnakeActions>

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

The action commands for all of the buttons, menu items and parameters. Copyright (c) 2010, Lehigh University All rights reserved. see COPYING for license.


Enum Constant Summary
addsnake
           
clearscreen
           
clearsnake
           
deformsnake
           
deleteend
           
deletemiddle
           
deletesnake
           
getandload
           
getbackground
           
getforeground
           
initializezoom
           
loadsnakes
           
mmax
           
mmin
           
nextframe
           
nextimage
           
pmax
           
pmin
           
previousframe
           
previousimage
           
reduce3d
           
savedata
           
savesnakes
           
setalpha
           
setbackground
           
setbeta
           
setforeground
           
setgamma
           
setiterations
           
setresolution
           
setsigma
           
setstretch
           
setweight
           
setzresolution
           
showabout
           
showhelp
           
stretchfix
           
tracksnake
           
tracksnakeback
           
viewselected
           
zoomout
           
 
Method Summary
static SnakeActions valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SnakeActions[] 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

previousimage

public static final SnakeActions previousimage

nextimage

public static final SnakeActions nextimage

getandload

public static final SnakeActions getandload

setalpha

public static final SnakeActions setalpha

addsnake

public static final SnakeActions addsnake

deformsnake

public static final SnakeActions deformsnake

setbeta

public static final SnakeActions setbeta

setgamma

public static final SnakeActions setgamma

setweight

public static final SnakeActions setweight

getforeground

public static final SnakeActions getforeground

setforeground

public static final SnakeActions setforeground

setstretch

public static final SnakeActions setstretch

stretchfix

public static final SnakeActions stretchfix

getbackground

public static final SnakeActions getbackground

setbackground

public static final SnakeActions setbackground

clearscreen

public static final SnakeActions clearscreen

setiterations

public static final SnakeActions setiterations

savesnakes

public static final SnakeActions savesnakes

loadsnakes

public static final SnakeActions loadsnakes

deletesnake

public static final SnakeActions deletesnake

initializezoom

public static final SnakeActions initializezoom

zoomout

public static final SnakeActions zoomout

deleteend

public static final SnakeActions deleteend

deletemiddle

public static final SnakeActions deletemiddle

tracksnake

public static final SnakeActions tracksnake

savedata

public static final SnakeActions savedata

setresolution

public static final SnakeActions setresolution

setsigma

public static final SnakeActions setsigma

setzresolution

public static final SnakeActions setzresolution

nextframe

public static final SnakeActions nextframe

previousframe

public static final SnakeActions previousframe

mmax

public static final SnakeActions mmax

pmax

public static final SnakeActions pmax

mmin

public static final SnakeActions mmin

pmin

public static final SnakeActions pmin

viewselected

public static final SnakeActions viewselected

showhelp

public static final SnakeActions showhelp

showabout

public static final SnakeActions showabout

reduce3d

public static final SnakeActions reduce3d

clearsnake

public static final SnakeActions clearsnake

tracksnakeback

public static final SnakeActions tracksnakeback
Method Detail

values

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

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

valueOf

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