com.guiseframework.component.effect
Interface Effect

All Known Implementing Classes:
AbstractEffect, DelayEffect, OpacityFadeEffect

public interface Effect

Encapsulates information for a component effect.

Author:
Garret Wilson

Field Summary
static java.lang.String DELAY_PROPERTY
          The delay bound property.
 
Method Summary
 int getDelay()
           
 void setDelay(int newDelay)
          Sets the delay before the effect takes place.
 

Field Detail

DELAY_PROPERTY

static final java.lang.String DELAY_PROPERTY
The delay bound property.

Method Detail

getDelay

int getDelay()
Returns:
The delay, in milliseconds, before the effect takes place.

setDelay

void setDelay(int newDelay)
Sets the delay before the effect takes place. This is a bound property of type Integer.

Parameters:
newDelay - The delay, in milliseconds, before the effect takes place.
Throws:
java.lang.IllegalArgumentException - if the given delay is negative.
See Also:
DELAY_PROPERTY


Copyright © 2005-2010 GlobalMentor, Inc. All Rights Reserved.