Package org.wicketstuff.yui.helper

Examples of org.wicketstuff.yui.helper.Attributes


  }
 
  @Override
  public YuiAnimEffect mouseoutEffect()
  {
    Attributes attributes = new Attributes();
    attributes.add(HIDE_ATTRIBUTE);
    attributes.add(new Attributes("opacity", getSettings().getOpacity(), 0f));
    return new YuiAnim(YuiAnimEffect.Type.Anim, attributes, 1, YuiEasing.easeNone)
  }
View Full Code Here


   * @see org.wicketstuff.yui.markup.html.animation.thumbnail.AnimatedItem#onselectEffect()
   */
  @Override
  public YuiAnimEffect onselectEffect()
  {
    Attributes attributes = new Attributes();
    attributes.add(SHOW_ATTRIBUTE);
    attributes.add(new Attributes("width", 0, getSettings().getPictureWidth()));
    attributes.add(new Attributes("height", 0, getSettings().getPictureHeight()));
    attributes.add(new Attributes("top", 0, getSettings().getPictureTop()));
    attributes.add(new Attributes("left", 0, getSettings().getPictureLeft()));
   
    return new YuiAnim(YuiAnimEffect.Type.Anim, attributes, 1, YuiEasing.easeNone)
  }
View Full Code Here

  }
 
  @Override
  public YuiAnimEffect onunselectEffect()
  {
    Attributes attributes = new Attributes();
    attributes.add(HIDE_ATTRIBUTE);
    attributes.add(new Attributes("width", getSettings().getPictureWidth(), 0));
    attributes.add(new Attributes("height", getSettings().getPictureHeight(), 0));
    return new YuiAnim(YuiAnimEffect.Type.Anim, attributes, 1, YuiEasing.easeNone)
  }
View Full Code Here

   *
   * @param type
   */
  public YuiAnimEffect(Type type)
  {
    this(type, new Attributes());
  }
View Full Code Here

   * Override this for your own config
   * @return
   */
  protected String getOpts()
  {
    Attributes attributes = new Attributes();
    attributes.add(new Attributes("visible", true));
    attributes.add(new Attributes("clicktohide", false));
    return attributes.toString();
  }
View Full Code Here

TOP

Related Classes of org.wicketstuff.yui.helper.Attributes

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.