Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

(Automatically generated from BeanInfo)

Generated Object

A javax.swing.JFileChooser is returned, unless the user passes in a subclass of JFileChooser as the value argument, in which case the value argument is returned.

Attributes

Declared in javax.swing.JFileChooser

  • acceptAllFileFilterUsed <boolean> Sets whether the AcceptAll FileFilter is used as an available choice in the choosable filter list.
  • accessory <JComponent> Sets the accessory component on the JFileChooser.
  • approveButtonMnemonic <int> The mnemonic key accelerator for the ApproveButton.
  • approveButtonText <String> The text that goes in the ApproveButton.
  • approveButtonToolTipText <String> The tooltip text for the ApproveButton.
  • controlButtonsAreShown <boolean> Sets whether the approve & cancel buttons are shown.
  • currentDirectory <File> The directory that the JFileChooser is showing files of.
  • dialogTitle <String> The title of the JFileChooser dialog window.
  • dialogType <int> The type (open, save, custom) of the JFileChooser.
  • dragEnabled <boolean> determines whether automatic drag handling is enabled
  • fileFilter <FileFilter> Sets the File Filter used to filter out files of type.
  • fileHidingEnabled <boolean> Sets file hiding on or off.
  • fileSelectionMode <int> Sets the types of files that the JFileChooser can choose.
  • fileSystemView <FileSystemView> Sets the FileSytemView used to get filesystem information.
  • fileView <FileView> Sets the File View used to get file type information.
  • multiSelectionEnabled <boolean> Sets multiple file selection mode.
  • selectedFiles <File[]> The list of selected files if the chooser is in multiple selection mode.
  • UI <FileChooserUI>
  • acceptAllFileFilter <FileFilter>
  • choosableFileFilters <FileFilter[]>
  • directorySelectionEnabled <boolean>
  • fileSelectionEnabled <boolean>
  • selectedFile <File>

Declared in javax.swing.JComponent

  • autoscrolls <boolean> Determines if this component automatically scrolls its contents when dragged.
  • border <Border> The component's border.
  • componentPopupMenu <JPopupMenu> Popup to show
  • debugGraphicsOptions <int> Diagnostic options for graphics operations.
  • inheritsPopupMenu <boolean> Whether or not the JPopupMenu is inherited
  • inputVerifier <InputVerifier> The component's input verifier.
  • opaque <boolean> The component's opacity
  • toolTipText <String> The text to display in a tool tip.
  • transferHandler <TransferHandler> Mechanism for transfer of data to and from the component
  • verifyInputWhenFocusTarget <boolean> Whether the Component verifies input before accepting focus.
  • UIClassID <String>
  • accessibleContext <AccessibleContext>
  • actionMap <ActionMap>
  • doubleBuffered <boolean>
  • graphics <Graphics>
  • height <int>
  • managingFocus <boolean>
  • nextFocusableComponent <Component>
  • optimizedDrawingEnabled <boolean>
  • paintingTile <boolean>
  • registeredKeyStrokes <KeyStroke[]>
  • requestFocusEnabled <boolean>
  • rootPane <JRootPane>
  • topLevelAncestor <Container>
  • validateRoot <boolean>
  • visibleRect <Rectangle>
  • width <int>
  • x <int>
  • y <int>

Declared in java.awt.Container

  • alignmentX <float>
  • alignmentY <float>
  • componentCount <int>
  • components <Component[]>
  • focusCycleRoot <boolean>
  • focusTraversalPolicy <FocusTraversalPolicy>
  • focusTraversalPolicyProvider <boolean>
  • focusTraversalPolicySet <boolean>
  • insets <Insets>
  • layout <LayoutManager>
  • maximumSize <Dimension>
  • minimumSize <Dimension>
  • preferredSize <Dimension>

Declared in java.awt.Component

  • background <Color>
  • enabled <boolean>
  • focusable <boolean>
  • font <Font>
  • foreground <Color>
  • name <String>
  • visible <boolean>

Events

Declared in javax.swing.JFileChooser

  • actionPerformed (ActionEvent) - part of ActionListener

Declared in javax.swing.JComponent

  • vetoableChange (PropertyChangeEvent) - part of VetoableChangeListener
  • ancestorMoved (AncestorEvent) - part of AncestorListener
  • ancestorAdded (AncestorEvent) - part of AncestorListener
  • ancestorRemoved (AncestorEvent) - part of AncestorListener

Declared in java.awt.Container

  • componentAdded (ContainerEvent) - part of ContainerListener
  • componentRemoved (ContainerEvent) - part of ContainerListener

Declared in java.awt.Component

  • keyPressed (KeyEvent) - part of KeyListener
  • keyReleased (KeyEvent) - part of KeyListener
  • keyTyped (KeyEvent) - part of KeyListener
  • componentHidden (ComponentEvent) - part of ComponentListener
  • componentMoved (ComponentEvent) - part of ComponentListener
  • componentResized (ComponentEvent) - part of ComponentListener
  • componentShown (ComponentEvent) - part of ComponentListener
  • hierarchyChanged (HierarchyEvent) - part of HierarchyListener
  • mouseClicked (MouseEvent) - part of MouseListener
  • mouseEntered (MouseEvent) - part of MouseListener
  • mouseExited (MouseEvent) - part of MouseListener
  • mousePressed (MouseEvent) - part of MouseListener
  • mouseReleased (MouseEvent) - part of MouseListener
  • mouseDragged (MouseEvent) - part of MouseMotionListener
  • mouseMoved (MouseEvent) - part of MouseMotionListener
  • propertyChange (PropertyChangeEvent) - part of PropertyChangeListener
  • ancestorMoved (HierarchyEvent) - part of HierarchyBoundsListener
  • ancestorResized (HierarchyEvent) - part of HierarchyBoundsListener
  • focusGained (FocusEvent) - part of FocusListener
  • focusLost (FocusEvent) - part of FocusListener
  • mouseWheelMoved (MouseWheelEvent) - part of MouseWheelListener
  • caretPositionChanged (InputMethodEvent) - part of InputMethodListener
  • inputMethodTextChanged (InputMethodEvent) - part of InputMethodListener

Content

Usage

Examples

Example of a dialog to choose .xls files:

Observable Attributes

  • acceptAllFileFilterUsed
  • accessory
  • alignmentX
  • alignmentY
  • approveButtonMnemonic
  • approveButtonText
  • approveButtonToolTipText
  • background
  • border
  • component
  • componentCount
  • componentPopupMenu
  • components
  • containerListeners
  • controlButtonsAreShown
  • currentDirectory
  • dialogTitle
  • dialogType
  • enabled
  • fileFilter
  • fileHidingEnabled
  • fileSelectionMode
  • fileSystemView
  • fileView
  • focusCycleRoot
  • focusTraversalKeys
  • focusTraversalPolicy
  • focusTraversalPolicyProvider
  • focusTraversalPolicySet
  • focusable
  • font
  • foreground
  • inheritsPopupMenu
  • inputVerifier
  • insets
  • layout
  • maximumSize
  • minimumSize
  • multiSelectionEnabled
  • opaque
  • preferredSize
  • selectedFile
  • selectedFiles
  • transferHandler
  • verifyInputWhenFocusTarget
  • No labels