public interface ComboBoxEditor
Modifier and Type | Method and Description |
---|---|
void |
addActionListener(ActionListener l)
添加一个ActionListener。
|
Component |
getEditorComponent()
返回应该添加到此编辑器的树层次结构中的组件
|
Object |
getItem()
返回已编辑的项目
|
void |
removeActionListener(ActionListener l)
删除一个ActionListener
|
void |
selectAll()
请编辑开始编辑并选择所有内容
|
void |
setItem(Object anObject)
设置应编辑的项目。
|
Component getEditorComponent()
void setItem(Object anObject)
Object getItem()
void selectAll()
void addActionListener(ActionListener l)
void removeActionListener(ActionListener l)
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.