public enum InteractiveCanvasSize extends Enum<InteractiveCanvasSize>
InteractiveControlPosition
Modifier and Type | Method and Description |
---|---|
static InteractiveCanvasSize |
from(String layoutSize)
Returns the associated
InteractiveCanvasSize object for the provided canvas size (if there is one). |
String |
toString()
Returns a
String representation of this InteractiveCanvasSize . |
static InteractiveCanvasSize |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InteractiveCanvasSize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InteractiveCanvasSize SMALL
public static final InteractiveCanvasSize MEDIUM
public static final InteractiveCanvasSize LARGE
public static InteractiveCanvasSize[] values()
for (InteractiveCanvasSize c : InteractiveCanvasSize.values()) System.out.println(c);
public static InteractiveCanvasSize valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static InteractiveCanvasSize from(String layoutSize)
InteractiveCanvasSize
object for the provided canvas size (if there is one).layoutSize
- Interactive controls canvas sizeInteractiveCanvasSize
for the provided canvas size. If a match is not found then
null
is returned.public String toString()
String
representation of this InteractiveCanvasSize
.toString
in class Enum<InteractiveCanvasSize>
String
representation of this InteractiveCanvasSize
Copyright © 2018. All rights reserved.