Additional top-level classes in compilation unit: Separator, FileDialogFilter.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv String | |
| pack-priv Panel | |
| pack-priv Button | |
| pack-priv String | |
| pack-priv String | |
| pack-priv List | |
| pack-priv String | |
| pack-priv String | |
| pack-priv Dialog | |
| pack-priv List | |
| pack-priv String | |
| pack-priv FilenameFilter | |
| pack-priv Button | |
| pack-priv TextField | |
| pack-priv String | |
| pack-priv String | |
| pack-priv GridBagConstraints | |
| pack-priv GridBagLayout | |
| pack-priv GridBagLayout | |
| private static final PlatformLogger | |
| pack-priv int | |
| pack-priv Button | |
| pack-priv String | |
| private static final int | |
| pack-priv Choice | |
| pack-priv TextField | |
| pack-priv String | |
| pack-priv Panel | |
| pack-priv String | |
| pack-priv String | |
| pack-priv String | |
| pack-priv TextField | |
| pack-priv FileDialog | |
| pack-priv String | |
| pack-priv String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | actionPerformed(ActionEvent actionEvent)
Implements java. Invoked when an action occurs. |
| pack-priv void | addComponent(Component comp, GridBagLayout gb, GridBagConstraints c, int gridx, int gridy, int gridwidth, int anchor, Container cont, int weightx, int weighty, int fill, Insets in)
add Component comp to the container cont. |
| public void | |
| public boolean | dispatchKeyEvent(KeyEvent keyEvent)
Implements java. This method is called by the current KeyboardFocusManager requesting that this KeyEventDispatcher dispatch the specified event on its behalf. |
| public void | dispose()
Overrides sun. Implements java. Disposes all resources held by the component peer. |
| pack-priv String[] | |
| pack-priv String | |
| pack-priv String | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| private void | |
| pack-priv void | |
| public void | itemStateChanged(ItemEvent itemEvent)
Implements java. Invoked when an item has been selected or deselected by the user. |
| public void | setDirectory(String dir)
Implements java. set the directory FIXME: we should update 'savedDir' after programmatically 'setDirectory' Otherwise, SavedDir will be not null before second showing So the current directory of the file dialog will be incorrect after second showing since 'setDirectory' will be ignored We can't update savedDir here now since it used very often |
| public void | |
| public void | setFilenameFilter(FilenameFilter filter)
Implements java. set filenameFilter |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| public void | setVisible(boolean b)
Overrides sun. Implements java. Makes a component visible or invisible. |
| public void | |
| public void | unfurledChoiceOpening(ListHelper choiceHelper)
Implements sun.
|
| pack-priv boolean | |
| public void | updateIconImages()
Overrides sun. Implements java. Updates the icons for the window. |
| public void | updateMinimumSize()
Overrides sun. Implements java. Updates the minimum size on the peer. |
| actionButtonText | back to summary |
|---|---|
| pack-priv String actionButtonText | |
| buttons | back to summary |
|---|---|
| pack-priv Panel buttons | |
| cancelButton | back to summary |
|---|---|
| pack-priv Button cancelButton | |
| cancelButtonText | back to summary |
|---|---|
| pack-priv String cancelButtonText | |
| dir | back to summary |
|---|---|
| pack-priv String dir | |
| directoryList | back to summary |
|---|---|
| pack-priv List directoryList | |
| enterFileNameLabelText | back to summary |
|---|---|
| pack-priv String enterFileNameLabelText | |
| file | back to summary |
|---|---|
| pack-priv String file | |
| fileDialog | back to summary |
|---|---|
| pack-priv Dialog fileDialog | |
| fileList | back to summary |
|---|---|
| pack-priv List fileList | |
| filesLabelText | back to summary |
|---|---|
| pack-priv String filesLabelText | |
| filter | back to summary |
|---|---|
| pack-priv FilenameFilter filter | |
| filterButton | back to summary |
|---|---|
| pack-priv Button filterButton | |
| filterField | back to summary |
|---|---|
| pack-priv TextField filterField | |
| filterLabelText | back to summary |
|---|---|
| pack-priv String filterLabelText | |
| foldersLabelText | back to summary |
|---|---|
| pack-priv String foldersLabelText | |
| gbc | back to summary |
|---|---|
| pack-priv GridBagConstraints gbc | |
| gbl | back to summary |
|---|---|
| pack-priv GridBagLayout gbl | |
| gblButtons | back to summary |
|---|---|
| pack-priv GridBagLayout gblButtons | |
| log | back to summary |
|---|---|
| private static final PlatformLogger log | |
| mode | back to summary |
|---|---|
| pack-priv int mode | |
| openButton | back to summary |
|---|---|
| pack-priv Button openButton | |
| openButtonText | back to summary |
|---|---|
| pack-priv String openButtonText | |
| PATH_CHOICE_WIDTH | back to summary |
|---|---|
| private static final int PATH_CHOICE_WIDTH | |
| pathChoice | back to summary |
|---|---|
| pack-priv Choice pathChoice | |
| pathField | back to summary |
|---|---|
| pack-priv TextField pathField | |
| pathLabelText | back to summary |
|---|---|
| pack-priv String pathLabelText | |
| pathPanel | back to summary |
|---|---|
| pack-priv Panel pathPanel | |
| saveButtonText | back to summary |
|---|---|
| pack-priv String saveButtonText | |
| savedDir | back to summary |
|---|---|
| pack-priv String savedDir | |
| savedFile | back to summary |
|---|---|
| pack-priv String savedFile | |
| selectionField | back to summary |
|---|---|
| pack-priv TextField selectionField | |
| target | back to summary |
|---|---|
| pack-priv FileDialog target Hides sun. | |
| title | back to summary |
|---|---|
| pack-priv String title | |
| userDir | back to summary |
|---|---|
| pack-priv String userDir | |
| XFileDialogPeer | back to summary |
|---|---|
| pack-priv XFileDialogPeer(FileDialog target) | |
| actionPerformed | back to summary |
|---|---|
| public void actionPerformed(ActionEvent actionEvent) Implements java. Doc from java. Invoked when an action occurs.
| |
| addComponent | back to summary |
|---|---|
| pack-priv void addComponent(Component comp, GridBagLayout gb, GridBagConstraints c, int gridx, int gridy, int gridwidth, int anchor, Container cont, int weightx, int weighty, int fill, Insets in) add Component comp to the container cont. add the component to the correct GridBagLayout | |
| addItemsToPathChoice | back to summary |
|---|---|
| public void addItemsToPathChoice(String text) | |
| dispatchKeyEvent | back to summary |
|---|---|
| public boolean dispatchKeyEvent(KeyEvent keyEvent) Implements java. Doc from java. This method is called by the current KeyboardFocusManager requesting
that this KeyEventDispatcher dispatch the specified event on its behalf.
This KeyEventDispatcher is free to retarget the event, consume it,
dispatch it itself, or make other changes. This capability is typically
used to deliver KeyEvents to Components other than the focus owner. This
can be useful when navigating children of non-focusable Windows in an
accessible environment, for example. Note that if a KeyEventDispatcher
dispatches the KeyEvent itself, it must use
If an implementation of this method returns
| |
| dispose | back to summary |
|---|---|
| public void dispose() Overrides sun. Implements java. Doc from java. Disposes all resources held by the component peer. This is called when the component has been disconnected from the component hierarchy and is about to be garbage collected.
| |
| getDirList | back to summary |
|---|---|
| pack-priv String[] getDirList(String dir) | |
| getFileName | back to summary |
|---|---|
| pack-priv String getFileName(String str) get fileName | |
| getParentDirectory | back to summary |
|---|---|
| pack-priv String getParentDirectory() | |
| handleCancel | back to summary |
|---|---|
| pack-priv void handleCancel() handle the cancel event
| |
| handleFilter | back to summary |
|---|---|
| pack-priv void handleFilter(String f) handleFilter | |
| handleQuitButton | back to summary |
|---|---|
| pack-priv void handleQuitButton() handle the quit event
| |
| handleSelection | back to summary |
|---|---|
| pack-priv void handleSelection(String file) handle the selection event | |
| init | back to summary |
|---|---|
private void init(FileDialog target)
| |
| installStrings | back to summary |
|---|---|
| pack-priv void installStrings() | |
| itemStateChanged | back to summary |
|---|---|
| public void itemStateChanged(ItemEvent itemEvent) Implements java. Doc from java. Invoked when an item has been selected or deselected by the user. The code written for this method performs the operations that need to occur when an item is selected (or deselected).
| |
| setDirectory | back to summary |
|---|---|
| public void setDirectory(String dir) Implements java. set the directory FIXME: we should update 'savedDir' after programmatically 'setDirectory' Otherwise, SavedDir will be not null before second showing So the current directory of the file dialog will be incorrect after second showing since 'setDirectory' will be ignored We can't update savedDir here now since it used very often
| |
| setFile | back to summary |
|---|---|
| public void setFile(String file) Implements java. set the file
| |
| setFilenameFilter | back to summary |
|---|---|
| public void setFilenameFilter(FilenameFilter filter) Implements java. set filenameFilter
| |
| setFilterEntry | back to summary |
|---|---|
| pack-priv void setFilterEntry(String d, String f) set the entry of the new dir with f
| |
| setFilterField | back to summary |
|---|---|
| pack-priv void setFilterField(String str) set the text in the filterField | |
| setSelectionField | back to summary |
|---|---|
| pack-priv void setSelectionField(String str) set the text in the selectionField | |
| setVisible | back to summary |
|---|---|
| public void setVisible(boolean b) Overrides sun. Implements java. Doc from java. Makes a component visible or invisible.
| |
| unfurledChoiceClosing | back to summary |
|---|---|
| public void unfurledChoiceClosing() Implements sun.
| |
| unfurledChoiceOpening | back to summary |
|---|---|
| public void unfurledChoiceOpening(ListHelper choiceHelper) Implements sun.
| |
| updateDirectoryByUserAction | back to summary |
|---|---|
| pack-priv boolean updateDirectoryByUserAction(String str) | |
| updateIconImages | back to summary |
|---|---|
| public void updateIconImages() Overrides sun. Implements java. Doc from java. Updates the icons for the window.
| |
| updateMinimumSize | back to summary |
|---|---|
| public void updateMinimumSize() Overrides sun. Implements java. Doc from java. Updates the minimum size on the peer.
| |