com.supermap.desktop.core.Interface
接口 IBaseItem
- 
 
 public interface IBaseItem功能执行绑定的控件
- 
- 
方法概要所有方法 实例方法 抽象方法 限定符和类型 方法和说明 ICtrlActiongetCtrlAction()获取或设置触发控件事件时所要运行的内容。java.lang.StringgetCustomProperty()获取自定义信息java.lang.StringgetID()获取控件的唯一标识名称。intgetIndex()获取控件的索引值,控件的索引值用来对处于同一层次内的 Ribbon 控件进行位置的排列。java.lang.StringgetText()获取文本信息com.supermap.desktop.core.ui.XMLCommandBasegetXMLCommand()获取对应的配置信息booleanisChecked()获取控件是否选中。booleanisEnabled()获取控件对象是否可用。booleanisIgnoreEvent()改变状态又不想触发事件时使用booleanisVisible()获取控件是否可见。voidsetChecked(boolean checked)设置控件是否选中voidsetCtrlAction(ICtrlAction ctrlAction)设置触发控件事件时所要运行的内容voidsetEnabled(boolean enabled)设置功能是否可用voidsetIgnoreEvent(boolean isIgnoreEvent)设置是否不响应事件voidsetIndex(int index)设置控件的索引值voidsetVisible(boolean visible)设置控件是否可见。
 
- 
- 
- 
方法详细资料- 
isEnabledboolean isEnabled() 获取控件对象是否可用。
 - 
setEnabledvoid setEnabled(boolean enabled) 设置功能是否可用
 - 
isVisibleboolean isVisible() 获取控件是否可见。
 - 
setVisiblevoid setVisible(boolean visible) 设置控件是否可见。
 - 
isCheckedboolean isChecked() 获取控件是否选中。
 - 
setCheckedvoid setChecked(boolean checked) 设置控件是否选中
 - 
getIndexint getIndex() 获取控件的索引值,控件的索引值用来对处于同一层次内的 Ribbon 控件进行位置的排列。
 - 
setIndexvoid setIndex(int index) 设置控件的索引值- 参数:
- index-
 
 - 
getIDjava.lang.String getID() 获取控件的唯一标识名称。
 - 
getCtrlActionICtrlAction getCtrlAction() 获取或设置触发控件事件时所要运行的内容。
 - 
setCtrlActionvoid setCtrlAction(ICtrlAction ctrlAction) 设置触发控件事件时所要运行的内容- 参数:
- ctrlAction-
 
 - 
getTextjava.lang.String getText() 获取文本信息
 - 
getCustomPropertyjava.lang.String getCustomProperty() 获取自定义信息
 - 
isIgnoreEventboolean isIgnoreEvent() 改变状态又不想触发事件时使用
 - 
setIgnoreEventvoid setIgnoreEvent(boolean isIgnoreEvent) 设置是否不响应事件
 - 
getXMLCommandcom.supermap.desktop.core.ui.XMLCommandBase getXMLCommand() 获取对应的配置信息
 
- 
 
-