ewe.filechooser
Class FileChooserDemo

java.lang.Object
  extended byewe.data.DataObject
      extended byewe.data.LiveObject
          extended byewe.filechooser.FileChooserDemo
All Implemented Interfaces:
Comparable, Copyable, DataUnit, FieldListener, LiveData, Runnable

public class FileChooserDemo
extends LiveObject
implements Runnable


Field Summary
 File aFile
           
 boolean asABrowser
           
 boolean browseOnly
           
 String chooserTitle
           
 boolean doExec
           
 boolean explorer
           
 String initial
           
 String masks
           
 boolean multiSelect
           
 boolean quickSelect
           
 boolean showTree
           
 String title
           
 int type
           
 boolean useImages
           
 
Constructor Summary
FileChooserDemo()
           
 
Method Summary
 void addToPanel(CellPanel cp, Editor f, int which)
          Override this to provide the user interface for editing the Object.
static void main(String[] args)
           
 void run()
           
 void runDemo(boolean xs)
           
 
Methods inherited from class ewe.data.LiveObject
action, action, addMeToPanel, addObjectToPanel, decode, decoded, decodeFields, enableEditorScrolling, encode, encoded, encodeFields, fieldChanged, fieldChanged, fieldEvent, getEditor, getEditorScroller, getIcon, getName, input, makeNewEditor, runAsApp, textDecode, textEncode
 
Methods inherited from class ewe.data.DataObject
_getSetField, appendAllFields, compareTo, copied, copyFrom, equals, getCopy, getDeclaredField, getDeclaredFieldValue, getDeclaredFieldValue, getFieldList, getFieldList, getMyFieldList, getNew
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, toString
 
Methods inherited from interface ewe.data.DataUnit
copyFrom, getNew
 
Methods inherited from interface ewe.util.Copyable
getCopy
 
Methods inherited from interface ewe.util.Comparable
compareTo
 

Field Detail

showTree

public boolean showTree

quickSelect

public boolean quickSelect

useImages

public boolean useImages

browseOnly

public boolean browseOnly

multiSelect

public boolean multiSelect

explorer

public boolean explorer

chooserTitle

public String chooserTitle

title

public String title

masks

public String masks

type

public int type

asABrowser

public boolean asABrowser

doExec

public boolean doExec

aFile

public File aFile

initial

public String initial
Constructor Detail

FileChooserDemo

public FileChooserDemo()
Method Detail

addToPanel

public void addToPanel(CellPanel cp,
                       Editor f,
                       int which)
Description copied from class: LiveObject
Override this to provide the user interface for editing the Object. Add all your controls to the CellPanel cp, and your fields to the Editor ed. The options parameter may be used to specify a different Editor for the Object for different situations - it is the same parameter that is passed to the LiveData.getEditor(int options) call.

Overrides:
addToPanel in class LiveObject

runDemo

public void runDemo(boolean xs)

run

public void run()
Specified by:
run in interface Runnable

main

public static void main(String[] args)