|
JavaTM Platform Standard Ed. 6 |
|||||||||
��һ���� ��һ���� | ��� ��� ������ | |||||||||
ժҪ�� Ƕ�� | �ֶ� | ���췽�� | ���� | ��ϸ��Ϣ�� �ֶ� | ���췽�� | ���� |
java.lang.Objectjavax.swing.AbstractListModel
javax.swing.plaf.metal.MetalFileChooserUI.DirectoryComboBoxModel
protected class MetalFileChooserUI.DirectoryComboBoxModel
����ѡ����Ͽ������ģ�͡�
�ֶ�ժҪ |
---|
���� javax.swing.AbstractListModel �̳е��ֶ� |
---|
listenerList |
���췽��ժҪ | |
---|---|
MetalFileChooserUI.DirectoryComboBoxModel()
|
����ժҪ | |
---|---|
int |
getDepth(int i)
|
Object |
getElementAt(int index)
����ָ����������ֵ�� |
Object |
getSelectedItem()
����ѡ����� |
int |
getSize()
�����б��ij��ȡ� |
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
- Ҫѡ����б�����Ϊ null
��ʾ���ѡ��public Object getSelectedItem()
ComboBoxModel
���Ƶ�����
ComboBoxModel
�е� getSelectedItem
null
public int getSize()
ListModel
���Ƶ�����
ListModel
�е� getSize
public Object getElementAt(int index)
ListModel
���Ƶ�����
ListModel
�е� getElementAt
index
- ���������
index
����ֵ
|
JavaTM Platform Standard Ed. 6 |
|||||||||
��һ���� ��һ���� | ��� ��� ������ | |||||||||
ժҪ�� Ƕ�� | �ֶ� | ���췽�� | ���� | ��ϸ��Ϣ�� �ֶ� | ���췽�� | ���� |
��Ȩ���� 2007 Sun Microsystems, Inc. ��������Ȩ���� ����������֤��������������ĵ����·ַ�������