Package snap.view
Class ViewAnimUtils
java.lang.Object
snap.view.ViewAnimUtils
Utility methods for ViewAnim.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static void
addSplitViewItemWithAnim
(SplitView aSplitView, View aView, double aSize, int anIndex) Adds a item with animation.protected static void
removeSplitViewItemWithAnim
(SplitView aSplitView, View aView) Removes a item with animation.static void
Sets the alignment.protected static void
setSplitViewItemVisibleWithAnim
(SplitView aSplitView, View aView, boolean aValue) Sets a child visible with animation.static ViewAnim
setVisible
(View aView, boolean aValue, boolean doWidth, boolean doHeight) Sets a view to be visible/not-visible with anim.
-
Constructor Details
-
ViewAnimUtils
public ViewAnimUtils()
-
-
Method Details
-
setVisible
Sets a view to be visible/not-visible with anim. -
setAlign
Sets the alignment. -
addSplitViewItemWithAnim
protected static void addSplitViewItemWithAnim(SplitView aSplitView, View aView, double aSize, int anIndex) Adds a item with animation. -
removeSplitViewItemWithAnim
Removes a item with animation. -
setSplitViewItemVisibleWithAnim
protected static void setSplitViewItemVisibleWithAnim(SplitView aSplitView, View aView, boolean aValue) Sets a child visible with animation.
-