All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.media.j3d.TransparencyInterpolator

java.lang.Object
   |
   +----java.media.j3d.SceneGraphObject
           |
           +----java.media.j3d.Node
                   |
                   +----java.media.j3d.Leaf
                           |
                           +----java.media.j3d.Behavior
                                   |
                                   +----java.media.j3d.Interpolator
                                           |
                                           +----java.media.j3d.TransparencyInterpolator

public class TransparencyInterpolator
extends Interpolator
Transparency interpolation behavior. This class constructs a behavior that varies the translation component of its target TransformGroup.


Constructor Index

 o TransparencyInterpolator(Alpha, TransparencyAttributes)
Constructs a trivial transparency interpolator witha apecified target a minimum transparency of 0.0f and a maximum transparency of 1.0.
 o TransparencyInterpolator(Alpha, TransparencyAttributes, float, float)
Constructs a new transparency interpolator that varies the target material's transparency between the two transparency values.

Method Index

 o getMaximumTransparency()
Retrieve this Interpolator's maximumTransparency
 o getMinimumTransparency()
Retrieve this Interpolator's minimumTransparency
 o getTarget()
Retrieve this Interpolator's target reference
 o processStimulus(Enumeration)
The TransparencyInterpolator Behavior
 o setMaximumTransparency(float)
Set the maximumTransparency for this Interpolator
 o setMinimumTransparency(float)
Set the minimumTransparency for this Interpolator
 o setTarget(TransparencyAttributes)
Set the target for this Interpolator

Constructors

 o TransparencyInterpolator
 public TransparencyInterpolator(Alpha alpha,
                                 TransparencyAttributes target)
Constructs a trivial transparency interpolator witha apecified target a minimum transparency of 0.0f and a maximum transparency of 1.0.

Parameters:
alpha - The alpha object for this Interpolator
target - the TransparencyAttributes component object effected by this transparencyInterpolator
 o TransparencyInterpolator
 public TransparencyInterpolator(Alpha alpha,
                                 TransparencyAttributes target,
                                 float minimumTransparency,
                                 float maximumTransparency)
Constructs a new transparency interpolator that varies the target material's transparency between the two transparency values.

Parameters:
alpha - The alpha object for this Interpolator
target - the TransparencyAttributes component object effected by this transparencyInterpolator
minimumTransparency - the starting transparency
maximumTransparency - the ending transparency

Methods

 o setMinimumTransparency
 public void setMinimumTransparency(float transparency)
Set the minimumTransparency for this Interpolator

Parameters:
transparency - The new minimal transparency
 o getMinimumTransparency
 public float getMinimumTransparency()
Retrieve this Interpolator's minimumTransparency

Returns:
the interpolator's minimal transparency value
 o setMaximumTransparency
 public void setMaximumTransparency(float transparency)
Set the maximumTransparency for this Interpolator

Parameters:
transparency - The new maximal transparency
 o getMaximumTransparency
 public float getMaximumTransparency()
Retrieve this Interpolator's maximumTransparency

Returns:
the interpolator's maximal transparency vslue
 o setTarget
 public void setTarget(TransparencyAttributes target)
Set the target for this Interpolator

Parameters:
target - The target TransparencyAttributes object
 o getTarget
 public TransparencyAttributes getTarget()
Retrieve this Interpolator's target reference

Returns:
the Interpolator's target TransparencyAttributes object
 o processStimulus
 public void processStimulus(Enumeration criteria)
The TransparencyInterpolator Behavior

Parameters:
criteria - an enumeration of the criteria that caused the stimulus
Overrides:
processStimulus in class Behavior

All Packages  Class Hierarchy  This Package  Previous  Next  Index