| org.geotools.parameter.AbstractParameter org.geotools.parameter.ImagingParameter
ImagingParameter | final class ImagingParameter extends AbstractParameter implements ParameterValue(Code) | | A particular parameter in a JAI's
ParameterList .
since: 2.2 version: $Id: ImagingParameter.java 20874 2006-08-07 10:00:01Z jgarnett $ author: Martin Desruisseaux |
Constructor Summary | |
public | ImagingParameter(ParameterDescriptor descriptor, ParameterList parameters) Creates a new parameter from the specified list. |
Method Summary | |
public boolean | booleanValue() Returns the boolean value of an operation parameter. | public Object | clone() Returns a clone of this parameter. | public double | doubleValue(Unit unit) Always throws an exception, since this parameter has no unit. | public double | doubleValue() Returns the numeric value of the coordinate operation parameter. | public double[] | doubleValueList(Unit unit) Always throws an exception, since this parameter has no unit. | public double[] | doubleValueList() Returns an ordered sequence of two or more numeric values of an operation parameter list. | public boolean | equals(Object object) Compares the specified object with this parameter for equality. | public Unit | getUnit() Returns
null since JAI's parameters have no units. | public Object | getValue() Returns the parameter value as an object. | public int | hashCode() Returns a hash value for this parameter. | public int | intValue() Returns the positive integer value of an operation parameter. | public int[] | intValueList() Returns an ordered sequence of two or more integer values of an operation parameter list. | public void | setValue(double value, Unit unit) Always throws an exception, since this parameter has no unit. | public void | setValue(double value) Set the parameter value as a floating point. | public void | setValue(int value) Set the parameter value as an integer. | public void | setValue(boolean value) Set the parameter value as a boolean. | public void | setValue(Object value) Set the parameter value as an object. | public void | setValue(double[] values, Unit unit) Always throws an exception, since this parameter has no unit. | public String | stringValue() Returns the string value of an operation parameter. | public URI | valueFile() Returns a reference to a file or a part of a file containing one or more parameter value. |
ImagingParameter | public ImagingParameter(ParameterDescriptor descriptor, ParameterList parameters)(Code) | | Creates a new parameter from the specified list.
|
booleanValue | public boolean booleanValue() throws InvalidParameterTypeException(Code) | | Returns the boolean value of an operation parameter.
|
clone | public Object clone()(Code) | | Returns a clone of this parameter. Actually returns a different classes, since this
parameter is not really cloneable (it would requires a clone of
ImagingParameter.parameters first).
|
doubleValue | public double doubleValue(Unit unit) throws InvalidParameterTypeException(Code) | | Always throws an exception, since this parameter has no unit.
|
doubleValue | public double doubleValue() throws InvalidParameterTypeException(Code) | | Returns the numeric value of the coordinate operation parameter.
|
doubleValueList | public double[] doubleValueList(Unit unit) throws InvalidParameterTypeException(Code) | | Always throws an exception, since this parameter has no unit.
|
doubleValueList | public double[] doubleValueList() throws InvalidParameterTypeException(Code) | | Returns an ordered sequence of two or more numeric values of an operation parameter list.
|
equals | public boolean equals(Object object)(Code) | | Compares the specified object with this parameter for equality.
|
getUnit | public Unit getUnit()(Code) | | Returns
null since JAI's parameters have no units.
|
hashCode | public int hashCode()(Code) | | Returns a hash value for this parameter.
|
intValue | public int intValue() throws InvalidParameterTypeException(Code) | | Returns the positive integer value of an operation parameter.
|
intValueList | public int[] intValueList() throws InvalidParameterTypeException(Code) | | Returns an ordered sequence of two or more integer values of an operation parameter list.
|
setValue | public void setValue(double value, Unit unit) throws InvalidParameterValueException(Code) | | Always throws an exception, since this parameter has no unit.
|
setValue | public void setValue(double value) throws InvalidParameterValueException(Code) | | Set the parameter value as a floating point.
|
setValue | public void setValue(int value) throws InvalidParameterValueException(Code) | | Set the parameter value as an integer.
|
setValue | public void setValue(boolean value) throws InvalidParameterValueException(Code) | | Set the parameter value as a boolean.
|
setValue | public void setValue(Object value) throws InvalidParameterValueException(Code) | | Set the parameter value as an object. The object type is typically a
Double ,
Integer ,
Boolean ,
String ,
URI ,
double[] or
int[] .
|
setValue | public void setValue(double[] values, Unit unit) throws InvalidParameterValueException(Code) | | Always throws an exception, since this parameter has no unit.
|
stringValue | public String stringValue() throws InvalidParameterTypeException(Code) | | Returns the string value of an operation parameter.
|
valueFile | public URI valueFile() throws InvalidParameterTypeException(Code) | | Returns a reference to a file or a part of a file containing one or more parameter value.
|
Fields inherited from org.geotools.parameter.AbstractParameter | final GeneralParameterDescriptor descriptor(Code)(Java Doc)
|
|
|