SalesPoint Framework v3.0

sale
Class NullDisplay

java.lang.Object
  |
  +--sale.NullDisplay

public final class NullDisplay
extends Object
implements Display

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 a InvalidDisplayException.

Since:
v2.0
Version:
2.0 27/05/1999
Author:
Steffen Zschaler

Field Summary
static NullDisplay s_ndGlobal
          The singleton NullDisplay used in the entire application.
 
Method Summary
 void addFormSheetListener(FormSheetListener fsl)
          Throw a InvalidDisplayException.
 void closeFormSheet()
          Throw a InvalidDisplayException.
 boolean isUseableDisplay()
          Return false to indicate this display is not useable.
 void popUpFormSheet(FormSheet fs)
          Throw a InvalidDisplayException.
 void removeFormSheetListener(FormSheetListener fsl)
          Throw a InvalidDisplayException.
 void setFormSheet(FormSheet fs)
          Throw a InvalidDisplayException.
 void setMenuSheet(MenuSheet ms)
          Throw a InvalidDisplayException.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

s_ndGlobal

public static NullDisplay s_ndGlobal
The singleton NullDisplay used in the entire application.
Method Detail

setFormSheet

public final void setFormSheet(FormSheet fs)
Throw a InvalidDisplayException.
Override:
Never.
Specified by:
setFormSheet in interface Display

closeFormSheet

public final void closeFormSheet()
Throw a InvalidDisplayException.
Override:
Never.
Specified by:
closeFormSheet in interface Display

popUpFormSheet

public final void popUpFormSheet(FormSheet fs)
Throw a InvalidDisplayException.
Override:
Never.
Specified by:
popUpFormSheet in interface Display

setMenuSheet

public final void setMenuSheet(MenuSheet ms)
Throw a InvalidDisplayException.
Override:
Never.
Specified by:
setMenuSheet in interface Display

isUseableDisplay

public final boolean isUseableDisplay()
Return false to indicate this display is not useable.
Override:
Never.
Specified by:
isUseableDisplay in interface Display

addFormSheetListener

public final void addFormSheetListener(FormSheetListener fsl)
Throw a InvalidDisplayException.
Override:
Never.
Specified by:
addFormSheetListener in interface Display

removeFormSheetListener

public void removeFormSheetListener(FormSheetListener fsl)
Throw a InvalidDisplayException.
Override:
Never.
Specified by:
removeFormSheetListener in interface Display

SalesPoint Framework v3.0