Package totalcross.ui
Enum Control.TranslucentShape
- java.lang.Object
-
- java.lang.Enum<Control.TranslucentShape>
-
- totalcross.ui.Control.TranslucentShape
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Control.TranslucentShape>
- Enclosing class:
- Control
public static enum Control.TranslucentShape extends java.lang.Enum<Control.TranslucentShape>
Used when this Control is translucent
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CIRCLELESS_ROUNDNONERECTROUND
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Control.TranslucentShapevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Control.TranslucentShape[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final Control.TranslucentShape NONE
-
RECT
public static final Control.TranslucentShape RECT
-
ROUND
public static final Control.TranslucentShape ROUND
-
LESS_ROUND
public static final Control.TranslucentShape LESS_ROUND
-
CIRCLE
public static final Control.TranslucentShape CIRCLE
-
-
Method Detail
-
values
public static Control.TranslucentShape[] 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 (Control.TranslucentShape c : Control.TranslucentShape.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Control.TranslucentShape 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 namejava.lang.NullPointerException- if the argument is null
-
-