类 EasePopupWindow


  • public class EasePopupWindow
    extends android.widget.PopupWindow
    • 字段概要

      • 从类继承的字段 android.widget.PopupWindow

        INPUT_METHOD_FROM_FOCUSABLE, INPUT_METHOD_NEEDED, INPUT_METHOD_NOT_NEEDED
    • 构造器概要

      构造器 
      构造器 说明
      EasePopupWindow​(android.content.Context context)  
      EasePopupWindow​(android.content.Context context, boolean closeChangeBg)
      The second parameter is to change the background color
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      void dismiss()  
      android.content.Context getContext()  
      void setBackgroundAlpha​(float alpha)
      Set background transparency
      void setBackgroundDrawable​(android.graphics.drawable.Drawable background)  
      void setContentView​(android.view.View contentView)  
      void setOutsideTouchable​(boolean touchable)  
      void showAsDropDown​(android.view.View anchor)  
      void showAsDropDown​(android.view.View anchor, int xoff, int yoff)  
      void showAsDropDown​(android.view.View anchor, int xoff, int yoff, int gravity)  
      void showAtLocation​(android.view.View parent, int gravity, int x, int y)  
      • 从类继承的方法 android.widget.PopupWindow

        getAnimationStyle, getBackground, getContentView, getElevation, getEnterTransition, getEpicenterBounds, getExitTransition, getHeight, getInputMethodMode, getMaxAvailableHeight, getMaxAvailableHeight, getMaxAvailableHeight, getOverlapAnchor, getSoftInputMode, getWidth, getWindowLayoutType, isAboveAnchor, isAttachedInDecor, isClippedToScreen, isClippingEnabled, isFocusable, isLaidOutInScreen, isOutsideTouchable, isShowing, isSplitTouchEnabled, isTouchable, isTouchModal, setAnimationStyle, setAttachedInDecor, setClippingEnabled, setElevation, setEnterTransition, setEpicenterBounds, setExitTransition, setFocusable, setHeight, setIgnoreCheekPress, setInputMethodMode, setIsClippedToScreen, setIsLaidOutInScreen, setOnDismissListener, setOverlapAnchor, setSoftInputMode, setSplitTouchEnabled, setTouchable, setTouchInterceptor, setTouchModal, setWidth, setWindowLayoutMode, setWindowLayoutType, update, update, update, update, update, update
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • EasePopupWindow

        public EasePopupWindow​(android.content.Context context)
      • EasePopupWindow

        public EasePopupWindow​(android.content.Context context,
                               boolean closeChangeBg)
        The second parameter is to change the background color
        参数:
        context -
        closeChangeBg -
    • 方法详细资料

      • setBackgroundAlpha

        public void setBackgroundAlpha​(float alpha)
        Set background transparency
        参数:
        alpha -
      • setOutsideTouchable

        public void setOutsideTouchable​(boolean touchable)
        覆盖:
        setOutsideTouchable 在类中 android.widget.PopupWindow
      • setBackgroundDrawable

        public void setBackgroundDrawable​(android.graphics.drawable.Drawable background)
        覆盖:
        setBackgroundDrawable 在类中 android.widget.PopupWindow
      • setContentView

        public void setContentView​(android.view.View contentView)
        覆盖:
        setContentView 在类中 android.widget.PopupWindow
      • getContext

        public android.content.Context getContext()
      • showAtLocation

        public void showAtLocation​(android.view.View parent,
                                   int gravity,
                                   int x,
                                   int y)
        覆盖:
        showAtLocation 在类中 android.widget.PopupWindow
      • showAsDropDown

        public void showAsDropDown​(android.view.View anchor)
        覆盖:
        showAsDropDown 在类中 android.widget.PopupWindow
      • showAsDropDown

        public void showAsDropDown​(android.view.View anchor,
                                   int xoff,
                                   int yoff)
        覆盖:
        showAsDropDown 在类中 android.widget.PopupWindow
      • showAsDropDown

        public void showAsDropDown​(android.view.View anchor,
                                   int xoff,
                                   int yoff,
                                   int gravity)
        覆盖:
        showAsDropDown 在类中 android.widget.PopupWindow
      • dismiss

        public void dismiss()
        覆盖:
        dismiss 在类中 android.widget.PopupWindow