|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.hillenbrand.jreqtools.AbstractRequester
de.hillenbrand.jreqtools.OkCancelRequester
de.hillenbrand.jreqtools.FileEditorRequester
A Requester that loads a file, and display is for editing.
Field Summary | |
protected java.io.File |
file
|
protected HTextArea |
text
|
Fields inherited from class de.hillenbrand.jreqtools.OkCancelRequester |
answer, comment, dialog, icon |
Fields inherited from class de.hillenbrand.jreqtools.AbstractRequester |
CANCEL, listener, message, OK, title |
Constructor Summary | |
FileEditorRequester(java.io.File file)
Constructs a new FileEditorRequester with a default title and message, and a given file. |
|
FileEditorRequester(java.lang.String message,
java.io.File file)
Constructs a new FileEditorRequester with a default title, a given message, and file. |
|
FileEditorRequester(java.lang.String title,
java.lang.String message,
java.io.File file)
Constructs a new FileEditorRequester with a given title, message, and file. |
Method Summary | |
java.io.File |
getFile()
Returns the value of the file property. |
protected javax.swing.JPanel |
getUserPanel()
|
protected void |
ok()
|
protected void |
prepareForRequest()
This method is being called directly before the dialog will be shown. |
void |
setFile(java.io.File arg)
Assigns the value of the file property. |
Methods inherited from class de.hillenbrand.jreqtools.OkCancelRequester |
cancel, createJDialog, getComment, getOkTriggerComponent, getPreferredRequesterSize, getReturnValue, request, setCancelButtonText, setComment, setOkButtonText, simulateCancelPressed, simulateOkPressed, validateData |
Methods inherited from class de.hillenbrand.jreqtools.AbstractRequester |
getBounds, getLocation, getMessage, getSize, getTitle, request, request, setBounds, setBounds, setLocation, setLocation, setMessage, setParentComponent, setSize, setSize, setTitle |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected final HTextArea text
protected java.io.File file
Constructor Detail |
public FileEditorRequester(java.io.File file)
public FileEditorRequester(java.lang.String message, java.io.File file)
public FileEditorRequester(java.lang.String title, java.lang.String message, java.io.File file)
Method Detail |
public java.io.File getFile()
protected javax.swing.JPanel getUserPanel()
getUserPanel
in class OkCancelRequester
protected void ok()
ok
in class OkCancelRequester
protected void prepareForRequest()
AbstractRequester
prepareForRequest
in class OkCancelRequester
public void setFile(java.io.File arg)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |