|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.fusioncharts.FusionGraph.FusionStyle
public static class FusionGraph.FusionStyle
FusionStyle is a subclass that is used to define styles for the Graph object.
Users have to define the style name, the style type (which can be one of the enum constants from
FusionStyleType) and what style properties to use. Please refer to the Fusion Charts API documentation
on setting style properties at http://www.fusioncharts.com/docs/
Constructor Summary | |
---|---|
FusionGraph.FusionStyle(java.lang.String styleName,
FusionGraph.FusionStyleType styleType)
Constructor for a FusionStyle object. |
Method Summary | |
---|---|
java.lang.String |
getStyleName()
Getter method to get the Style's Name. |
java.util.Map<java.lang.String,java.lang.String> |
getStyleProperties()
Getter method to get the properties of the style. |
FusionGraph.FusionStyleType |
getStyleType()
Getter method to get the Style's style type. |
void |
setStyleName(java.lang.String styleName)
Setter method to set the Style Name |
void |
setStyleProperties(java.lang.String key,
java.lang.String value)
Setter method to set the Style's Properties |
void |
setStyleType(FusionGraph.FusionStyleType styleType)
Setter method to set the Style Type |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FusionGraph.FusionStyle(java.lang.String styleName, FusionGraph.FusionStyleType styleType)
styleName
- The style Name to set it.styleType
- The Style type from the FusionStyleType enum
java.lang.IllegalArgumentException
- If style name or style type is blankMethod Detail |
---|
public java.lang.String getStyleName()
public void setStyleName(java.lang.String styleName)
styleName
- the style name to setpublic FusionGraph.FusionStyleType getStyleType()
public void setStyleType(FusionGraph.FusionStyleType styleType)
styleType
- the style type to setpublic java.util.Map<java.lang.String,java.lang.String> getStyleProperties()
public void setStyleProperties(java.lang.String key, java.lang.String value)
key
- Key of the attribute to insert into the style propertiesvalue
- Value of the attribute to insert into the style properties
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |