org.zilonis.tool.ext.aerith.effects
Class Unchanging

java.lang.Object
  extended by org.zilonis.tool.ext.aerith.effects.ComponentEffect
      extended by org.zilonis.tool.ext.aerith.effects.Unchanging

public class Unchanging
extends ComponentEffect


Field Summary
 
Fields inherited from class org.zilonis.tool.ext.aerith.effects.ComponentEffect
componentImage, end, height, renderComponent, start, width, x, y
 
Constructor Summary
Unchanging()
          Creates a new instance of Unchanging
Unchanging(ComponentState start, ComponentState end)
           
 
Method Summary
 void setup(java.awt.Graphics2D g2d, float fraction)
          This method is called during each frame of the transition animation, prior to the call to paint().
 
Methods inherited from class org.zilonis.tool.ext.aerith.effects.ComponentEffect
getComponent, getComponentImage, getEnd, getStart, paint, setComponentImage, setComponentStates, setEnd, setStart
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Unchanging

public Unchanging()
Creates a new instance of Unchanging


Unchanging

public Unchanging(ComponentState start,
                  ComponentState end)
Method Detail

setup

public void setup(java.awt.Graphics2D g2d,
                  float fraction)
Description copied from class: ComponentEffect
This method is called during each frame of the transition animation, prior to the call to paint(). Subclasses will implement this method to set up the Graphic state, or other related state, that will be used in the following call to the paint() method. Note that changes to the Graphics2D object here will still be present in the Graphics2D object that is passed into the paint() method, so this is a good time to set up things such as transform state.

Overrides:
setup in class ComponentEffect
Parameters:
g2d - the Graphics2D destination for this rendering
fraction - The fraction of elapsed time in this animation