public interface IBaseItem
限定符和类型 | 方法和说明 |
---|---|
ICtrlAction |
getCtrlAction()
获取或设置触发控件事件时所要运行的内容。
|
java.lang.String |
getCustomProperty()
获取自定义信息
|
java.lang.String |
getID()
获取控件的唯一标识名称。
|
int |
getIndex()
获取控件的索引值,控件的索引值用来对处于同一层次内的 Ribbon 控件进行位置的排列。
|
java.lang.String |
getText()
获取文本信息
|
com.supermap.desktop.core.ui.XMLCommandBase |
getXMLCommand()
获取对应的配置信息
|
boolean |
isChecked()
获取控件是否选中。
|
boolean |
isEnabled()
获取控件对象是否可用。
|
boolean |
isIgnoreEvent()
改变状态又不想触发事件时使用
|
boolean |
isVisible()
获取控件是否可见。
|
void |
setChecked(boolean checked)
设置控件是否选中
|
void |
setCtrlAction(ICtrlAction ctrlAction)
设置触发控件事件时所要运行的内容
|
void |
setEnabled(boolean enabled)
设置功能是否可用
|
void |
setIgnoreEvent(boolean isIgnoreEvent)
设置是否不响应事件
|
void |
setIndex(int index)
设置控件的索引值
|
void |
setVisible(boolean visible)
设置控件是否可见。
|
boolean isEnabled()
void setEnabled(boolean enabled)
boolean isVisible()
void setVisible(boolean visible)
boolean isChecked()
void setChecked(boolean checked)
int getIndex()
void setIndex(int index)
index
-java.lang.String getID()
ICtrlAction getCtrlAction()
void setCtrlAction(ICtrlAction ctrlAction)
ctrlAction
-java.lang.String getText()
java.lang.String getCustomProperty()
boolean isIgnoreEvent()
void setIgnoreEvent(boolean isIgnoreEvent)
com.supermap.desktop.core.ui.XMLCommandBase getXMLCommand()