|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Renderer>
org.askalon.graph.chart.Renderer
public enum Renderer
This enum should be used to create renderer-specific ChartFactories.
ChartFactory| Enum Constant Summary | |
|---|---|
HARD
The hard renderer uses hardware rendering based on Java3D to display the charts. |
|
SOFT
The sofware renderer uses an own rendering engine based on Java2D. |
|
| Method Summary | |
|---|---|
ChartFactory |
getFactory()
Call this to get an instance of a renderer specific ChartFactory. |
boolean |
isChartAvailable(ChartType chart)
Determines the availability of a chart-type for this renderer. |
abstract boolean |
isChartAvailable(Class<? extends Chart> c)
Determines the availability of a chart-type for this renderer. |
abstract boolean |
isFunctional()
Determines the availability of a renderer-type. |
static Renderer |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Renderer[] |
values()
Returns an array containing the constants of this enum type, in the order they're 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 Renderer HARD
public static final Renderer SOFT
| Method Detail |
|---|
public static final Renderer[] values()
for(Renderer c : Renderer.values())
System.out.println(c);
public static Renderer valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified namepublic abstract boolean isFunctional()
public abstract boolean isChartAvailable(Class<? extends Chart> c)
c - the class of the chart to check
isChartAvailable(ChartType)public boolean isChartAvailable(ChartType chart)
chart - the type of the chart for which the availability should be checked
ChartType,
isChartAvailable(Class)public ChartFactory getFactory()
ChartFactory,
getFactoryClass()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
Part of:![]() |
ASKALON Visualisation Diagrams |