|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
| 개요 : 상자 | 필드 | 생성자 | 메소드 | 상세 : 필드 | 생성자 | 메소드 | |||||||||
java.lang.Objectjavax.swing.plaf.basic.BasicComboBoxEditor
public class BasicComboBoxEditor
편집 가능한 combobox의 디폴트의 에디터입니다. 에디터는, JTextField 로서 구현됩니다.
| 상자의 클래스의 개요 | |
|---|---|
static class |
BasicComboBoxEditor.UIResource
UIResource 를 구현하는 BasicComboBoxEditor 의 서브 클래스입니다. |
| 필드의 개요 | |
|---|---|
protected JTextField |
editor
|
| 생성자 의 개요 | |
|---|---|
BasicComboBoxEditor ()
|
|
| 메소드의 개요 | |
|---|---|
void |
addActionListener (ActionListener l)
ActionListener 를 추가합니다. |
protected JTextField |
createEditorComponent ()
내부 에디터 컴퍼넌트를 작성합니다. |
void |
focusGained (FocusEvent e)
컴퍼넌트가 키보드 포커스를 취득하면(자) 불려 갑니다. |
void |
focusLost (FocusEvent e)
컴퍼넌트가 키보드 포커스를 잃으면(자) 불려 갑니다. |
Component |
getEditorComponent ()
에디터의 트리 계층에 추가하는 컴퍼넌트를 돌려줍니다. |
Object |
getItem ()
편집 항목을 돌려줍니다. |
void |
removeActionListener (ActionListener l)
액션 청취자를 삭제합니다. |
void |
selectAll ()
에디터에 편집의 개시와 모든 선택을 요구합니다. |
void |
setItem (Object anObject)
편집해야 할 항목을 설정합니다. |
| 클래스 java.lang. Object 로부터 상속된 메소드 |
|---|
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
| 필드의 상세 |
|---|
protected JTextField editor
| 생성자 의 상세 |
|---|
public BasicComboBoxEditor()
| 메소드의 상세 |
|---|
public Component getEditorComponent()
ComboBoxEditor 의 기술:
ComboBoxEditor 내의 getEditorComponent protected JTextField createEditorComponent()
public void setItem(Object anObject)
ComboBoxEditor 내의 setItem anObject - 표시된 에디터의 값public Object getItem()
ComboBoxEditor 의 기술:
ComboBoxEditor 내의 getItem public void selectAll()
ComboBoxEditor 의 기술:
ComboBoxEditor 내의 selectAll public void focusGained(FocusEvent e)
FocusListener 의 기술:
FocusListener 내의 focusGained public void focusLost(FocusEvent e)
FocusListener 의 기술:
FocusListener 내의 focusLost public void addActionListener(ActionListener l)
ComboBoxEditor 의 기술:
ComboBoxEditor 내의 addActionListener public void removeActionListener(ActionListener l)
ComboBoxEditor 의 기술:
ComboBoxEditor 내의 removeActionListener
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
| 개요 : 상자 | 필드 | 생성자 | 메소드 | 상세 : 필드 | 생성자 | 메소드 | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.