Class anim.HorizontalFlipEffect
All Packages Class Hierarchy This Package Previous Next Index
Class anim.HorizontalFlipEffect
java.lang.Object
|
+----anim.Effect
|
+----anim.HorizontalFlipEffect
- public class HorizontalFlipEffect
- extends Effect
A Horizontal flip effect. Takes it's input and flips it Horizontally--
about a vertical line through its middle.
Copyright (c) 1996-1997 Intel Corporation
-
HorizontalFlipEffect()
- Creates a HorizontalFlipEffect.
-
activate(boolean)
- Conditionally causes an effect to be applied to a displayable object.
-
objApplyEffect(int)
- not applet visible
-
objRemoveEffect(int)
- not applet visible
-
setInputView(Rectangle)
- Not applet visible.
-
setOutputView()
- Not applet visible.
-
toString()
- Returns the String representation of this Effect's internal state.
HorizontalFlipEffect
public HorizontalFlipEffect()
- Creates a HorizontalFlipEffect.
objApplyEffect
protected int objApplyEffect(int hObj)
- not applet visible
- Overrides:
- objApplyEffect in class Effect
objRemoveEffect
protected int objRemoveEffect(int hObj)
- not applet visible
- Overrides:
- objRemoveEffect in class Effect
setInputView
protected boolean setInputView(Rectangle rect)
- Not applet visible.
Specifies the input view rect for this effect. This is a rectangle within
the input that will be used as the input region for
this effect. It is used by an effect that is applied
immediately before this effect to infrom this effect about the
input rect that is going to be presented to it
- Returns:
- false if the passed in rectangle causes
parameters for this effect or a downstream effect to be out of range
true otherwise
- Overrides:
- setInputView in class Effect
setOutputView
protected boolean setOutputView()
- Not applet visible. Sets the output view for this effect.
This is a rectangle
that defines a region on
the output that this effect maps to
- Returns:
- false if parameters are out of range for this effect.
true otherwise
- Overrides:
- setOutputView in class Effect
activate
public boolean activate(boolean cond)
- Conditionally causes an effect to be applied to a displayable object.
- Parameters:
- cond - if true, it activates the effect; deactivates otherwise.
- Returns:
- always true for this effect;
- Overrides:
- activate in class Effect
toString
public String toString()
- Returns the String representation of this Effect's internal state.
- Overrides:
- toString in class Effect
All Packages Class Hierarchy This Package Previous Next Index