|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Plot.RenderMode> com.androidplot.Plot.RenderMode
public static enum Plot.RenderMode
The RenderMode used by a Plot to draw it's self onto the screen. The RenderMode can be set
in two ways.
In an xml layout:
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 Summary | |
---|---|
USE_BACKGROUND_THREAD
Use a second thread and an off-screen buffer to do drawing. |
|
USE_MAIN_THREAD
Do everything in the primary thread. |
Method Summary | |
---|---|
static Plot.RenderMode |
valueOf(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. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Plot.RenderMode USE_BACKGROUND_THREAD
public static final Plot.RenderMode USE_MAIN_THREAD
Method Detail |
---|
public static Plot.RenderMode[] values()
for (Plot.RenderMode c : Plot.RenderMode.values()) System.out.println(c);
public static Plot.RenderMode valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |