|
||||||||||
| 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.PropertyFileEditorRequester
public class PropertyFileEditorRequester
A Requester that loads a file, and display is for editing.
| Field Summary | |
|---|---|
protected java.util.Hashtable<java.lang.String,javax.swing.text.JTextComponent> |
components
|
protected PropertyEditorElement[] |
elements
|
protected java.io.File |
file
|
protected HLabel |
label
|
| Fields inherited from class de.hillenbrand.jreqtools.OkCancelRequester |
|---|
answer, cancel, comment, drawFirstSeparator, drawSecondSeparator, icon, ok |
| Fields inherited from class de.hillenbrand.jreqtools.AbstractRequester |
|---|
CANCEL, dialog, listener, message, OK, title |
| Constructor Summary | |
|---|---|
PropertyFileEditorRequester(java.io.File file,
PropertyEditorElement[] elements)
Constructs a new FileEditorRequester with a default title and message, and a given file. |
|
PropertyFileEditorRequester(java.lang.String message,
java.io.File file,
PropertyEditorElement[] elements)
Constructs a new FileEditorRequester with a default title, a given message, and file. |
|
PropertyFileEditorRequester(java.lang.String title,
java.lang.String message,
java.io.File file,
PropertyEditorElement[] elements)
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 HPanel |
getUserPanel()
|
protected void |
ok()
|
protected void |
prepareForRequest()
This method is being called directly before the dialog will be shown. |
void |
setFile(java.io.File f)
Assigns the value of the file property. |
| Methods inherited from class de.hillenbrand.jreqtools.OkCancelRequester |
|---|
cancel, createContentPane, getComment, getDefaultButton, getIcon, getOkTriggerComponent, getPreferredRequesterSize, getReturnValue, isDrawFirstSeparator, isDrawSecondSeparator, setCancelButtonText, setComment, setDrawFirstSeparator, setDrawSecondSeparator, setDrawSeparators, setIcon, setOkButtonText, simulateCancelPressed, simulateOkPressed, validateData |
| Methods inherited from class de.hillenbrand.jreqtools.AbstractRequester |
|---|
_checkLocation, _checkLocation, _checkSize, _checkSize, checkForClass, enableHelpKey4JavaHelp, getBounds, getLocation, getMessage, getSize, getTitle, request, request, request, setBorder, setBounds, setBounds, setLocation, setLocation, setMessage, setSize, setSize, setTitle, setVisible, showError, showException, showMessage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final HLabel label
protected final java.util.Hashtable<java.lang.String,javax.swing.text.JTextComponent> components
protected java.io.File file
protected PropertyEditorElement[] elements
| Constructor Detail |
|---|
public PropertyFileEditorRequester(java.io.File file,
PropertyEditorElement[] elements)
file -
public PropertyFileEditorRequester(java.lang.String message,
java.io.File file,
PropertyEditorElement[] elements)
message - file -
public PropertyFileEditorRequester(java.lang.String title,
java.lang.String message,
java.io.File file,
PropertyEditorElement[] elements)
title - message - file - | Method Detail |
|---|
public java.io.File getFile()
protected HPanel getUserPanel()
getUserPanel in class OkCancelRequesterprotected void ok()
ok in class OkCancelRequesterprotected void prepareForRequest()
AbstractRequester
prepareForRequest in class OkCancelRequesterpublic void setFile(java.io.File f)
f -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||