APIdia Launch Partner
Top Description Fields Constructors Methods
javax.swing.plaf.multi

public Class MultiFileChooserUI

extends FileChooserUI
Class Inheritance
Imports
java.util.Vector, javax.swing.plaf.FileChooserUI, .ComponentUI, javax.swing.filechooser.FileFilter, .FileView, javax.swing.JFileChooser, .JComponent, java.lang.String, java.io.File, java.awt.Graphics, .Dimension, javax.accessibility.Accessible

A multiplexing UI used to combine FileChooserUIs.

This file was automatically generated by AutoMulti.

Author
Otto Multey

Field Summary

Modifier and TypeField and Description
protected Vector<ComponentUI>
uis

The vector containing the real UIs.

Constructor Summary

AccessConstructor and Description
public
MultiFileChooserUI()

Constructs a MultiFileChooserUI.

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

the value obtained from the first UI, which is the UI obtained from the default LookAndFeel
contains
(JComponent a, int b, int c)

Overrides javax.swing.plaf.ComponentUI.contains.

Invokes the contains method on each UI handled by this object.

public static ComponentUI

Returns:

the UI delegate created
createUI
(JComponent
the component to create the UI for
a
)

Hides javax.swing.plaf.ComponentUI.createUI.

Returns a multiplexing UI instance if any of the auxiliary LookAndFeels supports this UI.

public void
ensureFileIsVisible(JFileChooser a, File b)

Implements abstract javax.swing.plaf.FileChooserUI.ensureFileIsVisible.

Invokes the ensureFileIsVisible method on each UI handled by this object.

public FileFilter

Returns:

the value obtained from the first UI, which is the UI obtained from the default LookAndFeel
getAcceptAllFileFilter
(JFileChooser a)

Implements abstract javax.swing.plaf.FileChooserUI.getAcceptAllFileFilter.

Invokes the getAcceptAllFileFilter method on each UI handled by this object.

public Accessible

Returns:

the value obtained from the first UI, which is the UI obtained from the default LookAndFeel
getAccessibleChild
(JComponent a, int b)

Overrides javax.swing.plaf.ComponentUI.getAccessibleChild.

Invokes the getAccessibleChild method on each UI handled by this object.

public int

Returns:

the value obtained from the first UI, which is the UI obtained from the default LookAndFeel
getAccessibleChildrenCount
(JComponent a)

Overrides javax.swing.plaf.ComponentUI.getAccessibleChildrenCount.

Invokes the getAccessibleChildrenCount method on each UI handled by this object.

public String

Returns:

the value obtained from the first UI, which is the UI obtained from the default LookAndFeel
getApproveButtonText
(JFileChooser a)

Implements abstract javax.swing.plaf.FileChooserUI.getApproveButtonText.

Invokes the getApproveButtonText method on each UI handled by this object.

public String

Returns:

the value obtained from the first UI, which is the UI obtained from the default LookAndFeel
getDialogTitle
(JFileChooser a)

Implements abstract javax.swing.plaf.FileChooserUI.getDialogTitle.

Invokes the getDialogTitle method on each UI handled by this object.

public FileView

Returns:

the value obtained from the first UI, which is the UI obtained from the default LookAndFeel
getFileView
(JFileChooser a)

Implements abstract javax.swing.plaf.FileChooserUI.getFileView.

Invokes the getFileView method on each UI handled by this object.

public Dimension

Returns:

the value obtained from the first UI, which is the UI obtained from the default LookAndFeel
getMaximumSize
(JComponent a)

Overrides javax.swing.plaf.ComponentUI.getMaximumSize.

Invokes the getMaximumSize method on each UI handled by this object.

public Dimension

Returns:

the value obtained from the first UI, which is the UI obtained from the default LookAndFeel
getMinimumSize
(JComponent a)

Overrides javax.swing.plaf.ComponentUI.getMinimumSize.

Invokes the getMinimumSize method on each UI handled by this object.

public Dimension

Returns:

the value obtained from the first UI, which is the UI obtained from the default LookAndFeel
getPreferredSize
(JComponent a)

Overrides javax.swing.plaf.ComponentUI.getPreferredSize.

Invokes the getPreferredSize method on each UI handled by this object.

public ComponentUI[]

Returns:

an array of the UI delegates
getUIs
()

Returns the list of UIs associated with this multiplexing UI.

public void
installUI(JComponent a)

Overrides javax.swing.plaf.ComponentUI.installUI.

Invokes the installUI method on each UI handled by this object.

public void
paint(Graphics a, JComponent b)

Overrides javax.swing.plaf.ComponentUI.paint.

Invokes the paint method on each UI handled by this object.

public void
rescanCurrentDirectory(JFileChooser a)

Implements abstract javax.swing.plaf.FileChooserUI.rescanCurrentDirectory.

Invokes the rescanCurrentDirectory method on each UI handled by this object.

public void
uninstallUI(JComponent a)

Overrides javax.swing.plaf.ComponentUI.uninstallUI.

Invokes the uninstallUI method on each UI handled by this object.

public void
update(Graphics a, JComponent b)

Overrides javax.swing.plaf.ComponentUI.update.

Invokes the update method on each UI handled by this object.

Inherited from javax.swing.plaf.FileChooserUI:
getDefaultButton

Field Detail

uisback to summary
protected Vector<ComponentUI> uis

The vector containing the real UIs. This is populated in the call to createUI, and can be obtained by calling the getUIs method. The first element is guaranteed to be the real UI obtained from the default look and feel.

Constructor Detail

MultiFileChooserUIback to summary
public MultiFileChooserUI()

Constructs a MultiFileChooserUI.

Method Detail

containsback to summary
public boolean contains(JComponent a, int b, int c)

Overrides javax.swing.plaf.ComponentUI.contains.

Invokes the contains method on each UI handled by this object.

Returns:boolean

the value obtained from the first UI, which is the UI obtained from the default LookAndFeel

createUIback to summary
public static ComponentUI createUI(JComponent a)

Hides javax.swing.plaf.ComponentUI.createUI.

Returns a multiplexing UI instance if any of the auxiliary LookAndFeels supports this UI. Otherwise, just returns the UI object obtained from the default LookAndFeel.

Parameters
a:JComponent

the component to create the UI for

Returns:ComponentUI

the UI delegate created

ensureFileIsVisibleback to summary
public void ensureFileIsVisible(JFileChooser a, File b)

Implements abstract javax.swing.plaf.FileChooserUI.ensureFileIsVisible.

Invokes the ensureFileIsVisible method on each UI handled by this object.

getAcceptAllFileFilterback to summary
public FileFilter getAcceptAllFileFilter(JFileChooser a)

Implements abstract javax.swing.plaf.FileChooserUI.getAcceptAllFileFilter.

Invokes the getAcceptAllFileFilter method on each UI handled by this object.

Returns:FileFilter

the value obtained from the first UI, which is the UI obtained from the default LookAndFeel

getAccessibleChildback to summary
public Accessible getAccessibleChild(JComponent a, int b)

Overrides javax.swing.plaf.ComponentUI.getAccessibleChild.

Invokes the getAccessibleChild method on each UI handled by this object.

Returns:Accessible

the value obtained from the first UI, which is the UI obtained from the default LookAndFeel

getAccessibleChildrenCountback to summary
public int getAccessibleChildrenCount(JComponent a)

Overrides javax.swing.plaf.ComponentUI.getAccessibleChildrenCount.

Invokes the getAccessibleChildrenCount method on each UI handled by this object.

Returns:int

the value obtained from the first UI, which is the UI obtained from the default LookAndFeel

getApproveButtonTextback to summary
public String getApproveButtonText(JFileChooser a)

Implements abstract javax.swing.plaf.FileChooserUI.getApproveButtonText.

Invokes the getApproveButtonText method on each UI handled by this object.

Returns:String

the value obtained from the first UI, which is the UI obtained from the default LookAndFeel

getDialogTitleback to summary
public String getDialogTitle(JFileChooser a)

Implements abstract javax.swing.plaf.FileChooserUI.getDialogTitle.

Invokes the getDialogTitle method on each UI handled by this object.

Returns:String

the value obtained from the first UI, which is the UI obtained from the default LookAndFeel

getFileViewback to summary
public FileView getFileView(JFileChooser a)

Implements abstract javax.swing.plaf.FileChooserUI.getFileView.

Invokes the getFileView method on each UI handled by this object.

Returns:FileView

the value obtained from the first UI, which is the UI obtained from the default LookAndFeel

getMaximumSizeback to summary
public Dimension getMaximumSize(JComponent a)

Overrides javax.swing.plaf.ComponentUI.getMaximumSize.

Invokes the getMaximumSize method on each UI handled by this object.

Returns:Dimension

the value obtained from the first UI, which is the UI obtained from the default LookAndFeel

getMinimumSizeback to summary
public Dimension getMinimumSize(JComponent a)

Overrides javax.swing.plaf.ComponentUI.getMinimumSize.

Invokes the getMinimumSize method on each UI handled by this object.

Returns:Dimension

the value obtained from the first UI, which is the UI obtained from the default LookAndFeel

getPreferredSizeback to summary
public Dimension getPreferredSize(JComponent a)

Overrides javax.swing.plaf.ComponentUI.getPreferredSize.

Invokes the getPreferredSize method on each UI handled by this object.

Returns:Dimension

the value obtained from the first UI, which is the UI obtained from the default LookAndFeel

getUIsback to summary
public ComponentUI[] getUIs()

Returns the list of UIs associated with this multiplexing UI. This allows processing of the UIs by an application aware of multiplexing UIs on components.

Returns:ComponentUI[]

an array of the UI delegates

installUIback to summary
public void installUI(JComponent a)

Overrides javax.swing.plaf.ComponentUI.installUI.

Invokes the installUI method on each UI handled by this object.

paintback to summary
public void paint(Graphics a, JComponent b)

Overrides javax.swing.plaf.ComponentUI.paint.

Invokes the paint method on each UI handled by this object.

rescanCurrentDirectoryback to summary
public void rescanCurrentDirectory(JFileChooser a)

Implements abstract javax.swing.plaf.FileChooserUI.rescanCurrentDirectory.

Invokes the rescanCurrentDirectory method on each UI handled by this object.

uninstallUIback to summary
public void uninstallUI(JComponent a)

Overrides javax.swing.plaf.ComponentUI.uninstallUI.

Invokes the uninstallUI method on each UI handled by this object.

updateback to summary
public void update(Graphics a, JComponent b)

Overrides javax.swing.plaf.ComponentUI.update.

Invokes the update method on each UI handled by this object.