org.lyra.Block
Class InfiniteDialogImpl

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

public class InfiniteDialogImpl
extends AbstractBlock

Infinite Progress bar which is used to indicate operations of the synchronisation process. This method should require far less processing time then the full out display.

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

Nested Class Summary
 class InfiniteDialogImpl.InfiniteDialog
          Infinite Progress bar which is used to indicate operations of the synchronisation process.
 
Field Summary
static java.lang.String IDENT
          Identifier for this class allowing us to set it apart from other implementations which currently exist.
private  InfiniteDialogImpl.InfiniteDialog infiniteDialog
           
private  java.util.Map<java.lang.String,java.lang.String> Lang
           
private  java.awt.Window Owner
           
 
Constructor Summary
InfiniteDialogImpl(java.util.Map<java.lang.String,java.lang.String> lang, java.awt.Window owner)
          Base constructor for the visual editors.
 
Method Summary
private  InfiniteDialogImpl.InfiniteDialog getInfiniteDialog()
          Creates an instance of InfiniteDialog for blocking and display of the information display.
 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
 

Field Detail

Owner

private java.awt.Window Owner

Lang

private java.util.Map<java.lang.String,java.lang.String> Lang

infiniteDialog

private InfiniteDialogImpl.InfiniteDialog infiniteDialog

IDENT

public static final java.lang.String IDENT
Identifier for this class allowing us to set it apart from other implementations which currently exist.

See Also:
Constant Field Values
Constructor Detail

InfiniteDialogImpl

public InfiniteDialogImpl(java.util.Map<java.lang.String,java.lang.String> lang,
                          java.awt.Window owner)
Base constructor for the visual editors. Does not provide any interactivity capability.

Parameters:
lang - Language map.
owner - Owning component.
Method Detail

getInfiniteDialog

private InfiniteDialogImpl.InfiniteDialog getInfiniteDialog()
Creates an instance of InfiniteDialog for blocking and display of the information display.

Returns:
org.lyra.Block.InfiniteDialogImpl.InfiniteDialog

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.