Codota Logo
AnimatableIntegerValue
Code IndexAdd Codota to your IDE (free)

How to use
AnimatableIntegerValue
in
org.apache.batik.anim.values

Best Java code snippets using org.apache.batik.anim.values.AnimatableIntegerValue (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Point p =
  • Codota Iconnew Point(x, y)
  • Codota Iconnew Point()
  • Codota IconMouseEvent e;e.getPoint()
  • Smart code suggestions by Codota
}
origin: fr.avianey.apache-xmlgraphics/batik

/**
 * Returns a zero value of this AnimatableValue's type.
 */
public AnimatableValue getZeroValue() {
  return new AnimatableIntegerValue(target, 0);
}
origin: apache/batik

AnimatableIntegerValue res;
if (result == null) {
  res = new AnimatableIntegerValue(target);
} else {
  res = (AnimatableIntegerValue) result;
if (to != null) {
  AnimatableIntegerValue toInteger = (AnimatableIntegerValue) to;
  v += value + interpolation * (toInteger.getValue() - value);
  v += multiplier * accInteger.getValue();
origin: fr.avianey.apache-xmlgraphics/batik

/**
 * Updates the animated value with the given {@link AnimatableValue}.
 */
protected void updateAnimatedValue(AnimatableValue val) {
  if (val == null) {
    hasAnimVal = false;
  } else {
    hasAnimVal = true;
    this.animVal = ((AnimatableIntegerValue) val).getValue();
  }
  fireAnimatedAttributeListeners();
}
origin: org.apache.xmlgraphics/batik-anim

/**
 * Updates the animated value with the given {@link AnimatableValue}.
 */
protected void updateAnimatedValue(AnimatableValue val) {
  if (val == null) {
    hasAnimVal = false;
  } else {
    hasAnimVal = true;
    this.animVal = ((AnimatableIntegerValue) val).getValue();
  }
  fireAnimatedAttributeListeners();
}
origin: org.apache.xmlgraphics/batik-anim

/**
 * Returns a zero value of this AnimatableValue's type.
 */
public AnimatableValue getZeroValue() {
  return new AnimatableIntegerValue(target, 0);
}
origin: org.apache.xmlgraphics/batik-anim

AnimatableIntegerValue res;
if (result == null) {
  res = new AnimatableIntegerValue(target);
} else {
  res = (AnimatableIntegerValue) result;
if (to != null) {
  AnimatableIntegerValue toInteger = (AnimatableIntegerValue) to;
  v += value + interpolation * (toInteger.getValue() - value);
  v += multiplier * accInteger.getValue();
origin: apache/batik

/**
 * Updates the animated value with the given {@link AnimatableValue}.
 */
protected void updateAnimatedValue(AnimatableValue val) {
  if (val == null) {
    hasAnimVal = false;
  } else {
    hasAnimVal = true;
    this.animVal = ((AnimatableIntegerValue) val).getValue();
  }
  fireAnimatedAttributeListeners();
}
origin: apache/batik

/**
 * Returns a zero value of this AnimatableValue's type.
 */
public AnimatableValue getZeroValue() {
  return new AnimatableIntegerValue(target, 0);
}
origin: fr.avianey.apache-xmlgraphics/batik

AnimatableIntegerValue res;
if (result == null) {
  res = new AnimatableIntegerValue(target);
} else {
  res = (AnimatableIntegerValue) result;
if (to != null) {
  AnimatableIntegerValue toInteger = (AnimatableIntegerValue) to;
  v += value + interpolation * (toInteger.getValue() - value);
  v += multiplier * accInteger.getValue();
origin: org.apache.xmlgraphics/batik-bridge

/**
 * Creates a new AnimatableValue from a string.
 */
public AnimatableValue createValue(AnimationTarget target, String ns,
                  String ln, boolean isCSS, String s) {
  return new AnimatableIntegerValue(target, Integer.parseInt(s));
}
origin: apache/batik

/**
 * Creates a new AnimatableValue from a string.
 */
public AnimatableValue createValue(AnimationTarget target, String ns,
                  String ln, boolean isCSS, String s) {
  return new AnimatableIntegerValue(target, Integer.parseInt(s));
}
origin: fr.avianey.apache-xmlgraphics/batik

/**
 * Creates a new AnimatableValue from a string.
 */
public AnimatableValue createValue(AnimationTarget target, String ns,
                  String ln, boolean isCSS, String s) {
  return new AnimatableIntegerValue(target, Integer.parseInt(s));
}
origin: org.apache.xmlgraphics/batik-anim

/**
 * Returns the base value of the attribute as an {@link AnimatableValue}.
 */
public AnimatableValue getUnderlyingValue(AnimationTarget target) {
  return new AnimatableIntegerValue(target, getBaseVal());
}
origin: fr.avianey.apache-xmlgraphics/batik

  /**
   * Creates a new AnimatableValue from a CSS {@link Value}.
   */
  public AnimatableValue createValue(AnimationTarget target, String pn,
                    Value v) {
    return new AnimatableIntegerValue(target,
                     Math.round(v.getFloatValue()));
  }
}
origin: fr.avianey.apache-xmlgraphics/batik

/**
 * Returns the base value of the attribute as an {@link AnimatableValue}.
 */
public AnimatableValue getUnderlyingValue(AnimationTarget target) {
  return new AnimatableIntegerValue(target, getBaseVal());
}
origin: apache/batik

  /**
   * Creates a new AnimatableValue from a CSS {@link Value}.
   */
  public AnimatableValue createValue(AnimationTarget target, String pn,
                    Value v) {
    return new AnimatableIntegerValue(target,
                     Math.round(v.getFloatValue()));
  }
}
origin: apache/batik

  /**
   * Creates a new AnimatableValue from a CSS {@link Value}.
   */
  public AnimatableValue createValue(AnimationTarget target, String pn,
                    Value v) {
    return new AnimatableIntegerValue(target,
                     Math.round(v.getFloatValue()));
  }
}
origin: org.apache.xmlgraphics/batik-bridge

  /**
   * Creates a new AnimatableValue from a CSS {@link Value}.
   */
  public AnimatableValue createValue(AnimationTarget target, String pn,
                    Value v) {
    return new AnimatableIntegerValue(target,
                     Math.round(v.getFloatValue()));
  }
}
origin: org.apache.xmlgraphics/batik-bridge

  /**
   * Creates a new AnimatableValue from a CSS {@link Value}.
   */
  public AnimatableValue createValue(AnimationTarget target, String pn,
                    Value v) {
    return new AnimatableIntegerValue(target,
                     Math.round(v.getFloatValue()));
  }
}
origin: fr.avianey.apache-xmlgraphics/batik

  /**
   * Creates a new AnimatableValue from a CSS {@link Value}.
   */
  public AnimatableValue createValue(AnimationTarget target, String pn,
                    Value v) {
    return new AnimatableIntegerValue(target,
                     Math.round(v.getFloatValue()));
  }
}
org.apache.batik.anim.valuesAnimatableIntegerValue

Javadoc

An integer in the animation engine.

Most used methods

  • <init>
    Creates a new AnimatableIntegerValue.
  • getValue
    Returns the integer value.

Popular in Java

  • Making http post requests using okhttp
  • scheduleAtFixedRate (Timer)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • getApplicationContext (Context)
  • FileWriter (java.io)
    Convenience class for writing character files. The constructors of this class assume that the defaul
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • JComboBox (javax.swing)
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Join (org.hibernate.mapping)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now