Class MaterialUIMovement


  • public class MaterialUIMovement
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static void add​(javax.swing.JComponent c, java.awt.Color fadeTo)
      Deprecated.
      This method will be deprecated inside the version 1.2 of the library.
      static void add​(javax.swing.JComponent c, java.awt.Color fadeTo, int steps, int interval)
      Deprecated.
      This method will be deprecated inside the version 1.2 of the library.
      static MaterialUITimer getMovement​(javax.swing.JComponent c, java.awt.Color fadeTo)  
      static MaterialUITimer getMovement​(javax.swing.JComponent c, java.awt.Color fadeTo, int steps, int interval)  
      static MaterialMouseHover getStaticMovement​(javax.swing.JComponent c, java.awt.Color colorEffect, java.awt.Color colorOnClick)
      Deprecated.
      This method will be removed inside the version 1.2, because with the new MaterialButtonApi, you can create a personal instance of the button, with an personal Listener, @see MaterialButtonUI
      • Methods inherited from class java.lang.Object

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

      • add

        @Deprecated
        public static void add​(javax.swing.JComponent c,
                               java.awt.Color fadeTo,
                               int steps,
                               int interval)
        Deprecated.
        This method will be deprecated inside the version 1.2 of the library. you can @see getMovement method
      • add

        @Deprecated
        public static void add​(javax.swing.JComponent c,
                               java.awt.Color fadeTo)
        Deprecated.
        This method will be deprecated inside the version 1.2 of the library. you can @see getMovement method
      • getMovement

        public static MaterialUITimer getMovement​(javax.swing.JComponent c,
                                                  java.awt.Color fadeTo,
                                                  int steps,
                                                  int interval)
      • getMovement

        public static MaterialUITimer getMovement​(javax.swing.JComponent c,
                                                  java.awt.Color fadeTo)
      • getStaticMovement

        @Deprecated
        public static MaterialMouseHover getStaticMovement​(javax.swing.JComponent c,
                                                           java.awt.Color colorEffect,
                                                           java.awt.Color colorOnClick)
        Deprecated.
        This method will be removed inside the version 1.2, because with the new MaterialButtonApi, you can create a personal instance of the button, with an personal Listener, @see MaterialButtonUI
        This method create a new effect mouse hover static, not create a wake effect This method is util in all component for click, an example: The button for JSpinner, JCombobox, JScrollbar param c is the component param colorEffect is the color for effect, (For using color, look the MaterialColors class) param colorOnClick is the color of the component on click on it return a new MaterialUIStaticMovement this class implement a only MouseListener for moment