|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
| 개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 | |||||||||
java.lang.Objectjavax.swing.AbstractListModel
javax.swing.plaf.metal.MetalFileChooserUI.DirectoryComboBoxModel
protected class MetalFileChooserUI.DirectoryComboBoxModel
활자의 서체 선택의 combobox로 사용하는 데이터 모델입니다.
| 필드의 개요 |
|---|
| 클래스 javax.swing. AbstractListModel 로부터 상속된 필드 |
|---|
listenerList |
| 생성자 의 개요 | |
|---|---|
MetalFileChooserUI.DirectoryComboBoxModel ()
|
|
| 메소드의 개요 | |
|---|---|
int |
getDepth (int i)
|
Object |
getElementAt (int index)
지정된 인덱스의 값을 돌려줍니다. |
Object |
getSelectedItem ()
선택 항목을 돌려줍니다. |
int |
getSize ()
리스트의 길이를 돌려줍니다. |
void |
setSelectedItem (Object selectedDirectory)
선택 항목을 설정합니다. |
| 클래스 javax.swing. AbstractListModel 으로부터 상속된 메소드 |
|---|
addListDataListener , fireContentsChanged , fireIntervalAdded , fireIntervalRemoved , getListDataListeners , getListeners , removeListDataListener |
| 클래스 java.lang. Object 로부터 상속된 메소드 |
|---|
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
| 인터페이스 javax.swing. ListModel 로부터 상속된 메소드 |
|---|
addListDataListener , removeListDataListener |
| 생성자 의 상세 |
|---|
public MetalFileChooserUI.DirectoryComboBoxModel()
| 메소드의 상세 |
|---|
public int getDepth(int i)
public void setSelectedItem(Object selectedDirectory)
ComboBoxModel 의 기술:ListDataListener 로 내용의 변경을 통지할 필요가 있습니다.
ComboBoxModel 내의 setSelectedItem selectedDirectory - 선택하는 리스트 객체. 선택을 클리어 하는 경우는
nullpublic Object getSelectedItem()
ComboBoxModel 의 기술:
ComboBoxModel 내의 getSelectedItem nullpublic int getSize()
ListModel 의 기술:
ListModel 내의 getSize public Object getElementAt(int index)
ListModel 의 기술:
ListModel 내의 getElementAt index - 요구하는 인덱스
index 의 값
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
| 개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.