org.wicketstuff.scriptaculous.effect
Class Effect.Opacity

java.lang.Object
  extended by org.wicketstuff.scriptaculous.effect.Effect.AbstractEffect
      extended by org.wicketstuff.scriptaculous.effect.Effect.Opacity
All Implemented Interfaces:
java.io.Serializable, Effect
Direct Known Subclasses:
Effect.Appear, Effect.Fade, Effect.Puff
Enclosing interface:
Effect

public static class Effect.Opacity
extends Effect.AbstractEffect

Core effect to change to opacity of an element.

See Also:
Effect.Appear, Effect.Fade, http://wiki.script.aculo.us/scriptaculous/show/Effect.Opacity, Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.wicketstuff.scriptaculous.effect.Effect
Effect.AbstractEffect, Effect.Appear, Effect.DropOut, Effect.Fade, Effect.Fold, Effect.Grow, Effect.Highlight, Effect.Multiple, Effect.Opacity, Effect.Parallel, Effect.Puff, Effect.Pulsate, Effect.Shake, Effect.Shrink, Effect.Squish, Effect.SwitchOff
 
Field Summary
 
Fields inherited from class org.wicketstuff.scriptaculous.effect.Effect.AbstractEffect
options
 
Constructor Summary
Effect.Opacity(org.apache.wicket.Component component)
           
 
Method Summary
protected  java.lang.String getEffectName()
           
 void setDuration(float seconds)
          set the duration of the transition.
 void setFrom(float from)
          set the starting opacity of the element
 void setTo(float to)
          set the ending opacity of the element
 
Methods inherited from class org.wicketstuff.scriptaculous.effect.Effect.AbstractEffect
addOption, setQueue, setSync, toJavascript, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Effect.Opacity

public Effect.Opacity(org.apache.wicket.Component component)
Method Detail

getEffectName

protected java.lang.String getEffectName()
Specified by:
getEffectName in class Effect.AbstractEffect

setDuration

public void setDuration(float seconds)
set the duration of the transition. default value is 1.0 seconds

Parameters:
seconds -

setFrom

public void setFrom(float from)
set the starting opacity of the element

Parameters:
from -

setTo

public void setTo(float to)
set the ending opacity of the element

Parameters:
from -


Copyright © 2006-2011 Wicket Stuff. All Rights Reserved.