|
SalesPoint Framework v3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsale.NullDisplay
A dummy display, that cannot display anything. This display is used for background processes that
must not display any Form- or MenuSheets. All methods of this display, except
isUseableDisplay() throw an InvalidDisplayException.
| Field Summary | |
static NullDisplay |
s_ndGlobal
The singleton NullDisplay used in the entire application. |
| Method Summary | |
void |
addFormSheetListener(FormSheetListener fsl)
Throws an InvalidDisplayException. |
void |
closeFormSheet()
Throws an InvalidDisplayException. |
Rectangle |
getBounds()
Throws an InvalidDisplayException. |
FormSheet |
getFormSheet()
Throws an InvalidDisplayException. |
MenuSheet |
getMenuSheet()
Throws an InvalidDisplayException. |
boolean |
isUseableDisplay()
Returns false to indicate this display is not useable. |
void |
load(ObjectInputStream ois)
Throws an InvalidDisplayException. |
void |
popUpFormSheet(FormSheet fs)
Throws an InvalidDisplayException. |
void |
removeFormSheetListener(FormSheetListener fsl)
Throws an InvalidDisplayException. |
void |
save(ObjectOutputStream oos)
Throws an InvalidDisplayException. |
void |
setBounds(Rectangle r)
Throws an InvalidDisplayException. |
void |
setFormSheet(FormSheet fs)
Throws an InvalidDisplayException. |
void |
setMenuSheet(MenuSheet ms)
Throws an InvalidDisplayException. |
void |
toFront()
Throws an InvalidDisplayException. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static NullDisplay s_ndGlobal
| Method Detail |
public final void setFormSheet(FormSheet fs)
InvalidDisplayException.
setFormSheet in interface Displayfs - the FormSheet to be displayed.public void setBounds(Rectangle r)
InvalidDisplayException.
setBounds in interface Displayr - the Rectangle that contains the size and position information.public Rectangle getBounds()
InvalidDisplayException.
getBounds in interface Displaypublic FormSheet getFormSheet()
InvalidDisplayException.
getFormSheet in interface Displaypublic MenuSheet getMenuSheet()
InvalidDisplayException.
getMenuSheet in interface Displaypublic final void closeFormSheet()
InvalidDisplayException.
closeFormSheet in interface Displaypublic final void popUpFormSheet(FormSheet fs)
InvalidDisplayException.
popUpFormSheet in interface Displayfs - the FormSheet to be displayed.public final void setMenuSheet(MenuSheet ms)
InvalidDisplayException.
setMenuSheet in interface Displayms - the MenuSheet to be displayed. null is a valid value and should result in the
current MenuSheet being closed.public final boolean isUseableDisplay()
isUseableDisplay in interface Displaypublic final void addFormSheetListener(FormSheetListener fsl)
InvalidDisplayException.
addFormSheetListener in interface Displayfsl - the FormSheetListener to be registered.public void removeFormSheetListener(FormSheetListener fsl)
InvalidDisplayException.
removeFormSheetListener in interface Displayfsl - the FormSheetListener to be unregistered.public void toFront()
InvalidDisplayException.
toFront in interface Display
public void load(ObjectInputStream ois)
throws IOException,
ClassNotFoundException
InvalidDisplayException.
load in interface Displayois - the stream to read attributes from
ClassNotFoundException
IOException
public void save(ObjectOutputStream oos)
throws IOException
InvalidDisplayException.
save in interface DisplayIOException
|
SalesPoint Framework v3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||