public static enum Plot.RenderMode extends java.lang.Enum<Plot.RenderMode>
Programatically:
XYPlot myPlot = new XYPlot(context "MyPlot", Plot.RenderMode.USE_MAIN_THREAD);
A Plot's RenderMode cannot be changed after the plot has been initialized.| Enum Constant and Description |
|---|
USE_BACKGROUND_THREAD
Use a second thread and an off-screen buffer to do drawing.
|
USE_MAIN_THREAD
Do everything in the primary thread.
|
| Modifier and Type | Method and Description |
|---|---|
static Plot.RenderMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Plot.RenderMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Plot.RenderMode USE_BACKGROUND_THREAD
public static final Plot.RenderMode USE_MAIN_THREAD
public static Plot.RenderMode[] values()
for (Plot.RenderMode c : Plot.RenderMode.values()) System.out.println(c);
public static Plot.RenderMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null