|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.lyra.AbstractBlock
org.lyra.Block.InfiniteProgressImpl
public class InfiniteProgressImpl
The org.lyra.Widgets.InfiniteProgressPanel class is the preferred method for blocking the user interface. However it can lead to slow downs due to the graphics intensive method.
InfiniteProgressPanel
Field Summary | |
---|---|
private InfiniteProgressPanel |
Block
|
private static java.lang.String |
CLASS
|
static java.lang.String |
IDENT
Identifier for this class allowing us to set it apart from other implementations which currently exist. |
private Ledger |
Logger
|
private java.lang.String |
Message
|
Constructor Summary | |
---|---|
InfiniteProgressImpl(Ledger logger,
java.lang.String msg)
Constructor for the class. |
Method Summary | |
---|---|
java.lang.String |
getMessage()
Returns the message currently being displayed. |
InfiniteProgressPanel |
getPane()
Provides an instance of the InfiniteProgressPanel that can be implemented into another instance. |
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 |
---|
public static final java.lang.String IDENT
private static final java.lang.String CLASS
private InfiniteProgressPanel Block
private java.lang.String Message
private Ledger Logger
Constructor Detail |
---|
public InfiniteProgressImpl(Ledger logger, java.lang.String msg)
logger
- Instance of ledger for logging errors and warnings.msg
- Sting message containing initial statement to display.Method Detail |
---|
public InfiniteProgressPanel getPane()
public void startBlock()
AbstractBlock
startBlock
in class AbstractBlock
public void stopBlock()
AbstractBlock
stopBlock
in class AbstractBlock
public void setMessage(java.lang.String msg)
AbstractBlock
setMessage
in class AbstractBlock
msg
- String containing new message.public java.lang.String getMessage()
AbstractBlock
getMessage
in class AbstractBlock
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |