|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.hillenbrand.jreqtools.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)
|
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. |
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 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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |