|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.davisor.graphics.chart.ChartStringAttributes
com.davisor.graphics.chart.ChartMultiAttributes
ChartMultiAttributes implements a chart attribute set where the
attribute values are stored alternatively in a fixed XML string
and/or objects. For more information about the attributes
themselves, please see ChartAttributes interface
documentation.
This storage method is usefull when fixed sets of attributes are serialized or moved in some other way over to some storage media, and the accessed again.
Thanks to the attribute storage strategy, individual attribute values are converted to and from strings and objects as neccesary, All conversions take place transparently, and as late as possible.
Chart,
ChartData,
ChartObjectAttributes,
ChartStringAttributes,
ChartXMLAttributes,
Serialized Form| Field Summary | |
protected ChartObjectAttributes |
M_coa
Reference to underlying real attributes. |
| Fields inherited from class com.davisor.graphics.chart.ChartStringAttributes |
M_xml |
| Constructor Summary | |
ChartMultiAttributes(ChartAttributes ca)
Copy constructor. |
|
| Method Summary | |
void |
addChannelAttributes(ChartData data)
Implements a ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it. |
java.lang.Object |
clone()
Makes a shallow copy of this object. |
com.davisor.core.Dupable |
dup()
Makes a deep copy of this object. |
boolean |
equals(java.lang.Object object)
Test if these attributes equal to given attributes. |
int |
getAntialiasMode()
Implements a ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it. |
java.util.List |
getAxes()
Implements a ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it. |
BackRenderAttributes |
getBack()
Implements a ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it. |
java.util.Map |
getChannelAttributes()
Implements a ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it. |
java.lang.String |
getChartType()
Implements a ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it. |
java.lang.String |
getContentType()
Implements a ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it. |
com.davisor.graphics.codec.MimeInfo |
getEncoderInfo()
Implements a ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it. |
java.lang.Number |
getHeight()
Implements a ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it. |
java.lang.String |
getImageParams()
Implements a ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it. |
java.util.Locale |
getLocale()
Implements a ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it. |
java.lang.Boolean |
getMultiSeriesMode()
Implements a ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it. |
java.lang.String |
getName(java.lang.String id)
Implements a ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it. |
java.lang.String |
getNamespace()
Implements a ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it. |
ChartObjectAttributes |
getObjectAttributes()
Gets underlying object attributes. |
PlotRenderAttributes |
getPlot()
Implements a ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it. |
java.lang.Number |
getResolution()
Implements a ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it. |
java.net.URL |
getURLContext()
Implements a ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it. |
java.lang.Number |
getWidth()
Implements a ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it. |
boolean |
isArea(java.lang.String id,
PlotRenderAttributes plot)
Tests channel fill status. |
boolean |
isSeries(java.lang.String id)
Deprecated. Use ChartFactory#isMultiSeriesMode instead |
void |
setAntialiasMode(int antialiasMode)
Implements a ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it. |
void |
setContentType(java.lang.String contentType)
Implements a ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it. |
void |
setHeight(java.lang.Number height,
boolean inherit)
Implements a ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it. |
void |
setImageParams(java.lang.String imageParams)
Implements a ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it. |
void |
setObjectAttributes(ChartObjectAttributes coa)
Sets underlying object attributes. |
void |
setResolution(java.lang.Number resolution)
Implements a ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it. |
void |
setURLContext(java.net.URL urlContext)
Implements a ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it. |
void |
setWidth(java.lang.Number width,
boolean inherit)
Implements a ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it. |
java.lang.String |
toString()
Gets chart attributes XML representation. |
| Methods inherited from class com.davisor.graphics.chart.ChartStringAttributes |
addChannelAttributes, getAltFormat, getID, getLegend, getURLFormat, getValueFormat, hasChannelAttributes, setAltFormat, setURLFormat, setValueFormat |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected ChartObjectAttributes M_coa
| Constructor Detail |
public ChartMultiAttributes(ChartAttributes ca)
ca - attributes to be copiedclone(),
dup(),
toString(),
ChartObjectAttributes.toString()| Method Detail |
public void addChannelAttributes(ChartData data)
ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it.
addChannelAttributes in interface ChartAttributesaddChannelAttributes in class ChartStringAttributesgetObjectAttributes(),
ChartAttributes.addChannelAttributes(com.davisor.graphics.chart.ChartData)public int getAntialiasMode()
ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it.
getAntialiasMode in interface ChartAttributesgetAntialiasMode in class ChartStringAttributesgetObjectAttributes(),
ChartAttributes.getAntialiasMode()public java.util.List getAxes()
ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it.
getAxes in interface ChartAttributesgetAxes in class ChartStringAttributesgetObjectAttributes(),
ChartAttributes.getAxes()public BackRenderAttributes getBack()
ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it.
getBack in interface ChartAttributesgetBack in class ChartStringAttributesgetObjectAttributes(),
ChartAttributes.getBack()public java.util.Map getChannelAttributes()
ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it.
getChannelAttributes in class ChartStringAttributesgetObjectAttributes()public java.lang.String getChartType()
ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it.
getChartType in interface ChartAttributesgetChartType in class ChartStringAttributesgetObjectAttributes(),
ChartAttributes.getChartType()public com.davisor.graphics.codec.MimeInfo getEncoderInfo()
ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it.
getEncoderInfo in interface ChartAttributesgetEncoderInfo in class ChartStringAttributesgetObjectAttributes(),
ChartAttributes.getEncoderInfo()public java.lang.String getContentType()
ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it.
getContentType in interface ChartAttributesgetContentType in class ChartStringAttributesgetObjectAttributes(),
ChartAttributes.getContentType()public java.lang.Number getHeight()
ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it.
getHeight in interface ChartAttributesgetHeight in class ChartStringAttributesgetObjectAttributes(),
ChartAttributes.getHeight()public java.lang.String getImageParams()
ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it.
getImageParams in interface ChartAttributesgetImageParams in class ChartStringAttributesgetObjectAttributes(),
ChartAttributes.getImageParams()public java.util.Locale getLocale()
ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it.
getLocale in interface ChartAttributesgetLocale in class ChartStringAttributesgetObjectAttributes(),
ChartAttributes.getLocale()public java.lang.Boolean getMultiSeriesMode()
ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it.
getMultiSeriesMode in interface ChartAttributesgetMultiSeriesMode in class ChartStringAttributesnull if unsetgetObjectAttributes(),
ChartAttributes.getMultiSeriesMode()public java.lang.String getName(java.lang.String id)
ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it.
getName in interface ChartAttributesgetName in class ChartStringAttributesgetObjectAttributes(),
ChartAttributes.getName(java.lang.String)public java.lang.String getNamespace()
ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it.
getNamespace in interface ChartAttributesgetNamespace in class ChartStringAttributesgetObjectAttributes(),
ChartAttributes.getName(java.lang.String)public PlotRenderAttributes getPlot()
ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it.
getPlot in interface ChartAttributesgetPlot in class ChartStringAttributesgetObjectAttributes(),
ChartAttributes.getPlot()public java.lang.Number getResolution()
ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it.
getResolution in interface ChartAttributesgetResolution in class ChartStringAttributesgetObjectAttributes(),
ChartAttributes.getResolution()public java.net.URL getURLContext()
ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it.
getURLContext in interface ChartAttributesgetURLContext in class ChartStringAttributesgetObjectAttributes(),
ChartAttributes.getURLContext()public java.lang.Number getWidth()
ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it.
getWidth in interface ChartAttributesgetWidth in class ChartStringAttributesgetObjectAttributes(),
ChartAttributes.getWidth()
public boolean isArea(java.lang.String id,
PlotRenderAttributes plot)
isArea in interface ChartAttributesisArea in class ChartStringAttributesid - channel identityplot - plot attributes to use in the test
getChannelAttributes(),
getPlot()public boolean isSeries(java.lang.String id)
ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it.
isSeries in interface ChartAttributesisSeries in class ChartStringAttributesgetObjectAttributes(),
ChartAttributes.isSeries(java.lang.String)public void setAntialiasMode(int antialiasMode)
ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it.
setAntialiasMode in interface ChartAttributessetAntialiasMode in class ChartStringAttributesgetObjectAttributes(),
ChartAttributes.setAntialiasMode(int)public void setContentType(java.lang.String contentType)
ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it.
setContentType in interface ChartAttributessetContentType in class ChartStringAttributesgetObjectAttributes(),
ChartAttributes.setContentType(java.lang.String)
public void setHeight(java.lang.Number height,
boolean inherit)
ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it.
setHeight in interface ChartAttributessetHeight in class ChartStringAttributesgetObjectAttributes(),
ChartAttributes.setHeight(java.lang.Number, boolean)public void setImageParams(java.lang.String imageParams)
ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it.
setImageParams in interface ChartAttributessetImageParams in class ChartStringAttributesgetObjectAttributes(),
ChartAttributes.setImageParams(java.lang.String)public void setResolution(java.lang.Number resolution)
ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it.
setResolution in interface ChartAttributessetResolution in class ChartStringAttributesgetObjectAttributes(),
ChartAttributes.setResolution(java.lang.Number)public void setURLContext(java.net.URL urlContext)
ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it.
setURLContext in interface ChartAttributessetURLContext in class ChartStringAttributesgetObjectAttributes(),
ChartAttributes.setURLContext(java.net.URL)
public void setWidth(java.lang.Number width,
boolean inherit)
ChartAttributes interface method with a
smart implementation that resolves a target object attribute set,
and then delegates the method call to it.
setWidth in interface ChartAttributessetWidth in class ChartStringAttributesgetObjectAttributes(),
ChartAttributes.setWidth(java.lang.Number, boolean)public com.davisor.core.Dupable dup()
dup in interface com.davisor.core.Dupabledup in class ChartStringAttributesclone(),
ChartMultiAttributes(ChartAttributes)public java.lang.Object clone()
clone in class ChartStringAttributesdup(),
ChartMultiAttributes(ChartAttributes)public boolean equals(java.lang.Object object)
equals in class ChartStringAttributespublic java.lang.String toString()
toString in class ChartStringAttributesgetObjectAttributes(),
ChartObjectAttributes.toString()public ChartObjectAttributes getObjectAttributes()
setObjectAttributes(com.davisor.graphics.chart.ChartObjectAttributes),
toString(),
ChartObjectAttributes,
ChartXMLAttributespublic void setObjectAttributes(ChartObjectAttributes coa)
coa - new attributesgetObjectAttributes()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||