public class LoadingDecorator
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
LoadingDecorator.CursorAware |
Constructor and Description |
---|
LoadingDecorator(javax.swing.JComponent content,
Disposable parent,
int startDelayMs) |
LoadingDecorator(javax.swing.JComponent content,
Disposable parent,
int startDelayMs,
boolean useMinimumSize) |
LoadingDecorator(javax.swing.JComponent content,
Disposable parent,
int startDelayMs,
boolean useMinimumSize,
AsyncProcessIcon icon) |
Modifier and Type | Method and Description |
---|---|
protected void |
_startLoading(boolean takeSnapshot) |
protected NonOpaquePanel |
customizeLoadingLayer(javax.swing.JPanel parent,
javax.swing.JLabel text,
AsyncProcessIcon icon) |
javax.swing.JComponent |
getComponent() |
java.lang.String |
getLoadingText() |
boolean |
isLoading() |
void |
setLoadingText(java.lang.String loadingText) |
void |
startLoading(boolean takeSnapshot) |
void |
stopLoading() |
public LoadingDecorator(javax.swing.JComponent content, Disposable parent, int startDelayMs)
public LoadingDecorator(javax.swing.JComponent content, Disposable parent, int startDelayMs, boolean useMinimumSize)
public LoadingDecorator(javax.swing.JComponent content, Disposable parent, int startDelayMs, boolean useMinimumSize, AsyncProcessIcon icon)
protected NonOpaquePanel customizeLoadingLayer(javax.swing.JPanel parent, javax.swing.JLabel text, AsyncProcessIcon icon)
public javax.swing.JComponent getComponent()
public void startLoading(boolean takeSnapshot)
protected void _startLoading(boolean takeSnapshot)
public void stopLoading()
public java.lang.String getLoadingText()
public void setLoadingText(java.lang.String loadingText)
public boolean isLoading()