| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.salespointframework.core.NullDisplay
public final class 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_ndGlobalThe singleton NullDisplay used in the entire application. | 
| Constructor Summary | |
|---|---|
| private  | NullDisplay()Private constructor to make sure the singleton pattern is used. | 
| 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
| Constructor Detail | 
|---|
private NullDisplay()
| Method Detail | 
|---|
public final void setFormSheet(FormSheet fs)
InvalidDisplayException.
setFormSheet in interface Displayfs - the FormSheet to be displayed.public void setBounds(java.awt.Rectangle r)
InvalidDisplayException.
setBounds in interface Displayr - the Rectangle that contains the size and position information.public java.awt.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(java.io.ObjectInputStream ois)
          throws java.io.IOException,
                 java.lang.ClassNotFoundException
InvalidDisplayException.
load in interface Displayois - the stream to read attributes from
java.io.IOException
java.lang.ClassNotFoundException
public void save(java.io.ObjectOutputStream oos)
          throws java.io.IOException
InvalidDisplayException.
save in interface Displayoos - the stream to write attributes to
java.io.IOExceptionpublic void setButtonbarPosition(int position)
Display
setButtonbarPosition in interface Display| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||