API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.awt.image.renderable. ParameterBlock View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      ParameterBlock
Implements
 Cloneable
 Serializable
Subclasses
Description
public class ParameterBlock
  A ParameterBlock encapsulates all the information about sources and parameters (Objects) required by a RenderableImageOp, or other classes that process images.
See also:   
Constructors
public ParameterBlock ()
A dummy constructor.
public ParameterBlock (Vector<Object> sources)
  Constructs a ParameterBlock with a given Vector of sources.
public ParameterBlock (Vector<Object> sources, Vector<Object> parameters)
  Constructs a ParameterBlock with a given Vector of sources and Vector of parameters.
Methods
Hide/Show inherited methods
public ParameterBlock add (byte b)
  Adds a Byte to the list of parameters.
public ParameterBlock add (char c)
  Adds a Character to the list of parameters.
public ParameterBlock add (double d)
  Adds a Double to the list of parameters.
public ParameterBlock add (float f)
  Adds a Float to the list of parameters.
public ParameterBlock add (int i)
  Adds a Integer to the list of parameters.
public ParameterBlock add (long l)
  Adds a Long to the list of parameters.
public ParameterBlock add (Object obj)
  Adds an object to the list of parameters.
public ParameterBlock add (short s)
  Adds a Short to the list of parameters.
public ParameterBlock addSource (Object source)
  Adds an image to end of the list of sources.
public Object clone ()
  Creates a copy of a ParameterBlock.
public byte getByteParameter (int index)
  A convenience method to return a parameter as a byte.
public char getCharParameter (int index)
  A convenience method to return a parameter as a char.
public double getDoubleParameter (int index)
  A convenience method to return a parameter as a double.
public float getFloatParameter (int index)
  A convenience method to return a parameter as a float.
public int getIntParameter (int index)
  A convenience method to return a parameter as an int.
public long getLongParameter (int index)
  A convenience method to return a parameter as a long.
public int getNumParameters ()
  Returns the number of parameters (not including source images).
public int getNumSources ()
  Returns the number of source images.
public Object getObjectParameter (int index)
  Gets a parameter as an object.
public Class getParamClasses ()
  Returns an array of Class objects describing the types of the parameters.
public Vector<Object> getParameters ()
  Returns the entire Vector of parameters.
public RenderableImage getRenderableSource (int index)
  Returns a source as a RenderableImage.
public RenderedImage getRenderedSource (int index)
  Returns a source as a RenderedImage.
public short getShortParameter (int index)
  A convenience method to return a parameter as a short.
public Object getSource (int index)
  Returns a source as a general Object.
public Vector<Object> getSources ()
  Returns the entire Vector of sources.
public void removeParameters ()
Clears the list of parameters.
public void removeSources ()
Clears the list of source images.
public ParameterBlock set (byte b, int index)
  Replaces an Object in the list of parameters with a Byte.
public ParameterBlock set (char c, int index)
  Replaces an Object in the list of parameters with a Character.
public ParameterBlock set (double d, int index)
  Replaces an Object in the list of parameters with a Double.
public ParameterBlock set (float f, int index)
  Replaces an Object in the list of parameters with a Float.
public ParameterBlock set (int i, int index)
  Replaces an Object in the list of parameters with an Integer.
public ParameterBlock set (long l, int index)
  Replaces an Object in the list of parameters with a Long.
public ParameterBlock set (Object obj, int index)
  Replaces an Object in the list of parameters.
public ParameterBlock set (short s, int index)
  Replaces an Object in the list of parameters with a Short.
public void setParameters (Vector<Object> parameters)
  Sets the entire Vector of parameters to a given Vector.
public ParameterBlock setSource (Object source, int index)
  Replaces an entry in the list of source with a new source.
public void setSources (Vector<Object> sources)
  Sets the entire Vector of sources to a given Vector.
public Object shallowClone ()
  Creates a shallow copy of a ParameterBlock.
Fields
Hide/Show inherited fields
protected Vector<Object> parameters
A Vector of non-source parameters, stored as arbitrary Objects.
protected Vector<Object> sources
A Vector of sources, stored as arbitrary Objects.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar