public abstract class ColorMapBase extends java.lang.Object implements ColorMap, HasProperties, CompositeProperty, Scannable
| Modifier and Type | Field and Description |
|---|---|
static PropertyList |
myProps |
| Constructor and Description |
|---|
ColorMapBase() |
| Modifier and Type | Method and Description |
|---|---|
ColorMapBase |
clone()
Returns a clone of this composite property.
|
abstract ColorMapBase |
copy() |
PropertyList |
getAllPropertyInfo()
Returns a list giving static information about all properties exported by
this object.
|
static int |
getColor3Value(java.awt.Color c) |
static int |
getColor4Value(java.awt.Color c) |
void |
getHSV(double a,
byte[] hsv)
Fills an array with the interpolated color values
in HSV format
|
Property |
getProperty(java.lang.String pathName)
Returns a property associated with a specified path name.
|
HasProperties |
getPropertyHost()
Returns the host for this property
|
PropertyInfo |
getPropertyInfo()
If this object is a property, returns the corresponding information
|
void |
getRGB(double a,
byte[] rgb)
Fills an array with the interpolated color values
in RGB format
|
static java.lang.Class<?>[] |
getSubClasses() |
boolean |
isWritable()
Returns
true if this component should in fact be written to
secondary storage. |
void |
scan(ReaderTokenizer rtok,
java.lang.Object ref)
Scans this element from a ReaderTokenizer.
|
void |
setPropertyHost(HasProperties newParent)
Sets the host for this property.
|
void |
setPropertyInfo(PropertyInfo info)
Sets the property information for this property.
|
void |
write(java.io.PrintWriter pw,
NumberFormat fmt,
java.lang.Object ref)
Writes a text description of this element to a PrintWriter.
|
public static PropertyList myProps
public static java.lang.Class<?>[] getSubClasses()
public Property getProperty(java.lang.String pathName)
HasProperties.' characters. A sub-property
exists if the value of a property is itself an object which exports
properties. It is only possible to obtain a sub-property handle if each of
its ancestor properties exports their values by reference.getProperty in interface HasPropertiespathName - name of the desired property or sub-propertypublic PropertyList getAllPropertyInfo()
HasPropertiesgetAllPropertyInfo in interface HasPropertiespublic PropertyInfo getPropertyInfo()
CompositePropertygetPropertyInfo in interface CompositePropertypublic void setPropertyInfo(PropertyInfo info)
CompositePropertysetPropertyInfo in interface CompositePropertyinfo - property informationpublic HasProperties getPropertyHost()
CompositePropertygetPropertyHost in interface CompositePropertypublic void setPropertyHost(HasProperties newParent)
CompositePropertysetPropertyHost in interface CompositePropertynewParent - host for this propertypublic static int getColor3Value(java.awt.Color c)
public static int getColor4Value(java.awt.Color c)
public void getRGB(double a,
byte[] rgb)
ColorMappublic void getHSV(double a,
byte[] hsv)
ColorMappublic abstract ColorMapBase copy()
public ColorMapBase clone() throws java.lang.CloneNotSupportedException
CompositePropertyclone in interface CompositePropertyclone in interface Clonableclone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic void write(java.io.PrintWriter pw,
NumberFormat fmt,
java.lang.Object ref)
throws java.io.IOException
scan and complete
enough to allow full reconstruction of the element.public boolean isWritable()
true if this component should in fact be written to
secondary storage. This gives subclasses control over whether or
not they are actually written out.isWritable in interface Scannabletrue if this component should be written to
secondary storage.public void scan(ReaderTokenizer rtok, java.lang.Object ref) throws java.io.IOException
write.