public class SmTextStyleSizeFixedComponent extends AbstractTextStyleComponent
构造器和说明 |
---|
SmTextStyleSizeFixedComponent() |
限定符和类型 | 方法和说明 |
---|---|
boolean |
isEnabled() |
boolean |
isSelected()
获取选择状态
|
void |
setEnabled(boolean enabled)
设置控件是否可用
|
void |
setSelected(boolean b)
设置是否为选中状态
|
addTextStyleChangedListener, getGeometry, removeTextStyleChangedListener, setGeometry, setTextStyle
public void setSelected(boolean b)
b
- true:选中,false:未选中public boolean isSelected()
public void setEnabled(boolean enabled)
ITextStyleComponent
setEnabled
在接口中 ITextStyleComponent
setEnabled
在类中 AbstractTextStyleComponent
public boolean isEnabled()
isEnabled
在类中 java.awt.Component