Codota Logo
TimelinePropertyBuilder$AbstractFieldInfo
Code IndexAdd Codota to your IDE (free)

How to use
TimelinePropertyBuilder$AbstractFieldInfo
in
org.pushingpixels.trident

Best Java code snippets using org.pushingpixels.trident.TimelinePropertyBuilder$AbstractFieldInfo (Showing top 6 results out of 315)

  • Common ways to obtain TimelinePropertyBuilder$AbstractFieldInfo
private void myMethod () {
TimelinePropertyBuilder$AbstractFieldInfo t =
  • Codota IconTimelinePropertyBuilder timelinePropertyBuilder;Object object;String str;KeyFrames keyFrames;new KeyFramesFieldInfo(timelinePropertyBuilder, object, str, keyFrames)
  • Smart code suggestions by Codota
}
origin: com.github.insubstantial/trident

@Override
public void onTimelineStateChanged(TimelineState oldState,
    TimelineState newState, float durationFraction,
    float timelinePosition) {
  if (newState == TimelineState.READY) {
    for (AbstractFieldInfo fInfo : propertiesToInterpolate) {
      // check whether the object is in the ready state
      if ((uiToolkitHandler != null)
          && !uiToolkitHandler.isInReadyState(fInfo.object))
        continue;
      fInfo.onStart();
    }
  }
  // Fix for issue 5 - update field values only when
  // either old or new state (or both) are active. Otherwise
  // it's a transition between inactive states (such as from
  // DONE to IDLE) that shouldn't trigger the property changes
  if (oldState.isActive || newState.isActive) {
    for (AbstractFieldInfo fInfo : propertiesToInterpolate) {
      // check whether the object is in the ready state
      if ((uiToolkitHandler != null)
          && !uiToolkitHandler.isInReadyState(fInfo.object))
        continue;
      fInfo.updateFieldValue(timelinePosition);
    }
  }
}
origin: com.github.insubstantial/trident

  @Override
  public void onTimelinePulse(float durationFraction,
      float timelinePosition) {
    for (AbstractFieldInfo fInfo : propertiesToInterpolate) {
      // check whether the object is in the ready state
      if ((uiToolkitHandler != null)
          && !uiToolkitHandler.isInReadyState(fInfo.object))
        continue;
      // System.err.println("Timeline @" + Timeline.this.hashCode()
      // + " at position " + timelinePosition);
      fInfo.updateFieldValue(timelinePosition);
    }
  }
}
origin: org.pushing-pixels/trident

  @Override
  public void onTimelinePulse(float durationFraction,
      float timelinePosition) {
    for (AbstractFieldInfo fInfo : propertiesToInterpolate) {
      // check whether the object is in the ready state
      if ((uiToolkitHandler != null)
          && !uiToolkitHandler.isInReadyState(fInfo.object))
        continue;
      // System.err.println("Timeline @" + Timeline.this.hashCode()
      // + " at position " + timelinePosition);
      fInfo.updateFieldValue(timelinePosition);
    }
  }
}
origin: org.pushingpixels/trident

  @Override
  public void onTimelinePulse(float durationFraction,
      float timelinePosition) {
    for (AbstractFieldInfo fInfo : propertiesToInterpolate) {
      // check whether the object is in the ready state
      if ((uiToolkitHandler != null)
          && !uiToolkitHandler.isInReadyState(fInfo.object))
        continue;
      // System.err.println("Timeline @" + Timeline.this.hashCode()
      // + " at position " + timelinePosition);
      fInfo.updateFieldValue(timelinePosition);
    }
  }
}
origin: org.pushingpixels/trident

@Override
public void onTimelineStateChanged(TimelineState oldState,
    TimelineState newState, float durationFraction,
    float timelinePosition) {
  if (newState == TimelineState.READY) {
    for (AbstractFieldInfo fInfo : propertiesToInterpolate) {
      // check whether the object is in the ready state
      if ((uiToolkitHandler != null)
          && !uiToolkitHandler.isInReadyState(fInfo.object))
        continue;
      fInfo.onStart();
    }
  }
  // Fix for issue 5 - update field values only when
  // either old or new state (or both) are active. Otherwise
  // it's a transition between inactive states (such as from
  // DONE to IDLE) that shouldn't trigger the property changes
  if (oldState.isActive || newState.isActive) {
    for (AbstractFieldInfo fInfo : propertiesToInterpolate) {
      // check whether the object is in the ready state
      if ((uiToolkitHandler != null)
          && !uiToolkitHandler.isInReadyState(fInfo.object))
        continue;
      fInfo.updateFieldValue(timelinePosition);
    }
  }
}
origin: org.pushing-pixels/trident

@Override
public void onTimelineStateChanged(TimelineState oldState,
    TimelineState newState, float durationFraction,
    float timelinePosition) {
  if (newState == TimelineState.READY) {
    for (AbstractFieldInfo fInfo : propertiesToInterpolate) {
      // check whether the object is in the ready state
      if ((uiToolkitHandler != null)
          && !uiToolkitHandler.isInReadyState(fInfo.object))
        continue;
      fInfo.onStart();
    }
  }
  // Fix for issue 5 - update field values only when
  // either old or new state (or both) are active. Otherwise
  // it's a transition between inactive states (such as from
  // DONE to IDLE) that shouldn't trigger the property changes
  if (oldState.isActive || newState.isActive) {
    for (AbstractFieldInfo fInfo : propertiesToInterpolate) {
      // check whether the object is in the ready state
      if ((uiToolkitHandler != null)
          && !uiToolkitHandler.isInReadyState(fInfo.object))
        continue;
      fInfo.updateFieldValue(timelinePosition);
    }
  }
}
org.pushingpixels.tridentTimelinePropertyBuilder$AbstractFieldInfo

Most used methods

  • onStart
  • updateFieldValue

Popular in Java

  • Creating JSON documents from java classes using gson
  • getSystemService (Context)
  • getSharedPreferences (Context)
  • setContentView (Activity)
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • PrintStream (java.io)
    A PrintStream adds functionality to another output stream, namely the ability to print representatio
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Table (org.hibernate.mapping)
    A relational table
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
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