org.lyra.Block
Class NullBlock

java.lang.Object
  extended by org.lyra.AbstractBlock
      extended by org.lyra.Block.NullBlock

public class NullBlock
extends AbstractBlock

As the name implies, null block will not block anything. Instead the commands to block will be stub functions.

Version:
1.0.5, %Revision, 174%, %LastChangedDate, 27/10/12 3:33PM%
Author:
Martin Foster

Constructor Summary
NullBlock()
           
 
Method Summary
 java.lang.String getMessage()
          Returns the message currently being displayed.
 void setMessage(java.lang.String msg)
          Permits an update of the notice message displayed.
 void startBlock()
          Starts the blocking capability.
 void stopBlock()
          Notice of blocked interface is removed and control returned to the user.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullBlock

public NullBlock()
Method Detail

startBlock

public void startBlock()
Description copied from class: AbstractBlock
Starts the blocking capability. Should prevent the user from accessing the main interface and notify that a blocking event is taking place.

Specified by:
startBlock in class AbstractBlock

stopBlock

public void stopBlock()
Description copied from class: AbstractBlock
Notice of blocked interface is removed and control returned to the user.

Specified by:
stopBlock in class AbstractBlock

setMessage

public void setMessage(java.lang.String msg)
Description copied from class: AbstractBlock
Permits an update of the notice message displayed.

Specified by:
setMessage in class AbstractBlock
Parameters:
msg - String containing new message.

getMessage

public java.lang.String getMessage()
Description copied from class: AbstractBlock
Returns the message currently being displayed.

Specified by:
getMessage in class AbstractBlock
Returns:
String containing current message.