ewe.filechooser
Class FileChooserOptions

java.lang.Object
  extended byewe.filechooser.FileChooserOptions

public class FileChooserOptions
extends Object

You can use this to explicitly change the options for FileChooser views. By default, a new FileChooser will have the same view/sort options as the previous one. However if you call FileChooser.setOptions(FileChooserOptions) after constructing it, you can set it to different values.


Field Summary
 String mask
           
 int sortOptions
          Use the File.LIST_BY options OR'ed with File.LIST_DESCENDING if necessary for this variable.
static int VIEW_FILE_TIPS
           
static int VIEW_NAME_ONLY
           
 int viewOptions
           
 
Constructor Summary
FileChooserOptions()
           
 
Method Summary
 void copyFrom(FileChooserOptions other)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, toString
 

Field Detail

VIEW_NAME_ONLY

public static final int VIEW_NAME_ONLY
See Also:
Constant Field Values

VIEW_FILE_TIPS

public static final int VIEW_FILE_TIPS
See Also:
Constant Field Values

viewOptions

public int viewOptions

sortOptions

public int sortOptions
Use the File.LIST_BY options OR'ed with File.LIST_DESCENDING if necessary for this variable. A value of 0 implies sort by name.


mask

public String mask
Constructor Detail

FileChooserOptions

public FileChooserOptions()
Method Detail

copyFrom

public void copyFrom(FileChooserOptions other)