|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.EventObject | +--au.edu.swin.synergy.kernel.BCommandEvent | +--au.edu.swin.synergy.plugin.mod13.event.BWindowCE | +--au.edu.swin.synergy.plugin.mod13.event.BGetFilesCE
Fields inherited from class au.edu.swin.synergy.kernel.BCommandEvent |
connectionID,
index,
kBroadcast,
kClient,
kClientDone,
kLocal,
kServer,
kServerDone,
networkStatus,
serialVersionUID |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
BGetFilesCE(Object source)
The default constructor |
|
BGetFilesCE(Object source,
String startingDir)
Creates the event with the given starting directory. |
|
BGetFilesCE(Object source,
String startingDir,
boolean mustExist)
Creates the event with the given starting directory. |
Method Summary | |
FileFilter |
getFileFilter()
Gets the file filter to use in the browser |
boolean |
getFileMustExist()
Indicates whether the file must exist and if so it will prompt the user until they select a real file. |
File |
getSelectedFile()
Will return the selected file. |
String |
getStartingDir()
Gets the starting directory for the browser. |
String |
getTitle()
This will get the title of the window |
boolean |
isLoading()
Indicates whether the user is wants to load a file or save one. |
void |
setFileFilter(FileFilter fileFilter)
Sets the file filter to use in the browser |
void |
setLoad(boolean load)
Indicates whether the user is going to be loading or saving a file. |
void |
setSelectedFile(File selectedFile)
Sets the selected file for the source to retrieve |
void |
setStartingDir(String startingDir)
Sets the starting directory to the given value. |
void |
setTitle(String windowTitle)
Sets the title of the browsing window to the value given |
Methods inherited from class au.edu.swin.synergy.kernel.BCommandEvent |
decrementThreadCount,
doComplete,
doInit,
getAutoComplete,
getCompletionObject,
getCompletionStatus,
getConnectionID,
getIndex,
getNetworkStatus,
getPipe,
getUndoable,
setAutoComplete,
setCompletionObject,
setCompletionStatus,
setConnectionID,
setIndex,
setNetworkStatus,
setPipe,
setThreadCount,
setUndoable |
Methods inherited from class java.util.EventObject |
getSource,
toString |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public BGetFilesCE(Object source)
public BGetFilesCE(Object source, String startingDir)
startingDir
- The directory to start browsing in.public BGetFilesCE(Object source, String startingDir, boolean mustExist)
startingDir
- The directory to start browsing in.Method Detail |
public void setTitle(String windowTitle)
windowTitle
- The title of the windowpublic String getTitle()
public void setFileFilter(FileFilter fileFilter)
fileFilter
- The file filterpublic FileFilter getFileFilter()
public void setStartingDir(String startingDir)
startingDir
- The directory to start in ("." by default)public String getStartingDir()
public void setLoad(boolean load)
load
- True to load a file, false to savepublic boolean isLoading()
public void setSelectedFile(File selectedFile)
selectedFile
- The selected filepublic File getSelectedFile()
public boolean getFileMustExist()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |