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