net.sf.magicproject.ui.layout
Enum WallpaperTypes

java.lang.Object
  extended by java.lang.Enum<WallpaperTypes>
      extended by net.sf.magicproject.ui.layout.WallpaperTypes
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<WallpaperTypes>

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

The wallpaper configuration.

Since:
0.94
Author:
Fabrice Daugan

Enum Constant Summary
color
          No wallpaper, only backcolor.
mosaicPicture
          Wallpaper picture with mosaic option.
picture
          Wallpaper picture.
watermark
          Watermark : see substance L&F
 
Method Summary
static WallpaperTypes valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static WallpaperTypes[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

watermark

public static final WallpaperTypes watermark
Watermark : see substance L&F


color

public static final WallpaperTypes color
No wallpaper, only backcolor.


picture

public static final WallpaperTypes picture
Wallpaper picture.


mosaicPicture

public static final WallpaperTypes mosaicPicture
Wallpaper picture with mosaic option.

Method Detail

values

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

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

valueOf

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


Copyright © 2003-2007 Magic-Project. All Rights Reserved.