|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.oddjob.framework.BaseComponent
org.oddjob.framework.BasePrimary
org.oddjob.framework.SimpleJob
org.oddjob.jobs.swing.ChooseFile
Pop up a dialog to select a file.
| Field Summary |
| Fields inherited from class org.oddjob.framework.BasePrimary |
stop |
| Fields inherited from class org.oddjob.framework.BaseComponent |
changes, destroyed, iconHelper, location, lock, stateHandler |
| Constructor Summary | |
ChooseFile()
|
|
| Method Summary | |
int |
execute()
Execute this job. |
java.io.File |
getChosen()
|
void |
setDir(java.io.File dir)
|
| Methods inherited from class org.oddjob.framework.SimpleJob |
hardReset, independant, onStop, run, softReset, stop |
| Methods inherited from class org.oddjob.framework.BasePrimary |
configurationComplete, getLogger, getName, logger, setContext, setJobStateReady, setLogger, setName, sleep, toString |
| Methods inherited from class org.oddjob.framework.BaseComponent |
addIconListener, addJobStateListener, addPropertyChangeListener, arooaRuntime, arooaRuntime, canHardReset, canSoftReset, configure, destroy, getLocation, iconForId, lastJobStateEvent, onDestroy, removeIconListener, removeJobStateListener, removePropertyChangeListener, setJobStateComplete, setJobStateException, setJobStateNotComplete |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.oddjob.Stateful |
addJobStateListener, removeJobStateListener |
| Constructor Detail |
public ChooseFile()
| Method Detail |
public java.io.File getChosen()
public void setDir(java.io.File dir)
public int execute()
throws java.lang.Exception
SimpleJob
execute in class SimpleJobjava.lang.Exception - If the unexpected occurs.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||