JIDE 3.5.15

com.jidesoft.chart.xml
Class XmlPaintAdapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<String,Paint>
      extended by com.jidesoft.chart.xml.XmlPaintAdapter

public class XmlPaintAdapter
extends javax.xml.bind.annotation.adapters.XmlAdapter<String,Paint>

Copyright (c) Catalysoft Ltd, 2005-2010 All Rights Reserved Created: 09-Sep-2010 A Color can be provided either as an RGB value or an RGBA value, as for example 'rgb(128,128,128)' which is a mid-grey, or 'rgba(255,0,0,128)', which is a translucent red.


Constructor Summary
XmlPaintAdapter()
           
 
Method Summary
 String marshal(Paint paint)
           
 Paint unmarshal(String paintString)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlPaintAdapter

public XmlPaintAdapter()
Method Detail

marshal

public String marshal(Paint paint)
               throws Exception
Specified by:
marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<String,Paint>
Throws:
Exception

unmarshal

public Paint unmarshal(String paintString)
                throws Exception
Specified by:
unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<String,Paint>
Throws:
Exception

JIDE 3.5.15