Module java.desktop

Class MetalFileChooserUI.DirectoryComboBoxModel

java.lang.Object
javax.swing.AbstractListModel<Object>
javax.swing.plaf.metal.MetalFileChooserUI.DirectoryComboBoxModel
All Implemented Interfaces:
Serializable, ComboBoxModel<Object>, ListModel<Object>
Enclosing class:
MetalFileChooserUI

protected class MetalFileChooserUI.DirectoryComboBoxModel
extends AbstractListModel<Object>
implements ComboBoxModel<Object>
Data model for a type-face selection combo-box.
  • Constructor Details

  • Method Details

    • getDepth

      public int getDepth​(int i)
      Returns the depth of i-th file.
      Parameters:
      i - an index
      Returns:
      the depth of i-th file