|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ujac.chart.ChartAttributes
public class ChartAttributes
Name: ChartAttributes
Description: A class managing chart attributes.
Constructor Summary | |
---|---|
ChartAttributes()
Constructs a ChartException instance with specific attributes. |
|
ChartAttributes(Map attributes)
Constructs a ChartException instance with specific attributes. |
Method Summary | |
---|---|
boolean |
getBoolean(String name)
Gets a boolean attribute. |
Color |
getColor(String name)
Gets a Color attribute. |
Color[] |
getColorArray(String name)
Gets a Color array attribute. |
double |
getDouble(String name)
Gets a double attribute. |
float |
getFloat(String name)
Gets a float attribute. |
Font |
getFont(String name)
Gets a Font attribute. |
int |
getInt(String name)
Gets a integer attribute. |
List |
getList(String name)
Gets a list attribute. |
double |
getLong(String name)
Gets a long attribute. |
Object |
getObject(String name)
Gets a Object attribute. |
String |
getString(String name)
Gets a String attribute. |
String[] |
getStringArray(String name)
Gets a String array attribute. |
TextChartItem |
getTextItem(String name)
Gets a TextItem attribute. |
boolean |
isDefined(String name)
Gets a integer attribute. |
void |
setBoolean(String name,
boolean value)
Sets a boolean attribute. |
void |
setColor(String name,
Color value)
Sets a Color attribute. |
void |
setDouble(String name,
double value)
Sets a double attribute. |
void |
setFloat(String name,
float value)
Sets a float attribute. |
void |
setFont(String name,
Font value)
Sets a Font attribute. |
void |
setInt(String name,
int value)
Sets a integer attribute. |
void |
setList(String name,
List value)
Sets a list attribute. |
void |
setLong(String name,
long value)
Sets a long attribute. |
void |
setObject(String name,
Object value)
Sets a Object attribute. |
void |
setString(String name,
String value)
Sets a String attribute. |
void |
setTextItem(String name,
TextChartItem value)
Sets a TextItem attribute. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChartAttributes()
public ChartAttributes(Map attributes)
attributes
- The chart attributes.Method Detail |
---|
public boolean isDefined(String name)
name
- The attribute name.
public boolean getBoolean(String name)
name
- The attribute name.
public void setBoolean(String name, boolean value)
name
- The attribute name.value
- The value to associate with the given name.public int getInt(String name)
name
- The attribute name.
public void setInt(String name, int value)
name
- The attribute name.value
- The value to associate with the given name.public double getLong(String name)
name
- The attribute name.
public void setLong(String name, long value)
name
- The attribute name.value
- The value to associate with the given name.public float getFloat(String name)
name
- The attribute name.
public void setFloat(String name, float value)
name
- The attribute name.value
- The value to associate with the given name.public double getDouble(String name)
name
- The attribute name.
public void setDouble(String name, double value)
name
- The attribute name.value
- The value to associate with the given name.public String getString(String name)
name
- The attribute name.
public void setString(String name, String value)
name
- The attribute name.value
- The value to associate with the given name.public String[] getStringArray(String name)
name
- The attribute name.
public Font getFont(String name)
name
- The attribute name.
public void setFont(String name, Font value)
name
- The attribute name.value
- The value to associate with the given name.public Color getColor(String name)
name
- The attribute name.
public void setColor(String name, Color value)
name
- The attribute name.value
- The value to associate with the given name.public Color[] getColorArray(String name)
name
- The attribute name.
public Object getObject(String name)
name
- The attribute name.
public void setObject(String name, Object value)
name
- The attribute name.value
- The value to associate with the given name.public List getList(String name)
name
- The attribute name.
public void setList(String name, List value)
name
- The attribute name.value
- The value to associate with the given name.public TextChartItem getTextItem(String name)
name
- The attribute name.
public void setTextItem(String name, TextChartItem value)
name
- The attribute name.value
- The value to associate with the given name.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |