Descripción
Sintaxis
@JavaBean(defaultProperty="UI", description="A component which allows for the interactive selection of a file.") public class JFileChooser extends JComponent implements Accessible
Constructores
Campos
- ACCEPT_ALL_FILE_FILTER_USED_CHANGED_PROPERTY
- accessibleContext
- ACCESSORY_CHANGED_PROPERTY
- APPROVE_BUTTON_MNEMONIC_CHANGED_PROPERTY
- APPROVE_BUTTON_TEXT_CHANGED_PROPERTY
- APPROVE_BUTTON_TOOL_TIP_TEXT_CHANGED_PROPERTY
- APPROVE_OPTION
- APPROVE_SELECTION
- CANCEL_OPTION
- CANCEL_SELECTION
- CHOOSABLE_FILE_FILTER_CHANGED_PROPERTY
- CONTROL_BUTTONS_ARE_SHOWN_CHANGED_PROPERTY
- CUSTOM_DIALOG
- DIALOG_TITLE_CHANGED_PROPERTY
- DIALOG_TYPE_CHANGED_PROPERTY
- DIRECTORIES_ONLY
- DIRECTORY_CHANGED_PROPERTY
- ERROR_OPTION
- FILE_FILTER_CHANGED_PROPERTY
- FILE_HIDING_CHANGED_PROPERTY
- FILE_SELECTION_MODE_CHANGED_PROPERTY
- FILE_SYSTEM_VIEW_CHANGED_PROPERTY
- FILE_VIEW_CHANGED_PROPERTY
- FILES_AND_DIRECTORIES
- FILES_ONLY
- MULTI_SELECTION_ENABLED_CHANGED_PROPERTY
- OPEN_DIALOG
- SAVE_DIALOG
- SELECTED_FILE_CHANGED_PROPERTY
- SELECTED_FILES_CHANGED_PROPERTY
Métodos
- accept()
- addActionListener()
- addChoosableFileFilter()
- approveSelection()
- cancelSelection()
- changeToParentDirectory()
- createDialog()
- ensureFileIsVisible()
- fireActionPerformed()
- getAcceptAllFileFilter()
- getAccessibleContext()
- getAccessory()
- getActionListeners()
- getApproveButtonMnemonic()
- getApproveButtonText()
- getApproveButtonToolTipText()
- getChoosableFileFilters()
- getControlButtonsAreShown()
- getCurrentDirectory()
- getDescription()
- getDialogTitle()
- getDialogType()
- getDragEnabled()
- getFileFilter()
- getFileSelectionMode()
- getFileSystemView()
- getFileView()
- getIcon()
- getName()
- getSelectedFile()
- getSelectedFiles()
- getTypeDescription()
- getUI()
- getUIClassID()
- isAcceptAllFileFilterUsed()
- isDirectorySelectionEnabled()
- isFileHidingEnabled()
- isFileSelectionEnabled()
- isMultiSelectionEnabled()
- isTraversable()
- paramString()
- removeActionListener()
- removeChoosableFileFilter()
- rescanCurrentDirectory()
- resetChoosableFileFilters()
- setAcceptAllFileFilterUsed()
- setAccessory()
- setApproveButtonMnemonic()
- setApproveButtonText()
- setApproveButtonToolTipText()
- setControlButtonsAreShown()
- setCurrentDirectory()
- setDialogTitle()
- setDialogType()
- setDragEnabled()
- setFileFilter()
- setFileHidingEnabled()
- setFileSelectionMode()
- setFileSystemView()
- setFileView()
- setMultiSelectionEnabled()
- setSelectedFile()
- setSelectedFiles()
- setup()
- showDialog()
- showOpenDialog()
- showSaveDialog()
- updateUI()
Ejemplo
Artículos
Vídeos Java
Disfruta también de nuestros artículos sobre Java en formato vídeo. Aprovecha y suscribete a nuestro canal.