Class JXCollapsiblePane.AnimationParams

  • Enclosing class:
    JXCollapsiblePane

    private static class JXCollapsiblePane.AnimationParams
    extends java.lang.Object
    Parameters controlling the animations
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) float alphaEnd  
      (package private) float alphaStart  
      (package private) int delta  
      (package private) int waitTime  
    • Constructor Summary

      Constructors 
      Constructor Description
      AnimationParams​(int waitTime, int delta, float alphaStart, float alphaEnd)  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • waitTime

        final int waitTime
      • delta

        final int delta
      • alphaStart

        final float alphaStart
      • alphaEnd

        final float alphaEnd
    • Constructor Detail

      • AnimationParams

        public AnimationParams​(int waitTime,
                               int delta,
                               float alphaStart,
                               float alphaEnd)
        Parameters:
        waitTime - the amount of time in milliseconds to wait between calls to the animation thread
        delta - the delta, in the direction as specified by the orientation, to inc/dec the size of the scroll up by
        alphaStart - the starting alpha transparency level
        alphaEnd - the ending alpha transparency level