Package snap.view

Class ViewAnimUtils

java.lang.Object
snap.view.ViewAnimUtils

public class ViewAnimUtils extends Object
Utility methods for ViewAnim.
  • Constructor Details

    • ViewAnimUtils

      public ViewAnimUtils()
  • Method Details

    • setVisible

      public static ViewAnim setVisible(View aView, boolean aValue, boolean doWidth, boolean doHeight)
      Sets a view to be visible/not-visible with anim.
    • setAlign

      public static void setAlign(View aView, Pos aPos, int aTime)
      Sets the alignment.
    • addSplitViewItemWithAnim

      protected static void addSplitViewItemWithAnim(SplitView aSplitView, View aView, double aSize, int anIndex)
      Adds a item with animation.
    • removeSplitViewItemWithAnim

      protected static void removeSplitViewItemWithAnim(SplitView aSplitView, View aView)
      Removes a item with animation.
    • setSplitViewItemVisibleWithAnim

      protected static void setSplitViewItemVisibleWithAnim(SplitView aSplitView, View aView, boolean aValue)
      Sets a child visible with animation.