com.alee.extended.painter
Enum TextureType

java.lang.Object
  extended by java.lang.Enum<TextureType>
      extended by com.alee.extended.painter.TextureType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TextureType>

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

This enumeration contains list of exising predefined textures for TexturePainter class.

Author:
Mikle Garin
See Also:
TexturePainter

Enum Constant Summary
alpha
          Alpha layer texture.
darkLinen
          Dark linen cloth texture.
darkMaze
          Dark maze texture.
escheresque
          Escheresque texture.
graphy
          Graphy texture.
illusion
          Illusion texture.
lightMaze
          Light maze texture.
linen
          Linen cloth texture.
none
          Empty texture.
washedWall
          Washed wall texture.
wildOliva
          Wild oliva texture.
 
Method Summary
 java.awt.image.BufferedImage getTexture()
          Returns texture image.
static TextureType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TextureType[] 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

none

public static final TextureType none
Empty texture.


linen

public static final TextureType linen
Linen cloth texture.


darkLinen

public static final TextureType darkLinen
Dark linen cloth texture. Pattern source: http://subtlepatterns.com/ Made by Jordan Pittman.


graphy

public static final TextureType graphy
Graphy texture. Pattern source: http://subtlepatterns.com/ Made by We Are Pixel8: http://www.wearepixel8.com/


illusion

public static final TextureType illusion
Illusion texture. Pattern source: http://subtlepatterns.com/ Made by Mohawk Studios: http://mohawkstudios.com/


escheresque

public static final TextureType escheresque
Escheresque texture. Pattern source: http://subtlepatterns.com/ Made by Ste Patten.


wildOliva

public static final TextureType wildOliva
Wild oliva texture. Pattern source: http://subtlepatterns.com/ Made by Badhon Ebrahim: http://dribbble.com/graphcoder


darkMaze

public static final TextureType darkMaze
Dark maze texture. Pattern source: http://subtlepatterns.com/ Made by Peax: http://www.peax-webdesign.com/


lightMaze

public static final TextureType lightMaze
Light maze texture. Pattern source: http://subtlepatterns.com/ Made by Peax: http://www.peax-webdesign.com/


washedWall

public static final TextureType washedWall
Washed wall texture. Pattern source: http://subtlepatterns.com/ Made by Sagive SEO: http://www.sagive.co.il/


alpha

public static final TextureType alpha
Alpha layer texture. Pattern source: http://subtlepatterns.com/ Made by Gluszczenko: http://www.gluszczenko.com/

Method Detail

values

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

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

valueOf

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

getTexture

public java.awt.image.BufferedImage getTexture()
Returns texture image.

Returns:
texture image