Class Transition

All Implemented Interfaces:
java.lang.AutoCloseable

public class Transition
extends Composable
Represents a transition between two items.
  • Constructor Details

  • Method Details

    • isOverlapping

      public boolean isOverlapping()
      Overrides:
      isOverlapping in class Composable
      Returns:
      Return whether an Item is overlapping. By default false.
    • getTransitionType

      public java.lang.String getTransitionType()
    • setTransitionType

      public void setTransitionType​(java.lang.String transitionType)
    • getInOffset

      public RationalTime getInOffset()
      Get amount of the previous clip this transition overlaps, exclusive.
      Returns:
      amount of the previous clip this transition overlaps, exclusive.
    • setInOffset

      public void setInOffset​(RationalTime inOffset)
      Set amount of the previous clip this transition overlaps, exclusive.
      Parameters:
      inOffset - amount of the previous clip this transition overlaps, exclusive.
    • getOutOffset

      public RationalTime getOutOffset()
      Get amount of the next clip this transition overlaps, exclusive.
      Returns:
      amount of the next clip this transition overlaps, exclusive.
    • setOutOffset

      public void setOutOffset​(RationalTime outOffset)
      Set amount of the next clip this transition overlaps, exclusive.
      Parameters:
      outOffset - amount of the next clip this transition overlaps, exclusive.
    • getDuration

      public RationalTime getDuration​(ErrorStatus errorStatus)
      Overrides:
      getDuration in class Composable
      Parameters:
      errorStatus - errorStatus to report in case this is not implemented in a sub-class.
      Returns:
      the duration of the Composable object.
    • getRangeInParent

      public TimeRange getRangeInParent​(ErrorStatus errorStatus)
      Find and return the range of this item in the parent.
      Parameters:
      errorStatus - errorStatus to report error while fetching range
      Returns:
      the range of this item in the parent
    • getTrimmedRangeInParent

      public TimeRange getTrimmedRangeInParent​(ErrorStatus errorStatus)
      Find and return the trimmed range of this item in the parent.
      Parameters:
      errorStatus - errorStatus to report error while fetching trimmed range
      Returns:
      the trimmed range of this item in the parent.
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class Composable