Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
GObject
public class FileSelection
extends Dialog
Constructor Summary | |
| |
|
Method Summary | |
void |
|
Button |
|
Widget |
|
Widget |
|
static FileSelection |
|
String |
|
Button |
|
Button |
|
boolean |
|
Widget |
|
String[] |
|
static Type |
|
void |
|
void |
|
void |
|
void |
|
Methods inherited from class org.gnu.gtk.Dialog | |
addButton , addButton , addListener , addWidget , getActionArea , getDialog , getDialogLayout , getEventListenerClass , getEventType , getHasSeparator , getResponseForWidget , getType , removeListener , run , setDefaultResponse , setHasSeparator |
Methods inherited from class org.gnu.gtk.Container | |
add , addListener , getBooleanChildProperty , getBorderWidth , getChildProperty , getChildren , getEventListenerClass , getEventType , getIntChildProperty , getResizeMode , getType , remove , removeListener , resizeChildren , setBooleanChildProperty , setBorderWidth , setChildProperty , setIntChildProperty , setResizeMode |
public FileSelection(Handle handle)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Construct a FileSelection using a handle to a native resource.
public FileSelection(String title)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
construct a new FileSelection dialog.
- Parameters:
title
- The string that is displayed in the title bar of the dialog.
public void complete(String pattern)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Will attempt to matchpattern
to a valid filename or subdirectory in the current directory. If a match can be made the matched filename will appear in the text entry field in the file selection dialog. If a partial match can be made the "Files" list will contain those file names which have been partially matched and the "Directories" list will list those directories which have been partially matched.
- Parameters:
pattern
- The pattern to use for matching.
public Button getCancelButton()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Return the Cancel Button widget for this dialog.
- Returns:
- The Cancel Button.
public Widget getDirList()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Return the directory list for this widget
- Returns:
- The Directory List
public Widget getFileList()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Returns the the file list for this widget
- Returns:
- The File List
public static FileSelection getFileSelection(Handle handle)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Internal static factory method to be used by Java-Gnome only.
public String getFilename()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Returns the selected filename.
- Returns:
- The file that is selected in the dialog.
public Button getHelpButton()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Return the Help Button widget for this dialog.
- Returns:
- The Help Button.
public Button getOKButton()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Return the OK Button widget for this Dialog.
- Returns:
- The OK Button.
public boolean getSelectMultiple()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Determines whether or not the user is allowed to select multiple files in the file list.
- See Also:
setSelectMultiple(boolean)
public Widget getSelectionEntry()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Returns the selection entry
- Returns:
- selection entry
public String[] getSelections()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Retrieves the list of file selections the user has made in the dialog box. This function is intended for use when the user can select multiple files in the file list.
public static Type getType()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Retrieve the runtime type used by the GLib library.
public void hideFileopButtons()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Hides the file operation buttons that normally appear at the top of the dialog.
public void setFilename(String filename)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Sets the default path for the file requestor. If filename includes a directory path the requestor will open with that path set as its current working directory.
- Parameters:
filename
- The default path for the widget.
public void setSelectMultiple(boolean selectMultiple)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Sets whether the user is allowed to select multiple files in the file list. UsegetSelections()
to get the list of selected files.
public void showFileopButtons()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Shows the file operation buttons, if they have previously been hidden. The rest of the widgets in the dialog will be resized accordingly.