/*
 * Copyright (C) 2014 Balys Valentukevicius
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.balysv.materialmenu;

import android.view.animation.Interpolator;

import com.nineoldandroids.animation.Animator;

import static com.balysv.materialmenu.MaterialMenuDrawable.IconState;

/**
 * API for interaction with {@link MaterialMenuDrawable}
 */
public interface MaterialMenu {
    /**
     * Change icon without animation
     *
     * @param state new icon state
     */
    public void setState(IconState state);

    /**
     * Return current icon state
     *
     * @return icon state
     */
    public IconState getState();

    /**
     * Animate icon to given state.
     *
     * @param state new icon state
     */
    public void animateState(IconState state);

    /**
     * Animate icon to given state and draw touch circle
     *
     * @param state new icon state
     */
    public void animatePressedState(IconState state);

    /**
     * Set color of icon
     *
     * @param color new icon color
     */
    public void setColor(int color);

    /**
     * Set visibility of icon
     *
     * @param visible   new value for visibility
     */
    public void setVisible(boolean visible);

    /**
     * Set duration of transformation animations
     *
     * @param duration new animation duration
     */
    public void setTransformationDuration(int duration);

    /**
     * Set duration of pressed state circle animation
     *
     * @param duration new animation duration
     */
    public void setPressedDuration(int duration);

    /**
     * Set interpolator for transformation animations
     *
     * @param interpolator new interpolator
     */
    public void setInterpolator(Interpolator interpolator);

    /**
     * Set listener for {@code MaterialMenuDrawable} animation events
     *
     * @param listener new listener or null to remove any listener
     */
    public void setAnimationListener(Animator.AnimatorListener listener);

    /**
     * Enable RTL layout. Flips all icons horizontally
     *
     * @param rtlEnabled true to enable RTL layout
     */
    public void setRTLEnabled(boolean rtlEnabled);

    /**
     * Manually set a transformation value for an {@link com.balysv.materialmenu.MaterialMenuDrawable.AnimationState}
     *
     * @param animationState state to set value in
     * @param value          between {@link com.balysv.materialmenu.MaterialMenuDrawable#TRANSFORMATION_START} and
     *                       {@link com.balysv.materialmenu.MaterialMenuDrawable#TRANSFORMATION_END}.
     */
    public void setTransformationOffset(MaterialMenuDrawable.AnimationState animationState, float value);

    /**
     * @return {@link MaterialMenuDrawable} to be used for the menu
     */
    public MaterialMenuDrawable getDrawable();
}

@@ -990,39 +990,32 @@
 ate%0A     */%0A    
-public 
 void setState(Ic
@@ -1022,32 +1022,32 @@
 onState state);%0A
+
 %0A    /**%0A     * 
@@ -1117,23 +1117,16 @@
  */%0A    
-public 
 IconStat
@@ -1230,39 +1230,32 @@
 ate%0A     */%0A    
-public 
 void animateStat
@@ -1390,31 +1390,24 @@
      */%0A    
-public 
 void animate
@@ -1517,39 +1517,32 @@
 lor%0A     */%0A    
-public 
 void setColor(in
@@ -1650,39 +1650,32 @@
 ity%0A     */%0A    
-public 
 void setVisible(
@@ -1807,39 +1807,32 @@
 ion%0A     */%0A    
-public 
 void setTransfor
@@ -1981,39 +1981,32 @@
 ion%0A     */%0A    
-public 
 void setPressedD
@@ -2146,39 +2146,32 @@
 tor%0A     */%0A    
-public 
 void setInterpol
@@ -2360,39 +2360,32 @@
 ner%0A     */%0A    
-public 
 void setAnimatio
@@ -2557,39 +2557,32 @@
 out%0A     */%0A    
-public 
 void setRTLEnabl
@@ -3019,23 +3019,16 @@
  */%0A    
-public 
 void set
@@ -3203,19 +3203,12 @@
  */%0A
+
     
-public 
 Mate

Remove public modifiers in interface