|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.hillenbrand.jreqtools.AbstractRequester
public abstract class AbstractRequester
This is the abstract base class for all requesters.
Field Summary | |
---|---|
static int |
CANCEL
|
protected javax.swing.JDialog |
dialog
|
protected java.awt.event.ActionListener |
listener
|
protected java.lang.String |
message
|
static int |
OK
|
protected java.lang.String |
title
|
Constructor Summary | |
---|---|
AbstractRequester(java.lang.String title,
java.lang.String message)
|
Method Summary | |
---|---|
protected abstract javax.swing.JDialog |
createJDialog(java.awt.Window parent)
|
void |
enableHelpKey4JavaHelp(javax.help.HelpBroker br,
java.lang.String id,
javax.help.HelpSet set)
Enables the help key for Java help on the root panel of the dialog. |
java.awt.Rectangle |
getBounds()
|
java.awt.Point |
getLocation()
|
java.lang.String |
getMessage()
Returns the value of the message property. |
protected abstract int |
getReturnValue()
|
java.awt.Dimension |
getSize()
|
java.lang.String |
getTitle()
Returns the value of the title property. |
protected abstract void |
prepareForRequest()
This method is being called directly before the dialog will be shown. |
int |
request(javax.swing.JDialog parent)
|
int |
request(javax.swing.JFrame parent)
|
void |
setBounds(int x,
int y,
int width,
int height)
|
void |
setBounds(java.awt.Rectangle newBounds)
|
void |
setLocation(int x,
int y)
|
void |
setLocation(java.awt.Point newlocation)
|
void |
setMessage(java.lang.String arg)
Assigns the value of the message property. |
void |
setParentComponent(javax.swing.JComponent c)
|
void |
setSize(java.awt.Dimension newsize)
|
void |
setSize(int width,
int height)
|
void |
setTitle(java.lang.String arg)
Assigns the value of the title property. |
void |
showError(java.lang.String s)
Shows an error to the user. |
void |
showMessage(java.lang.String s)
Shows a message to the user. |
void |
showNotYetImplemented()
Shows an "Not yet implemented" message to the user. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int CANCEL
public static final int OK
protected java.awt.event.ActionListener listener
protected javax.swing.JDialog dialog
protected java.lang.String title
protected java.lang.String message
Constructor Detail |
---|
public AbstractRequester(java.lang.String title, java.lang.String message)
Method Detail |
---|
protected abstract javax.swing.JDialog createJDialog(java.awt.Window parent)
public void enableHelpKey4JavaHelp(javax.help.HelpBroker br, java.lang.String id, javax.help.HelpSet set)
br
- the help broker to useid
- the id to use when opening the help frameset
- the help set to use (null is the default help set)public java.awt.Rectangle getBounds()
public java.awt.Point getLocation()
public java.lang.String getMessage()
protected abstract int getReturnValue()
public java.awt.Dimension getSize()
public java.lang.String getTitle()
protected abstract void prepareForRequest()
public int request(javax.swing.JDialog parent)
public int request(javax.swing.JFrame parent)
public void setBounds(java.awt.Rectangle newBounds)
public void setBounds(int x, int y, int width, int height)
public void setLocation(java.awt.Point newlocation)
public void setLocation(int x, int y)
public void setMessage(java.lang.String arg)
public void setParentComponent(javax.swing.JComponent c)
public void setSize(java.awt.Dimension newsize)
public void setSize(int width, int height)
public void setTitle(java.lang.String arg)
public void showError(java.lang.String s)
public void showMessage(java.lang.String s)
public void showNotYetImplemented()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |