org.gwtbootstrap3.extras.slider.client.ui.base.constants
Enum HandleType

java.lang.Object
  extended by java.lang.Enum<HandleType>
      extended by org.gwtbootstrap3.extras.slider.client.ui.base.constants.HandleType
All Implemented Interfaces:
Serializable, Comparable<HandleType>, org.gwtbootstrap3.client.ui.constants.Type

public enum HandleType
extends Enum<HandleType>
implements org.gwtbootstrap3.client.ui.constants.Type

Slider handle shape.

Author:
Xiaodong SUN

Enum Constant Summary
CUSTOM
           
ROUND
           
SQUARE
           
TRIANGLE
           
 
Method Summary
 String getType()
           
static HandleType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static HandleType[] 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

ROUND

public static final HandleType ROUND

SQUARE

public static final HandleType SQUARE

TRIANGLE

public static final HandleType TRIANGLE

CUSTOM

public static final HandleType CUSTOM
Method Detail

values

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

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

valueOf

public static HandleType valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getType

public String getType()


Copyright © 2015. All rights reserved.