| javax.media.jai.ParameterList
All known Subclasses: javax.media.jai.ParameterBlockJAI, javax.media.jai.ParameterListImpl,
ParameterList | public interface ParameterList (Code) | | An interface to represent a list of parameter name-value pairs.
All comparisons using String s are done in a case
insensitive (but retentive) manner.
See Also: ParameterListDescriptor since: JAI 1.1 |
Method Summary | |
public boolean | getBooleanParameter(String paramName) A convenience method to return a parameter as a boolean . | public byte | getByteParameter(String paramName) A convenience method to return a parameter as a byte . | public char | getCharParameter(String paramName) A convenience method to return a parameter as a char . | public double | getDoubleParameter(String paramName) A convenience method to return a parameter as a double . | public float | getFloatParameter(String paramName) A convenience method to return a parameter as a float . | public int | getIntParameter(String paramName) A convenience method to return a parameter as an int . | public long | getLongParameter(String paramName) A convenience method to return a parameter as a long . | public Object | getObjectParameter(String paramName) Gets a named parameter as an Object . | public ParameterListDescriptor | getParameterListDescriptor() Returns the associated ParameterListDescriptor . | public short | getShortParameter(String paramName) A convenience method to return a parameter as a short . | public ParameterList | setParameter(String paramName, byte b) Sets a named parameter to a byte value. | public ParameterList | setParameter(String paramName, boolean b) Sets a named parameter to a boolean value. | public ParameterList | setParameter(String paramName, char c) Sets a named parameter to a char value.
Implementing classes are free but not required to check class type,
ranges, and enumeration types.
Parameters: paramName - a String naming a parameter. Parameters: c - a char value for the parameter. | public ParameterList | setParameter(String paramName, short s) Sets a named parameter to a short value.
Implementing classes are free but not required to check class type,
ranges, and enumeration types.
Parameters: paramName - a String naming a parameter. Parameters: s - a short value for the parameter. | public ParameterList | setParameter(String paramName, int i) Sets a named parameter to an int value.
Implementing classes are free but not required to check class type,
ranges, and enumeration types.
Parameters: paramName - a String naming a parameter. Parameters: i - an int value for the parameter. | public ParameterList | setParameter(String paramName, long l) Sets a named parameter to a long value.
Implementing classes are free but not required to check class type,
ranges, and enumeration types.
Parameters: paramName - a String naming a parameter. Parameters: l - a long value for the parameter. | public ParameterList | setParameter(String paramName, float f) Sets a named parameter to a float value.
Implementing classes are free but not required to check class type,
ranges, and enumeration types.
Parameters: paramName - a String naming a parameter. Parameters: f - a float value for the parameter. | public ParameterList | setParameter(String paramName, double d) Sets a named parameter to a double value.
Implementing classes are free but not required to check class type,
ranges, and enumeration types.
Parameters: paramName - a String naming a parameter. Parameters: d - a double value for the parameter. | public ParameterList | setParameter(String paramName, Object obj) Sets a named parameter to an Object value. |
getBooleanParameter | public boolean getBooleanParameter(String paramName)(Code) | | A convenience method to return a parameter as a boolean .
Parameters: paramName - the name of the parameter to be returned. throws: IllegalArgumentException - if paramName is null. throws: IllegalArgumentException - if there is no parameter with thespecified name. throws: ClassCastException - if the parameter is of a different type. throws: IllegalStateException - if the parameter value is stillParameterListDescriptor.NO_PARAMETER_DEFAULT |
getByteParameter | public byte getByteParameter(String paramName)(Code) | | A convenience method to return a parameter as a byte .
Parameters: paramName - the name of the parameter to be returned. throws: IllegalArgumentException - if paramName is null. throws: IllegalArgumentException - if there is no parameter with thespecified name. throws: ClassCastException - if the parameter is of a different type. throws: IllegalStateException - if the parameter value is stillParameterListDescriptor.NO_PARAMETER_DEFAULT |
getCharParameter | public char getCharParameter(String paramName)(Code) | | A convenience method to return a parameter as a char .
Parameters: paramName - the name of the parameter to be returned. throws: IllegalArgumentException - if paramName is null. throws: IllegalArgumentException - if there is no parameter with thespecified name. throws: ClassCastException - if the parameter is of a different type. throws: IllegalStateException - if the parameter value is stillParameterListDescriptor.NO_PARAMETER_DEFAULT |
getDoubleParameter | public double getDoubleParameter(String paramName)(Code) | | A convenience method to return a parameter as a double .
Parameters: paramName - the name of the parameter to be returned. throws: IllegalArgumentException - if paramName is null. throws: IllegalArgumentException - if there is no parameter with thespecified name. throws: ClassCastException - if the parameter is of a different type. throws: IllegalStateException - if the parameter value is stillParameterListDescriptor.NO_PARAMETER_DEFAULT |
getFloatParameter | public float getFloatParameter(String paramName)(Code) | | A convenience method to return a parameter as a float .
Parameters: paramName - the name of the parameter to be returned. throws: IllegalArgumentException - if paramName is null. throws: IllegalArgumentException - if there is no parameter with thespecified name. throws: ClassCastException - if the parameter is of a different type. throws: IllegalStateException - if the parameter value is stillParameterListDescriptor.NO_PARAMETER_DEFAULT |
getIntParameter | public int getIntParameter(String paramName)(Code) | | A convenience method to return a parameter as an int .
Parameters: paramName - the name of the parameter to be returned. throws: IllegalArgumentException - if paramName is null. throws: IllegalArgumentException - if there is no parameter with thespecified name. throws: ClassCastException - if the parameter is of a different type. throws: IllegalStateException - if the parameter value is stillParameterListDescriptor.NO_PARAMETER_DEFAULT |
getLongParameter | public long getLongParameter(String paramName)(Code) | | A convenience method to return a parameter as a long .
Parameters: paramName - the name of the parameter to be returned. throws: IllegalArgumentException - if paramName is null. throws: IllegalArgumentException - if there is no parameter with thespecified name. throws: ClassCastException - if the parameter is of a different type. throws: IllegalStateException - if the parameter value is stillParameterListDescriptor.NO_PARAMETER_DEFAULT |
getObjectParameter | public Object getObjectParameter(String paramName)(Code) | | Gets a named parameter as an Object . Parameters
belonging to a primitive type, such as int, will be returned as a
member of the corresponding wrapper class, such as
Integer .
Parameters: paramName - the name of the parameter to be returned. throws: IllegalArgumentException - if paramName is null. throws: IllegalArgumentException - if there is no parameter with thespecified name. throws: IllegalStateException - if the parameter value is stillParameterListDescriptor.NO_PARAMETER_DEFAULT |
getShortParameter | public short getShortParameter(String paramName)(Code) | | A convenience method to return a parameter as a short .
Parameters: paramName - the name of the parameter to be returned. throws: IllegalArgumentException - if paramName is null. throws: IllegalArgumentException - if there is no parameter with thespecified name. throws: ClassCastException - if the parameter is of a different type. throws: IllegalStateException - if the parameter value is stillParameterListDescriptor.NO_PARAMETER_DEFAULT |
setParameter | public ParameterList setParameter(String paramName, byte b)(Code) | | Sets a named parameter to a byte value.
Implementing classes are free but not required to check class type,
ranges, and enumeration types.
Parameters: paramName - a String naming a parameter. Parameters: b - a byte value for the parameter. throws: IllegalArgumentException - if paramName is null. throws: IllegalArgumentException - if there is no parameter with thespecified name. |
setParameter | public ParameterList setParameter(String paramName, boolean b)(Code) | | Sets a named parameter to a boolean value.
Implementing classes are free but not required to check class type,
ranges, and enumeration types.
Parameters: paramName - a String naming a parameter. Parameters: b - a boolean value for the parameter. throws: IllegalArgumentException - if paramName is null. throws: IllegalArgumentException - if there is no parameter with thespecified name. |
setParameter | public ParameterList setParameter(String paramName, char c)(Code) | | Sets a named parameter to a char value.
Implementing classes are free but not required to check class type,
ranges, and enumeration types.
Parameters: paramName - a String naming a parameter. Parameters: c - a char value for the parameter. throws: IllegalArgumentException - if paramName is null. throws: IllegalArgumentException - if there is no parameter with thespecified name. |
setParameter | public ParameterList setParameter(String paramName, short s)(Code) | | Sets a named parameter to a short value.
Implementing classes are free but not required to check class type,
ranges, and enumeration types.
Parameters: paramName - a String naming a parameter. Parameters: s - a short value for the parameter. throws: IllegalArgumentException - if paramName is null. throws: IllegalArgumentException - if there is no parameter with thespecified name. |
setParameter | public ParameterList setParameter(String paramName, int i)(Code) | | Sets a named parameter to an int value.
Implementing classes are free but not required to check class type,
ranges, and enumeration types.
Parameters: paramName - a String naming a parameter. Parameters: i - an int value for the parameter. throws: IllegalArgumentException - if paramName is null. throws: IllegalArgumentException - if there is no parameter with thespecified name. |
setParameter | public ParameterList setParameter(String paramName, long l)(Code) | | Sets a named parameter to a long value.
Implementing classes are free but not required to check class type,
ranges, and enumeration types.
Parameters: paramName - a String naming a parameter. Parameters: l - a long value for the parameter. throws: IllegalArgumentException - if paramName is null. throws: IllegalArgumentException - if there is no parameter with thespecified name. |
setParameter | public ParameterList setParameter(String paramName, float f)(Code) | | Sets a named parameter to a float value.
Implementing classes are free but not required to check class type,
ranges, and enumeration types.
Parameters: paramName - a String naming a parameter. Parameters: f - a float value for the parameter. throws: IllegalArgumentException - if paramName is null. throws: IllegalArgumentException - if there is no parameter with thespecified name. |
setParameter | public ParameterList setParameter(String paramName, double d)(Code) | | Sets a named parameter to a double value.
Implementing classes are free but not required to check class type,
ranges, and enumeration types.
Parameters: paramName - a String naming a parameter. Parameters: d - a double value for the parameter. throws: IllegalArgumentException - if paramName is null. throws: IllegalArgumentException - if there is no parameter with thespecified name. |
setParameter | public ParameterList setParameter(String paramName, Object obj)(Code) | | Sets a named parameter to an Object value.
Implementing classes are free but not required to check class type,
ranges, and enumeration types.
Parameters: paramName - a String naming a parameter. Parameters: obj - an Object value for the parameter. throws: IllegalArgumentException - if paramName is null. throws: IllegalArgumentException - if there is no parameter with thespecified name.pointed to by the paramName. |
|
|