Tabnine Logo
AnimatableIntegerValue
Code IndexAdd Tabnine 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)

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

/**
 * 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: 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
  • getExternalFilesDir (Context)
  • getApplicationContext (Context)
  • getContentResolver (Context)
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • String (java.lang)
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now