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.
-
TransparencyInterpolator(Alpha, TransparencyAttributes)
- Constructs a trivial transparency interpolator witha apecified target
a minimum transparency of 0.0f and a maximum transparency of 1.0.
-
TransparencyInterpolator(Alpha, TransparencyAttributes, float, float)
- Constructs a new transparency interpolator that varies the target
material's transparency between the two transparency values.
-
getMaximumTransparency()
- Retrieve this Interpolator's maximumTransparency
-
getMinimumTransparency()
- Retrieve this Interpolator's minimumTransparency
-
getTarget()
- Retrieve this Interpolator's target reference
-
processStimulus(Enumeration)
- The TransparencyInterpolator Behavior
-
setMaximumTransparency(float)
- Set the maximumTransparency for this Interpolator
-
setMinimumTransparency(float)
- Set the minimumTransparency for this Interpolator
-
setTarget(TransparencyAttributes)
- Set the target for this Interpolator
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
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
setMinimumTransparency
public void setMinimumTransparency(float transparency)
- Set the minimumTransparency for this Interpolator
- Parameters:
- transparency - The new minimal transparency
getMinimumTransparency
public float getMinimumTransparency()
- Retrieve this Interpolator's minimumTransparency
- Returns:
- the interpolator's minimal transparency value
setMaximumTransparency
public void setMaximumTransparency(float transparency)
- Set the maximumTransparency for this Interpolator
- Parameters:
- transparency - The new maximal transparency
getMaximumTransparency
public float getMaximumTransparency()
- Retrieve this Interpolator's maximumTransparency
- Returns:
- the interpolator's maximal transparency vslue
setTarget
public void setTarget(TransparencyAttributes target)
- Set the target for this Interpolator
- Parameters:
- target - The target TransparencyAttributes object
getTarget
public TransparencyAttributes getTarget()
- Retrieve this Interpolator's target reference
- Returns:
- the Interpolator's target TransparencyAttributes object
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