org.richfaces.resource
Interface Java2DAnimatedUserResource

All Superinterfaces:
Java2DUserResource

public interface Java2DAnimatedUserResource
extends Java2DUserResource

Author:
Nick Belaevski

Method Summary
 int getFrameDelay()
           
 boolean hasNextFrame()
           
 boolean isLooped()
           
 void paint(java.awt.Graphics2D graphics2d, java.awt.Dimension dimension)
           
 void startFramesSequence()
           
 
Methods inherited from interface org.richfaces.resource.Java2DUserResource
getDimension, getImageType, getLastModified, getResponseHeaders
 

Method Detail

isLooped

boolean isLooped()

getFrameDelay

int getFrameDelay()

startFramesSequence

void startFramesSequence()

hasNextFrame

boolean hasNextFrame()

paint

void paint(java.awt.Graphics2D graphics2d,
           java.awt.Dimension dimension)
Specified by:
paint in interface Java2DUserResource


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.