blob: ddd958b1d23aa20ca4118a9f43e141b622c4c1b7 [file] [log] [blame]
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.myfaces.html5.component.animation;
import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent;
import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty;
import org.apache.myfaces.html5.component.properties.EventProperty;
import org.apache.myfaces.html5.component.properties.effect.TransitionProperties;
/**
* Convenience tag to activate a keyframe animation on an event of ClientBehaviorHolder.<br/>
* Accepts no children.
*
* @author Ali Ok
*/
@JSFComponent(
name = "fx:animation",
clazz = "org.apache.myfaces.html5.component.animation.Animation",
tagClass = "org.apache.myfaces.html5.tag.animation.AnimationTag",
defaultRendererType = "org.apache.myfaces.html5.Animation",
family = "org.apache.myfaces.Animation",
type = "org.apache.myfaces.html5.Animation"
)
public abstract class AbstractAnimation extends javax.faces.component.UIComponentBase implements TransitionProperties, EventProperty {
@JSFProperty(deferredValueType = "java.lang.String")
public abstract String getIteration();
@JSFProperty(deferredValueType = "java.lang.String")
public abstract String getDirection();
@JSFProperty(deferredValueType = "java.lang.String", required = true)
public abstract String getKeyFrame();
}