|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ChartFilter> net.sf.magicproject.chart.ChartFilter
public enum ChartFilter
Appliable filters for charts.
Enum Constant Summary | |
---|---|
color
To filter the color. |
|
manacost
To filter the manacost. |
|
property
To filter the property. |
|
type
To filter the type. |
Field Summary | |
---|---|
static java.lang.Integer |
DEFAULT_KEY
|
Method Summary | |
---|---|
Dataset |
createDataSet(IDataProvider dataProvider)
A new Dataset instance. |
org.jfree.chart.plot.Plot |
createPlot(Dataset dataSet,
java.util.Map<java.lang.Integer,java.awt.Paint> painterMapper)
|
java.lang.String |
getTitle()
Return the title of this chart. |
static ChartFilter |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ChartFilter[] |
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 ChartFilter color
public static final ChartFilter type
public static final ChartFilter property
public static final ChartFilter manacost
Field Detail |
---|
public static final java.lang.Integer DEFAULT_KEY
Method Detail |
---|
public static ChartFilter[] values()
for (ChartFilter c : ChartFilter.values()) System.out.println(c);
public static ChartFilter 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 name
java.lang.NullPointerException
- if the argument is nullpublic org.jfree.chart.plot.Plot createPlot(Dataset dataSet, java.util.Map<java.lang.Integer,java.awt.Paint> painterMapper)
dataSet
- the dataset associated to this filter.painterMapper
- the optional paint mapper to associate to this filter.
public Dataset createDataSet(IDataProvider dataProvider)
dataProvider
-
public java.lang.String getTitle()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |