Package cn.mapway.ui.client.mvc.tip
Interface IPageTip
- All Known Implementing Classes:
AbstractAttributeEditor,AiPagination,AttributeGroup,AttributeTable,BaseAbstractModule,CheckBoxAttributeEditor,ColorBoxAttributeEditor,ColorChooser,CommonEventComposite,DateTimeAttributeEditor,DragButton,DropdownAttributeEditor,DropdownItem,EditorHorizontalPanel,EditorSelectAttributeEditor,EditorSelector,EventsInspector,IconAttributeEditor,IconNaviItem,IconSelector,ImageTextItem,ImageUploadAttributeEditor,ImageUploader,LabelAttributeEditor,List,ListDataItem,ListItem,ModuleBar,ModuleBox,ModuleButton,ModuleSelector,ObjectInspector,ObjectInspectorPanel,PaddingBoxAttributeEditor,SaveBar,SearchBox,SimpleAttributeGroup,SliderAttributeEditor,SliderEx,SubsystemModule,TextAreaAttributeEditor,TextboxAttributeEditor,TextButton,ToolbarModule,ToolbarModules
public interface IPageTip
IPageTip
页面提示接口
所有从 CommonEventComposite 继承的组件 都会实现这个接口 这个接口 提供对页面元素的提示功能
子组件只需要提供相应的 数据即可 比如是 Widget ,title,html 这三个元素
- Author:
- zhang
-
Method Summary
Modifier and TypeMethodDescriptionaddTipDataHtml(com.google.gwt.user.client.ui.Widget target, String title, String html) 添加一个html表示的内容addTipDataUrl(com.google.gwt.user.client.ui.Widget target, String title, String url) 添加一个Url表示的内容addTipDataWidget(com.google.gwt.user.client.ui.Widget target, String title, com.google.gwt.user.client.ui.Widget content) 添加一个Widget表示的内容清空提示信息获取组件名称获取页面Tip列表获取当前tip的版本信息setComponentName(String componentName) 设置组件名称setTipVersion(int tipVersion) 设置TIpVersion显示页面提示
-
Method Details
-
getComponentName
String getComponentName()获取组件名称- Returns:
-
setComponentName
设置组件名称- Parameters:
componentName-- Returns:
-
getTipVersion
Integer getTipVersion()获取当前tip的版本信息- Returns:
-
setTipVersion
设置TIpVersion- Parameters:
tipVersion-- Returns:
-
addTipDataHtml
添加一个html表示的内容- Parameters:
target-title-html-- Returns:
-
addTipDataWidget
IPageTip addTipDataWidget(com.google.gwt.user.client.ui.Widget target, String title, com.google.gwt.user.client.ui.Widget content) 添加一个Widget表示的内容- Parameters:
target-title-content-- Returns:
-
addTipDataUrl
添加一个Url表示的内容- Parameters:
target-title-url-- Returns:
-
getTipDataList
获取页面Tip列表- Returns:
-
showPageTip
IPageTip showPageTip()显示页面提示- Returns:
-
clearTipData
IPageTip clearTipData()清空提示信息- Returns:
-