Class ForwardClickActions

    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Drawable obtainDrawable(Context context) 获取点击按钮的图标
      void onClick(Fragment fragment) 图标按钮点击事件
      boolean filter(UiMessage message) UIMessage 过滤
      • Methods inherited from class java.lang.Object

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

      • ForwardClickActions

        ForwardClickActions()
    • Method Detail

      • obtainDrawable

         Drawable obtainDrawable(Context context)

        获取点击按钮的图标

        Parameters:
        context - 上下文
        Returns:

        图片的Drawable, 如需高亮或者置灰,则返回类型为selector, 分别显示enable或者disable状态下的drawable

      • onClick

         void onClick(Fragment fragment)

        图标按钮点击事件

      • filter

         boolean filter(UiMessage message)

        UIMessage 过滤

        Parameters:
        message - 消息
        Returns:

        返回true,表示显示