Fields
publicfinalstatic
String ACCEPT_ALL_FILE_FILTER_USED_CHANGED_PROPERTY
= "acceptAllFileFilterUsedChanged"
Identifies whether a the AcceptAllFileFilter is used or not.
publicfinalstatic
String ACCESSORY_CHANGED_PROPERTY
= "AccessoryChangedProperty"
Says that a different accessory component is in use
(for example, to preview files).
publicfinalstatic
String APPROVE_BUTTON_MNEMONIC_CHANGED_PROPERTY
= "ApproveButtonMnemonicChangedProperty"
Identifies change in the mnemonic for the approve (yes, ok) button.
publicfinalstatic
String APPROVE_BUTTON_TEXT_CHANGED_PROPERTY
= "ApproveButtonTextChangedProperty"
Identifies change in the text on the approve (yes, ok) button.
publicfinalstatic
String APPROVE_BUTTON_TOOL_TIP_TEXT_CHANGED_PROPERTY
= "ApproveButtonToolTipTextChangedProperty"
Identifies change in the tooltip text for the approve (yes, ok)
button.
publicfinalstatic
int APPROVE_OPTION
= "0"
Return value if approve (yes, ok) is chosen.
publicfinalstatic
String APPROVE_SELECTION
= "ApproveSelection"
Instruction to approve the current selection
(same as pressing yes or ok).
publicfinalstatic
float BOTTOM_ALIGNMENT
= "1.0"
[Inherited From Component]
Ease-of-use constant for
getAlignmentY
.
Ease-of-use constant for
getAlignmentY
.
Specifies an alignment to the bottom of the component.
See Also:
Component.getAlignmentY()
,
publicfinalstatic
int CANCEL_OPTION
= "1"
Return value if cancel is chosen.
publicfinalstatic
String CANCEL_SELECTION
= "CancelSelection"
Instruction to cancel the current selection.
publicfinalstatic
float CENTER_ALIGNMENT
= "0.5"
[Inherited From Component]
Ease-of-use constant for
getAlignmentY
and
getAlignmentX
.
publicfinalstatic
String CHOOSABLE_FILE_FILTER_CHANGED_PROPERTY
= "ChoosableFileFilterChangedProperty"
Identifies a change in the list of predefined file filters
the user can choose from.
publicfinalstatic
String CONTROL_BUTTONS_ARE_SHOWN_CHANGED_PROPERTY
= "ControlButtonsAreShownChangedProperty"
Instruction to display the control buttons.
publicfinalstatic
int CUSTOM_DIALOG
= "2"
Type value indicating that the JFileChooser
supports a
developer-specified file operation.
pack-privatestatic
boolean DEBUG_GRAPHICS_LOADED
[Inherited From JComponent]
Set to true when DebugGraphics has been loaded.
publicfinalstatic
String DIALOG_TITLE_CHANGED_PROPERTY
= "DialogTitleChangedProperty"
Identifies a change in the dialog title.
publicfinalstatic
String DIALOG_TYPE_CHANGED_PROPERTY
= "DialogTypeChangedProperty"
Identifies a change in the type of files displayed (files only,
directories only, or both files and directories).
publicfinalstatic
int DIRECTORIES_ONLY
= "1"
Instruction to display only directories.
publicfinalstatic
String DIRECTORY_CHANGED_PROPERTY
= "directoryChanged"
Identifies user's directory change.
publicfinalstatic
int ERROR_OPTION
= "-1"
Return value if an error occured.
publicfinalstatic
String FILE_FILTER_CHANGED_PROPERTY
= "fileFilterChanged"
User changed the kind of files to display.
publicfinalstatic
String FILE_HIDING_CHANGED_PROPERTY
= "FileHidingChanged"
Identifies a change in the display-hidden-files property.
publicfinalstatic
String FILE_SELECTION_MODE_CHANGED_PROPERTY
= "fileSelectionChanged"
Identifies a change in the kind of selection (single,
multiple, etc.).
publicfinalstatic
String FILE_SYSTEM_VIEW_CHANGED_PROPERTY
= "FileSystemViewChanged"
Says that a different object is being used to find available drives
on the system.
publicfinalstatic
String FILE_VIEW_CHANGED_PROPERTY
= "fileViewChanged"
Says that a different object is being used to retrieve file
information.
publicfinalstatic
int FILES_AND_DIRECTORIES
= "2"
Instruction to display both files and directories.
publicfinalstatic
int FILES_ONLY
= "0"
Instruction to display only files.
pack-privatefinalstatic
sun.awt.RequestFocusController focusController
[Inherited From JComponent]
publicfinalstatic
float LEFT_ALIGNMENT
= "0.0"
[Inherited From Component]
Ease-of-use constant for
getAlignmentX
.
Ease-of-use constant for
getAlignmentX
.
Specifies an alignment to the left side of the component.
See Also:
Component.getAlignmentX()
,
publicfinalstatic
String MULTI_SELECTION_ENABLED_CHANGED_PROPERTY
= "MultiSelectionEnabledChangedProperty"
Enables multiple-file selections.
publicfinalstatic
int OPEN_DIALOG
= "0"
Type value indicating that the JFileChooser
supports an
"Open" file operation.
pack-privatetransient
Component paintingChild
[Inherited From JComponent]
Set in
_paintImmediately
.
Set in
_paintImmediately
.
Will indicate the child that initiated the painting operation.
If
paintingChild
is opaque, no need to paint
any child components after
paintingChild
.
Test used in
paintChildren
.
publicfinalstatic
float RIGHT_ALIGNMENT
= "1.0"
[Inherited From Component]
Ease-of-use constant for
getAlignmentX
.
Ease-of-use constant for
getAlignmentX
.
Specifies an alignment to the right side of the component.
See Also:
Component.getAlignmentX()
,
publicfinalstatic
int SAVE_DIALOG
= "1"
Type value indicating that the JFileChooser
supports a
"Save" file operation.
publicfinalstatic
String SELECTED_FILE_CHANGED_PROPERTY
= "SelectedFileChangedProperty"
Identifies change in user's single-file selection.
publicfinalstatic
String SELECTED_FILES_CHANGED_PROPERTY
= "SelectedFilesChangedProperty"
Identifies change in user's multiple-file selection.
publicfinalstatic
String TOOL_TIP_TEXT_KEY
= "ToolTipText"
[Inherited From JComponent]
The comment to display when the cursor is over the component,
also known as a "value tip", "flyover help", or "flyover label".
publicfinalstatic
float TOP_ALIGNMENT
= "0.0"
[Inherited From Component]
Ease-of-use constant for
getAlignmentY()
.
Ease-of-use constant for
getAlignmentY()
.
Specifies an alignment to the top of the component.
See Also:
Component.getAlignmentY()
,
protectedtransient
ComponentUI ui
[Inherited From JComponent]
The look and feel delegate for this component.
publicfinalstatic
int UNDEFINED_CONDITION
= "-1"
[Inherited From JComponent]
Constant used by some of the APIs to mean that no condition is defined.
publicfinalstatic
int WHEN_ANCESTOR_OF_FOCUSED_COMPONENT
= "1"
[Inherited From JComponent]
Constant used for registerKeyboardAction
that
means that the command should be invoked when the receiving
component is an ancestor of the focused component or is
itself the focused component.
publicfinalstatic
int WHEN_FOCUSED
= "0"
[Inherited From JComponent]
Constant used for registerKeyboardAction
that
means that the command should be invoked when
the component has the focus.
publicfinalstatic
int WHEN_IN_FOCUSED_WINDOW
= "2"
[Inherited From JComponent]
Constant used for registerKeyboardAction
that
means that the command should be invoked when
the receiving component is in the window that has the focus
or is itself the focused component.