Basic L&F implementation of a FileChooser.
Basic L&F implementation of a FileChooser.
(*create-ui c)
Creates a BasicFileChooserUI implementation for the specified component. By default the BasicLookAndFeel class uses createUI methods of all basic UIs classes to instantiate UIs.
c - the JFileChooser which needs a UI - javax.swing.JComponent
returns: the BasicFileChooserUI object - javax.swing.plaf.ComponentUI
Creates a BasicFileChooserUI implementation for the specified component. By default the BasicLookAndFeel class uses createUI methods of all basic UIs classes to instantiate UIs. c - the JFileChooser which needs a UI - `javax.swing.JComponent` returns: the BasicFileChooserUI object - `javax.swing.plaf.ComponentUI`
(->basic-file-chooser-ui b)
Constructor.
b - javax.swing.JFileChooser
Constructor. b - `javax.swing.JFileChooser`
(create-list-selection-listener this fc)
fc - javax.swing.JFileChooser
returns: javax.swing.event.ListSelectionListener
fc - `javax.swing.JFileChooser` returns: `javax.swing.event.ListSelectionListener`
(create-property-change-listener this fc)
fc - javax.swing.JFileChooser
returns: java.beans.PropertyChangeListener
fc - `javax.swing.JFileChooser` returns: `java.beans.PropertyChangeListener`
(ensure-file-is-visible this fc f)
fc - javax.swing.JFileChooser
f - java.io.File
fc - `javax.swing.JFileChooser` f - `java.io.File`
(get-accept-all-file-filter this fc)
Returns the default accept all file filter
fc - javax.swing.JFileChooser
returns: javax.swing.filechooser.FileFilter
Returns the default accept all file filter fc - `javax.swing.JFileChooser` returns: `javax.swing.filechooser.FileFilter`
(get-accessory-panel this)
returns: javax.swing.JPanel
returns: `javax.swing.JPanel`
(get-approve-button-mnemonic this fc)
fc - javax.swing.JFileChooser
returns: int
fc - `javax.swing.JFileChooser` returns: `int`
(get-approve-button-text this fc)
fc - javax.swing.JFileChooser
returns: java.lang.String
fc - `javax.swing.JFileChooser` returns: `java.lang.String`
(get-approve-button-tool-tip-text this fc)
fc - javax.swing.JFileChooser
returns: java.lang.String
fc - `javax.swing.JFileChooser` returns: `java.lang.String`
(get-approve-selection-action this)
returns: javax.swing.Action
returns: `javax.swing.Action`
(get-cancel-selection-action this)
returns: javax.swing.Action
returns: `javax.swing.Action`
(get-change-to-parent-directory-action this)
returns: javax.swing.Action
returns: `javax.swing.Action`
(get-default-button this fc)
Description copied from class: FileChooserUI
fc - javax.swing.JFileChooser
returns: javax.swing.JButton
Description copied from class: FileChooserUI fc - `javax.swing.JFileChooser` returns: `javax.swing.JButton`
(get-dialog-title this fc)
Returns the title of this dialog
fc - javax.swing.JFileChooser
returns: java.lang.String
Returns the title of this dialog fc - `javax.swing.JFileChooser` returns: `java.lang.String`
(get-directory-name this)
returns: java.lang.String
returns: `java.lang.String`
(get-file-chooser this)
returns: javax.swing.JFileChooser
returns: `javax.swing.JFileChooser`
(get-file-name this)
returns: java.lang.String
returns: `java.lang.String`
(get-file-view this fc)
fc - javax.swing.JFileChooser
returns: javax.swing.filechooser.FileView
fc - `javax.swing.JFileChooser` returns: `javax.swing.filechooser.FileView`
(get-go-home-action this)
returns: javax.swing.Action
returns: `javax.swing.Action`
(get-model this)
returns: javax.swing.plaf.basic.BasicDirectoryModel
returns: `javax.swing.plaf.basic.BasicDirectoryModel`
(get-new-folder-action this)
returns: javax.swing.Action
returns: `javax.swing.Action`
(get-update-action this)
returns: javax.swing.Action
returns: `javax.swing.Action`
(install-components this fc)
fc - javax.swing.JFileChooser
fc - `javax.swing.JFileChooser`
(install-ui this c)
Description copied from class: ComponentUI
c - the component where this UI delegate is being installed - javax.swing.JComponent
Description copied from class: ComponentUI c - the component where this UI delegate is being installed - `javax.swing.JComponent`
(rescan-current-directory this fc)
fc - javax.swing.JFileChooser
fc - `javax.swing.JFileChooser`
(set-directory-name this dirname)
dirname - java.lang.String
dirname - `java.lang.String`
(set-file-name this filename)
filename - java.lang.String
filename - `java.lang.String`
(uninstall-components this fc)
fc - javax.swing.JFileChooser
fc - `javax.swing.JFileChooser`
(uninstall-ui this c)
Description copied from class: ComponentUI
c - the component from which this UI delegate is being removed; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components - javax.swing.JComponent
Description copied from class: ComponentUI c - the component from which this UI delegate is being removed; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components - `javax.swing.JComponent`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close