Class ToolbarModule

    • Constructor Detail

      • ToolbarModule

        public ToolbarModule()
    • Method Detail

      • initWidget

        protected void initWidget​(com.google.gwt.user.client.ui.Widget widget)
        重载初始化组件
        Overrides:
        initWidget in class com.google.gwt.user.client.ui.Composite
        Parameters:
        widget -
      • setTitleWidth

        public void setTitleWidth​(int width,
                                  String style)
      • setStyleName

        public void setStyleName​(String style)
        Overrides:
        setStyleName in class com.google.gwt.user.client.ui.UIObject
      • setCaption

        public void setCaption​(String caption)
      • clearOperations

        public void clearOperations()
        清空操作面板区
      • appendOperation

        public void appendOperation​(com.google.gwt.user.client.ui.Widget... widgets)
        添加操作面板
        Parameters:
        widgets -
      • onResize

        public void onResize()
        Specified by:
        onResize in interface com.google.gwt.user.client.ui.RequiresResize
      • showMessage

        public void showMessage​(int level,
                                Integer code,
                                String message)
        Description copied from interface: IShowMessage
        显示一个消息
        Specified by:
        showMessage in interface IShowMessage
        Parameters:
        level - 显示级别 0,1,2,3,4
        message - 显示的消息
      • updateTools

        public boolean updateTools​(com.google.gwt.user.client.ui.Widget... tools)
        Description copied from interface: IModule
        用于模块向父模块注册工具栏按钮
        Specified by:
        updateTools in interface IModule
        Overrides:
        updateTools in class BaseAbstractModule
        Parameters:
        tools - the tools
        Returns:
        the boolean
      • updateLeftToolBar

        public boolean updateLeftToolBar​(com.google.gwt.user.client.ui.Widget... tools)
      • appendTools

        public boolean appendTools​(com.google.gwt.user.client.ui.Widget tools)
        Description copied from interface: IModule
        用于模块向父模块注册工具栏按钮
        Specified by:
        appendTools in interface IModule
        Overrides:
        appendTools in class BaseAbstractModule
        Parameters:
        tools - the tools
        Returns:
        the boolean
      • msg

        public void msg​(String message)
      • enableLoading

        public void enableLoading​(Boolean show)