java.lang.Object
ro.nolimits.rue.conf.ColorGeneratorConfig
- All Implemented Interfaces:
- java.io.Serializable
- public class ColorGeneratorConfig
- extends java.lang.Object
- implements java.io.Serializable
- Version:
- $Revision: 0.5.1.1 $ $Date: 2000/08/01 10:52:22 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_colorSpaceDim
private int _colorSpaceDim
_colorStep
private int _colorStep
_XMLColorList
private java.util.Vector _XMLColorList
ColorGeneratorConfig
public ColorGeneratorConfig()
addXMLColor
public void addXMLColor(XMLColor vXMLColor)
throws java.lang.IndexOutOfBoundsException
enumerateXMLColor
public java.util.Enumeration enumerateXMLColor()
getColorSpaceDim
public int getColorSpaceDim()
getColorStep
public int getColorStep()
getXMLColor
public XMLColor getXMLColor(int index)
throws java.lang.IndexOutOfBoundsException
getXMLColor
public XMLColor[] getXMLColor()
getXMLColorCount
public int getXMLColorCount()
isValid
public boolean isValid()
marshal
public void marshal(java.io.Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
marshal
public void marshal(org.xml.sax.DocumentHandler handler)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
removeAllXMLColor
public void removeAllXMLColor()
removeXMLColor
public XMLColor removeXMLColor(int index)
setColorSpaceDim
public void setColorSpaceDim(int _colorSpaceDim)
setColorStep
public void setColorStep(int _colorStep)
setXMLColor
public void setXMLColor(XMLColor vXMLColor,
int index)
throws java.lang.IndexOutOfBoundsException
unmarshal
public static ColorGeneratorConfig unmarshal(java.io.Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
validate
public void validate()
throws org.exolab.castor.xml.ValidationException