|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.davisor.graphics.chart.ChartStringAttributes
ChartStringAttributes implements a chart attribute set where the
attribute values are stored in a fixed XML string. For more
information about the attributes themselves, please see ChartAttributes interface documentation.
This string storage method is usefull when fixed sets of attributes
are moved over to some storage media, or during serialization. To
access and manipulate individual attributes, use ChartXMLAttributes to parse the XML data back into individual
attribute objects.
Thanks to the attribute storage strategy, individual attribute
values are inaccessible, and immutable. None of the ChartAttributes interface methods will work either. The only
usefull method is toString(), that returns the attribute set
XML representation.
Chart,
ChartData,
ChartMultiAttributes,
ChartObjectAttributes,
ChartXMLAttributes,
Serialized Form| Field Summary | |
protected java.lang.String |
M_xml
Map for ChannelAttributes. |
| Constructor Summary | |
ChartStringAttributes()
Default constructor. |
|
ChartStringAttributes(ChartAttributes ca)
Copy constructor. |
|
ChartStringAttributes(java.lang.String xml)
Creates a new chart attributes set. |
|
| Method Summary | |
void |
addChannelAttributes(ChartData data)
Fullfills a ChartAttributes interface method will a dummy
implementation which does nothing. |
void |
addChannelAttributes(java.lang.String id,
ChannelAttributes atts)
Fullfills a ChartAttributes interface method will a dummy
implementation which does nothing. |
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. |
java.lang.String |
getAltFormat()
Fullfills a ChartAttributes interface method will a dummy
implementation which does nothing. |
int |
getAntialiasMode()
Fullfills a ChartAttributes interface method will a dummy
implementation which does nothing. |
java.util.List |
getAxes()
Fullfills a ChartAttributes interface method will a dummy
implementation which does nothing. |
BackRenderAttributes |
getBack()
Fullfills a ChartAttributes interface method will a dummy
implementation which does nothing. |
java.util.Map |
getChannelAttributes()
Fullfills a ChartAttributes interface method will a dummy
implementation which does nothing. |
java.lang.String |
getChartType()
Fullfills a ChartAttributes interface method will a dummy
implementation which does nothing. |
java.lang.String |
getContentType()
Fullfills a ChartAttributes interface method will a dummy
implementation which does nothing. |
com.davisor.graphics.codec.MimeInfo |
getEncoderInfo()
Fullfills a ChartAttributes interface method will a dummy
implementation which does nothing. |
java.lang.Number |
getHeight()
Fullfills a ChartAttributes interface method will a dummy
implementation which does nothing. |
java.lang.String |
getID()
Fullfills a ChartAttributes interface method will a dummy
implementation which does nothing. |
java.lang.String |
getImageParams()
Fullfills a ChartAttributes interface method will a dummy
implementation which does nothing. |
LegendAttributes |
getLegend()
Fullfills a ChartAttributes interface method will a dummy
implementation which does nothing. |
java.util.Locale |
getLocale()
Fullfills a ChartAttributes interface method will a dummy
implementation which does nothing. |
java.lang.Boolean |
getMultiSeriesMode()
Fullfills a ChartAttributes interface method will a dummy
implementation which does nothing. |
java.lang.String |
getName(java.lang.String id)
Fullfills a ChartAttributes interface method will a dummy
implementation which does nothing. |
java.lang.String |
getNamespace()
Fullfills a ChartAttributes interface method will a dummy
implementation which does nothing. |
PlotRenderAttributes |
getPlot()
Fullfills a ChartAttributes interface method will a dummy
implementation which does nothing. |
java.lang.Number |
getResolution()
Fullfills a ChartAttributes interface method will a dummy
implementation which does nothing. |
java.net.URL |
getURLContext()
Fullfills a ChartAttributes interface method will a dummy
implementation which does nothing. |
java.lang.String |
getURLFormat()
Fullfills a ChartAttributes interface method will a dummy
implementation which does nothing. |
java.lang.String |
getValueFormat()
Fullfills a ChartAttributes interface method will a dummy
implementation which does nothing. |
java.lang.Number |
getWidth()
Fullfills a ChartAttributes interface method will a dummy
implementation which does nothing. |
boolean |
hasChannelAttributes(java.lang.String id)
Fullfills a ChartAttributes interface method will a dummy
implementation which does nothing. |
boolean |
isArea(java.lang.String id,
PlotRenderAttributes plot)
Fullfills a ChartAttributes interface method will a dummy
implementation which does nothing. |
boolean |
isSeries(java.lang.String id)
Deprecated. Use ChartFactory#isMultiSeriesMode instead |
void |
setAltFormat(java.lang.String altFormat)
Fullfills a ChartAttributes interface method will a dummy
implementation which does nothing. |
void |
setAntialiasMode(int antialiasMode)
Fullfills a ChartAttributes interface method will a dummy
implementation which does nothing. |
void |
setContentType(java.lang.String contentType)
Fullfills a ChartAttributes interface method will a dummy
implementation which does nothing. |
void |
setHeight(java.lang.Number height,
boolean inherit)
Fullfills a ChartAttributes interface method will a dummy
implementation which does nothing. |
void |
setImageParams(java.lang.String imageParams)
Fullfills a ChartAttributes interface method will a dummy
implementation which does nothing. |
void |
setResolution(java.lang.Number resolution)
Fullfills a ChartAttributes interface method will a dummy
implementation which does nothing. |
void |
setURLContext(java.net.URL urlContext)
Fullfills a ChartAttributes interface method will a dummy
implementation which does nothing. |
void |
setURLFormat(java.lang.String urlFormat)
Fullfills a ChartAttributes interface method will a dummy
implementation which does nothing. |
void |
setValueFormat(java.lang.String valueFormat)
Fullfills a ChartAttributes interface method will a dummy
implementation which does nothing. |
void |
setWidth(java.lang.Number width,
boolean inherit)
Fullfills a ChartAttributes interface method will a dummy
implementation which does nothing. |
java.lang.String |
toString()
Gets chart attributes XML representation. |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected java.lang.String M_xml
| Constructor Detail |
public ChartStringAttributes()
public ChartStringAttributes(ChartAttributes ca)
ca - attributes to be copiedclone(),
dup(),
toString(),
ChartObjectAttributes.toString()public ChartStringAttributes(java.lang.String xml)
xml - attributes XML representationtoString()| Method Detail |
public void addChannelAttributes(ChartData data)
ChartAttributes interface method will a dummy
implementation which does nothing.
addChannelAttributes in interface ChartAttributesdata - the ChannelAttributes.ChannelAttributes.getID(),
ChannelAttributes.setDefaults(com.davisor.graphics.chart.ChannelAttributes)
public void addChannelAttributes(java.lang.String id,
ChannelAttributes atts)
ChartAttributes interface method will a dummy
implementation which does nothing.
public java.lang.String getAltFormat()
ChartAttributes interface method will a dummy
implementation which does nothing.
public int getAntialiasMode()
ChartAttributes interface method will a dummy
implementation which does nothing.
getAntialiasMode in interface ChartAttributesRenderAttributes antialias codeChartAttributes.setAntialiasMode(int),
ImageChart.setAntialiasMode(int)public java.util.List getAxes()
ChartAttributes interface method will a dummy
implementation which does nothing.
getAxes in interface ChartAttributespublic BackRenderAttributes getBack()
ChartAttributes interface method will a dummy
implementation which does nothing.
getBack in interface ChartAttributespublic java.util.Map getChannelAttributes()
ChartAttributes interface method will a dummy
implementation which does nothing.
public java.lang.String getChartType()
ChartAttributes interface method will a dummy
implementation which does nothing.
getChartType in interface ChartAttributesnull if unsetChartFactory.getFactory(String)public com.davisor.graphics.codec.MimeInfo getEncoderInfo()
ChartAttributes interface method will a dummy
implementation which does nothing.
getEncoderInfo in interface ChartAttributesimage/png encoder information if encoder has not
been explicitly setpublic java.lang.String getContentType()
ChartAttributes interface method will a dummy
implementation which does nothing.
getContentType in interface ChartAttributesChart.getContentType()public java.lang.Number getHeight()
ChartAttributes interface method will a dummy
implementation which does nothing.
getHeight in interface ChartAttributesChartAttributes.getWidth(),
ChartAttributes.getResolution(),
Chart.getHeight()public java.lang.String getID()
ChartAttributes interface method will a dummy
implementation which does nothing.
getID in interface ChartAttributespublic java.lang.String getImageParams()
ChartAttributes interface method will a dummy
implementation which does nothing.
getImageParams in interface ChartAttributesnull if unsetChartAttributes.setImageParams(java.lang.String),
CodecFactory.getImageEncoder(java.lang.String)public LegendAttributes getLegend()
ChartAttributes interface method will a dummy
implementation which does nothing.
getLegend in interface ChartAttributespublic java.util.Locale getLocale()
ChartAttributes interface method will a dummy
implementation which does nothing.
getLocale in interface ChartAttributesnull if unsetpublic java.lang.Boolean getMultiSeriesMode()
ChartAttributes interface method will a dummy
implementation which does nothing.
getMultiSeriesMode in interface ChartAttributesnull if unsetpublic java.lang.String getName(java.lang.String id)
ChartAttributes interface method will a dummy
implementation which does nothing.
getName in interface ChartAttributesnull if channel is unknown,
or channel name is unsetChannelAttributes.getName()public java.lang.String getNamespace()
ChartAttributes interface method will a dummy
implementation which does nothing.
getNamespace in interface ChartAttributesnull if namespace is unsetpublic PlotRenderAttributes getPlot()
ChartAttributes interface method will a dummy
implementation which does nothing.
getPlot in interface ChartAttributespublic java.lang.Number getResolution()
ChartAttributes interface method will a dummy
implementation which does nothing.
getResolution in interface ChartAttributesChartAttributes.setResolution(java.lang.Number),
Chart.getResolution()public java.net.URL getURLContext()
ChartAttributes interface method will a dummy
implementation which does nothing.
getURLContext in interface ChartAttributesnull if unsetChartAttributes.setURLContext(java.net.URL)public java.lang.String getURLFormat()
ChartAttributes interface method will a dummy
implementation which does nothing.
public java.lang.String getValueFormat()
ChartAttributes interface method will a dummy
implementation which does nothing.
public java.lang.Number getWidth()
ChartAttributes interface method will a dummy
implementation which does nothing.
getWidth in interface ChartAttributesChartAttributes.getHeight(),
ChartAttributes.getResolution(),
Chart.getWidth()public boolean hasChannelAttributes(java.lang.String id)
ChartAttributes interface method will a dummy
implementation which does nothing.
public boolean isArea(java.lang.String id,
PlotRenderAttributes plot)
ChartAttributes interface method will a dummy
implementation which does nothing.
isArea in interface ChartAttributesid - channel identityplot - plot attributes to use in the test
ChartAttributes.getPlot()public boolean isSeries(java.lang.String id)
ChartAttributes interface method will a dummy
implementation which does nothing.
isSeries in interface ChartAttributesChannelAttributes.isSeries()public void setAltFormat(java.lang.String altFormat)
ChartAttributes interface method will a dummy
implementation which does nothing.
public void setAntialiasMode(int antialiasMode)
ChartAttributes interface method will a dummy
implementation which does nothing.
setAntialiasMode in interface ChartAttributesantialiasMode - RenderAttributes antialias codeChartAttributes.getAntialiasMode(),
ImageChart.setAntialiasMode(int)public void setContentType(java.lang.String contentType)
ChartAttributes interface method will a dummy
implementation which does nothing.
setContentType in interface ChartAttributes
public void setHeight(java.lang.Number height,
boolean inherit)
ChartAttributes interface method will a dummy
implementation which does nothing.
setHeight in interface ChartAttributesheight - new chart height (may be null)inherit - should null value inherit or
override old valueChartAttributes.getHeight()public void setImageParams(java.lang.String imageParams)
ChartAttributes interface method will a dummy
implementation which does nothing.
setImageParams in interface ChartAttributesImageFactory,
CodecFactorypublic void setResolution(java.lang.Number resolution)
ChartAttributes interface method will a dummy
implementation which does nothing.
setResolution in interface ChartAttributesChartAttributes.getResolution()public void setURLContext(java.net.URL urlContext)
ChartAttributes interface method will a dummy
implementation which does nothing.
setURLContext in interface ChartAttributesChartAttributes.getURLContext()public void setURLFormat(java.lang.String urlFormat)
ChartAttributes interface method will a dummy
implementation which does nothing.
public void setValueFormat(java.lang.String valueFormat)
ChartAttributes interface method will a dummy
implementation which does nothing.
public void setWidth(java.lang.Number width,
boolean inherit)
ChartAttributes interface method will a dummy
implementation which does nothing.
setWidth in interface ChartAttributeswidth - new chart width (may be null)inherit - should null value inherit or
override old valueChartAttributes.getWidth()public com.davisor.core.Dupable dup()
dup in interface com.davisor.core.Dupableclone(),
ChartStringAttributes(ChartAttributes)public java.lang.Object clone()
dup(),
ChartStringAttributes(ChartAttributes)public boolean equals(java.lang.Object object)
public java.lang.String toString()
BackRenderAttributes.toString(),
PlotRenderAttributes.toString(),
ChartAxes.toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||