|
|||||||||
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
public abstract class OkCancelRequester
Field Summary | |
---|---|
protected int |
answer
|
protected javax.swing.JButton |
cancel
|
protected java.lang.String |
comment
|
protected javax.swing.JDialog |
dialog
|
protected javax.swing.Icon |
icon
|
protected javax.swing.JButton |
ok
|
Fields inherited from class de.hillenbrand.jreqtools.AbstractRequester |
---|
CANCEL, listener, message, OK, title |
Constructor Summary | |
---|---|
OkCancelRequester(java.lang.String title,
java.lang.String message)
|
|
OkCancelRequester(java.lang.String title,
java.lang.String message,
javax.swing.Icon icon)
|
Method Summary | |
---|---|
protected void |
cancel()
|
protected javax.swing.JDialog |
createJDialog(java.awt.Window parent)
|
java.lang.String |
getComment()
Returns the value of the comment property. |
javax.swing.Icon |
getIcon()
Returns the value of the icon property. |
protected javax.swing.JComponent |
getOkTriggerComponent()
|
protected java.awt.Dimension |
getPreferredRequesterSize()
Return the preferred size of the dialog's frame to be used when the requester opens for the first time. |
protected int |
getReturnValue()
|
protected abstract javax.swing.JPanel |
getUserPanel()
|
protected void |
ok()
|
protected void |
prepareForRequest()
This method is being called directly before the dialog will be shown. |
int |
request(OkCancelRequester ar)
|
void |
setCancelButtonText(java.lang.String text)
Sets the text of the "Cancel" button. |
void |
setComment(java.lang.String arg)
Assigns the value of the comment property. |
void |
setIcon(javax.swing.Icon arg)
Assigns the value of the icon property. |
void |
setOkButtonText(java.lang.String text)
Sets the text of the "Ok" button. |
void |
simulateCancelPressed()
|
void |
simulateOkPressed()
|
protected java.lang.String |
validateData()
|
Methods inherited from class de.hillenbrand.jreqtools.AbstractRequester |
---|
checkForClass, enableHelpKey4JavaHelp, getBounds, getLocation, getMessage, getSize, getTitle, request, request, setBounds, setBounds, setLocation, setLocation, setMessage, setParentComponent, setSize, setSize, setTitle, showError, showMessage, showNotYetImplemented |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int answer
protected javax.swing.JDialog dialog
protected java.lang.String comment
protected final javax.swing.JButton ok
protected final javax.swing.JButton cancel
protected javax.swing.Icon icon
Constructor Detail |
---|
public OkCancelRequester(java.lang.String title, java.lang.String message)
public OkCancelRequester(java.lang.String title, java.lang.String message, javax.swing.Icon icon)
Method Detail |
---|
protected void cancel()
protected javax.swing.JDialog createJDialog(java.awt.Window parent)
createJDialog
in class AbstractRequester
public java.lang.String getComment()
public javax.swing.Icon getIcon()
protected javax.swing.JComponent getOkTriggerComponent()
protected java.awt.Dimension getPreferredRequesterSize()
protected int getReturnValue()
getReturnValue
in class AbstractRequester
protected abstract javax.swing.JPanel getUserPanel()
protected void ok()
protected void prepareForRequest()
AbstractRequester
prepareForRequest
in class AbstractRequester
public int request(OkCancelRequester ar)
public void setCancelButtonText(java.lang.String text)
public void setComment(java.lang.String arg)
public void setIcon(javax.swing.Icon arg)
public void setOkButtonText(java.lang.String text)
public void simulateCancelPressed()
public void simulateOkPressed()
protected java.lang.String validateData()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |