Package Summary  Overview Summary

class:MetalFileChooserUI [NONE]



  • public class MetalFileChooserUI
    extends BasicFileChooserUI
    
    Metal L&F implementation of a FileChooser.

constructor:MetalFileChooserUI(javax.swing.JFileChooser) [CHANGED]

  • MetalFileChooserUI

    public MetalFileChooserUI(JFileChooser filechooser)
    Constructs a new instance of MetalFileChooserUI.
    Parameters:
    filechooser - a JFileChooser
  • MetalFileChooserUI

    public MetalFileChooserUI(JFileChooser filechooser)
  • MetalFileChooserUI

    public MetalFileChooserUI(JFileChooser filechooser)
    Constructs a new instance of MetalFileChooserUI.
    Parameters:
    filechooser - a JFileChooser

method:createUI(javax.swing.JComponent) [CHANGED]

  • createUI

    public static ComponentUI createUI(JComponent c)
    Constructs a new instance of MetalFileChooserUI.
    Parameters:
    c - a component
    Returns:
    a new instance of MetalFileChooserUI
  • createUI

    public static ComponentUI createUI(JComponent c)
    Constructs a new instance of MetalFileChooserUI.
    Parameters:
    c - a component
    Returns:
    a new instance of MetalFileChooserUI

method:installUI(javax.swing.JComponent) [CHANGED]

  • installUI

    public void installUI(JComponent c)
    Description copied from class: ComponentUIConfigures the specified component appropriately for the look and feel. This method is invoked when the ComponentUI instance is being installed as the UI delegate on the specified component. This method should completely configure the component for the look and feel, including the following:
  • Install default property values for color, fonts, borders, icons, opacity, etc. on the component. Whenever possible, property values initialized by the client program should not be overridden.
  • Install a LayoutManager on the component if necessary.
  • Create/add any required sub-components toBasicFileChooserUI
    Installs the component.
  • Create/install event listeners on the component.
  • Create/install a PropertyChangeListener on the component in order to detect and respond to component property changes appropriately.
  • Install keyboardUI (mnemonics, traversal, etc.) on the component.Initialize any appropriate instance data.
    Overrides:
    installUI in class BasicFileChooserUI
    Parameters:
    c - the component where this UI delegate is being installed
    See Also:
    ComponentUI.uninstallUI(javax.swing.JComponent), JComponent.setUI(javax.swing.plaf.ComponentUI), JComponent.updateUI()
  • installUI

    public void installUI(JComponent c)
    Description copied from class: ComponentUI
    Configures the specified component appropriately for the look and feel. This method is invoked when the ComponentUI instance is being installed as the UI delegate on the specified component. This method should completely configure the component for the look and feel, including the following:
    1. Install default property values for color, fonts, borders, icons, opacity, etc. on the component. Whenever possible, property values initialized by the client program should not be overridden.
    2. Install a LayoutManager on the component if necessary.
    3. Create/add any required sub-components to the component.
    4. Create/install event listeners on the component.
    5. Create/install a PropertyChangeListener on the component in order to detect and respond to component property changes appropriately.
    6. Install keyboard UI (mnemonics, traversal, etc.) on the component.
    7. Initialize any appropriate instance data.
    Overrides:
    installUI in class BasicFileChooserUI
    Parameters:
    c - the component where this UI delegate is being installed
    See Also:
    ComponentUI.uninstallUI(javax.swing.JComponent), JComponent.setUI(javax.swing.plaf.ComponentUI), JComponent.updateUI()

method:uninstallComponents(javax.swing.JFileChooser) [CHANGED]

method:installComponents(javax.swing.JFileChooser) [CHANGED]

method:getButtonPanel() [CHANGED]

  • getButtonPanel

    protected JPanel getButtonPanel()
    Returns the button panel.
    Returns:
    the button panel
  • getButtonPanel

    protected JPanel getButtonPanel()
  • getButtonPanel

    protected JPanel getButtonPanel()
    Returns the button panel.
    Returns:
    the button panel

method:getBottomPanel() [CHANGED]

  • getBottomPanel

    protected JPanel getBottomPanel()
    Returns the bottom panel.
    Returns:
    the bottom panel
  • getBottomPanel

    protected JPanel getBottomPanel()
  • getBottomPanel

    protected JPanel getBottomPanel()
    Returns the bottom panel.
    Returns:
    the bottom panel

method:installStrings(javax.swing.JFileChooser) [CHANGED]

method:installListeners(javax.swing.JFileChooser) [CHANGED]

method:getActionMap() [CHANGED]

  • getActionMap

    protected ActionMap getActionMap()
    Returns an instance of ActionMap.
    Returns:
    an instance of ActionMap
  • getActionMap

    protected ActionMap getActionMap()
  • getActionMap

    protected ActionMap getActionMap()
    Returns an instance of ActionMap.
    Returns:
    an instance of ActionMap

method:createActionMap() [CHANGED]

  • createActionMap

    protected ActionMap createActionMap()
    Constructs an instance of ActionMap.
    Returns:
    an instance of ActionMap
  • createActionMap

    protected ActionMap createActionMap()
  • createActionMap

    protected ActionMap createActionMap()
    Constructs an instance of ActionMap.
    Returns:
    an instance of ActionMap

method:createList(javax.swing.JFileChooser) [CHANGED]

  • createList

    protected JPanel createList(JFileChooser fc)
    Constructs a details view.
    Parameters:
    fc - a JFileChooser
    Returns:
    the list
  • createList

    protected JPanel createList(JFileChooser fc)
    Constructs a details view.
    Parameters:
    fc - a JFileChooser
    Returns:
    the list

method:createDetailsView(javax.swing.JFileChooser) [CHANGED]

  • createDetailsView

    protected JPanel createDetailsView(JFileChooser fc)
    Constructs a details view.
    Parameters:
    fc - a JFileChooser
    Returns:
    the details view
  • createDetailsView

    protected JPanel createDetailsView(JFileChooser fc)
    Constructs a details view.
    Parameters:
    fc - a JFileChooser
    Returns:
    the details view

method:createListSelectionListener(javax.swing.JFileChooser) [NONE]

method:uninstallUI(javax.swing.JComponent) [CHANGED]

  • uninstallUI

    public void uninstallUI(JComponent c)
    Description copied from class: ComponentUIReverses configuration which was done on the specified component during installUI. This method is invoked when this UIComponent instance is being removed as the UI delegate for the specified component. This method should undo the configuration performed in installUI, being careful to leave the JComponent instance in a clean state (no extraneous listeners, look-and-feel-specific property objects, etc.). This should include the following:Remove any UI-set borders fromBasicFileChooserUI
    Uninstalls the component.
  • Remove any UI-set layout managers on the component.
  • Remove any UI-added sub-components from the component.
  • Remove any UI-added event/property listeners from the component.
  • Remove any UI-installed keyboardUI from the component.Nullify any allocated instance data objects to allow for GC.
    Overrides:
    uninstallUI in class BasicFileChooserUI
    Parameters:
    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
    See Also:
    ComponentUI.installUI(javax.swing.JComponent), JComponent.updateUI()
  • uninstallUI

    public void uninstallUI(JComponent c)
    Description copied from class: ComponentUI
    Reverses configuration which was done on the specified component during installUI. This method is invoked when this UIComponent instance is being removed as the UI delegate for the specified component. This method should undo the configuration performed in installUI, being careful to leave the JComponent instance in a clean state (no extraneous listeners, look-and-feel-specific property objects, etc.). This should include the following:
    1. Remove any UI-set borders from the component.
    2. Remove any UI-set layout managers on the component.
    3. Remove any UI-added sub-components from the component.
    4. Remove any UI-added event/property listeners from the component.
    5. Remove any UI-installed keyboard UI from the component.
    6. Nullify any allocated instance data objects to allow for GC.
    Overrides:
    uninstallUI in class BasicFileChooserUI
    Parameters:
    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
    See Also:
    ComponentUI.installUI(javax.swing.JComponent), JComponent.updateUI()

method:getPreferredSize(javax.swing.JComponent) [NONE]

method:getMinimumSize(javax.swing.JComponent) [NONE]

method:getMaximumSize(javax.swing.JComponent) [NONE]

method:createPropertyChangeListener(javax.swing.JFileChooser) [CHANGED]

method:removeControlButtons() [CHANGED]

  • removeControlButtons

    protected void removeControlButtons()
    Removes control buttons from bottom panel.
  • removeControlButtons

    protected void removeControlButtons()
  • removeControlButtons

    protected void removeControlButtons()
    Removes control buttons from bottom panel.

method:addControlButtons() [CHANGED]

  • addControlButtons

    protected void addControlButtons()
    Adds control buttons to bottom panel.
  • addControlButtons

    protected void addControlButtons()
  • addControlButtons

    protected void addControlButtons()
    Adds control buttons to bottom panel.

method:ensureFileIsVisible(javax.swing.JFileChooser, java.io.File) [CHANGED]

method:rescanCurrentDirectory(javax.swing.JFileChooser) [CHANGED]

method:getFileName() [CHANGED]

method:setFileName(java.lang.String) [CHANGED]

method:setDirectorySelected(boolean) [NONE]

  • setDirectorySelected

    protected void setDirectorySelected(boolean directorySelected)
    Property to remember whether a directory is currently selected in the UI. This is normally called by the UI on a selection event.
    Overrides:
    setDirectorySelected in class BasicFileChooserUI
    Parameters:
    directorySelected - if a directory is currently selected.
    Since:
    1.4

method:getDirectoryName() [CHANGED]

method:setDirectoryName(java.lang.String) [CHANGED]

method:createDirectoryComboBoxRenderer(javax.swing.JFileChooser) [REMOVED]

  • createDirectoryComboBoxRenderer

    protected javax.swing.plaf.metal.MetalFileChooserUI.DirectoryComboBoxRenderer createDirectoryComboBoxRenderer(JFileChooser fc)
    

method:createDirectoryComboBoxModel(javax.swing.JFileChooser) [CHANGED]

  • createDirectoryComboBoxModel

    protected MetalFileChooserUI.DirectoryComboBoxModel createDirectoryComboBoxModel(JFileChooser fc)
    Constructs a new instance of DataModel for DirectoryComboBox.
    Parameters:
    fc - a JFileChooser
    Returns:
    a new instance of DataModel for DirectoryComboBox
  • createDirectoryComboBoxModel

    protected MetalFileChooserUI.DirectoryComboBoxModel createDirectoryComboBoxModel(JFileChooser fc)
    Constructs a new instance of DataModel for DirectoryComboBox.
    Parameters:
    fc - a JFileChooser
    Returns:
    a new instance of DataModel for DirectoryComboBox

method:createFilterComboBoxRenderer() [CHANGED]

method:createFilterComboBoxModel() [CHANGED]

method:valueChanged(javax.swing.event.ListSelectionEvent) [CHANGED]

  • valueChanged

    public void valueChanged(ListSelectionEvent e)
    Invokes when ListSelectionEvent occurs.
    Parameters:
    e - an instance of ListSelectionEvent
  • valueChanged

    public void valueChanged(ListSelectionEvent e)
    Invokes when ListSelectionEvent occurs.
    Parameters:
    e - an instance of ListSelectionEvent

method:getApproveButton(javax.swing.JFileChooser) [CHANGED]

© 2017 Oracle Corporation and/or its affiliates