public class ProgressFrame extends TaskFrame implements ProgressListener, java.lang.Runnable
IcyFrame.IcyFrameState| Constructor and Description |
|---|
ProgressFrame(java.lang.String message)
internals
|
| Modifier and Type | Method and Description |
|---|---|
double |
getLength() |
java.lang.String |
getMessage() |
double |
getPosition() |
void |
incPosition()
increment progress position
|
boolean |
notifyProgress(double position,
double length)
Notify progression of the current task
|
void |
refresh() |
void |
run() |
void |
setLength(double value) |
void |
setMessage(java.lang.String value) |
void |
setPosition(double value) |
void |
setProgress(int value)
Deprecated.
use
setPosition(double) instead |
void |
setToolTipText(java.lang.String value)
Implement setToolTipText method (only for internalized frame)
|
canRemove, close, internalClose, isCanBeRemoved, stateChangedadd, add, add, addComponentListener, addFrameListener, addKeyListener, addTo, addTo, addTo, addToDesktopPane, addToDesktopPane, addToMainDesktopPane, attach, center, detach, dispose, externalize, findIcyFrame, frameClosed, getActionMap, getAllFrames, getAllFrames, getBorder, getBounds, getBoundsExternal, getBoundsInternal, getContentPane, getDefaultSystemMenu, getExternalFrame, getFrame, getHeight, getHeightExternal, getHeightInternal, getIcyExternalFrame, getIcyInternalFrame, getInputMap, getInternalFrame, getJMenuBar, getLocation, getLocationExternal, getLocationInternal, getMaximumSize, getMaximumSizeExternal, getMaximumSizeInternal, getMinimumSize, getMinimumSizeExternal, getMinimumSizeInternal, getMousePosition, getParent, getPreferredSize, getPreferredSizeExternal, getPreferredSizeInternal, getRootPane, getSize, getSizeExternal, getSizeInternal, getSwitchStateAction, getSystemMenuCallback, getTitle, getTitleBarVisible, getToolkit, getVisibleRect, getWidth, getWidthExternal, getWidthInternal, getX, getXExternal, getXInternal, getY, getYExternal, getYInternal, hasFocus, imageUpdate, internalFrameActivated, internalFrameClosed, internalFrameClosing, internalFrameDeactivated, internalFrameDeiconified, internalFrameIconified, internalFrameOpened, internalize, isActive, isAlwaysOnTop, isClosable, isExternalized, isInternalized, isMaximized, isMaximizedExternal, isMaximizedInternal, isMinimized, isMinimizedExternal, isMinimizedInternal, isResizable, isSwitchStateItemVisible, isSyncProcess, isVisible, onClosed, pack, propertyChange, remove, removeAll, removeComponentListener, removeFrameListener, removeFrom, removeFromMainDesktopPane, removeKeyListener, repaint, requestFocus, revalidate, setAlwaysOnTop, setBackground, setBorder, setBounds, setClosable, setContentPane, setDefaultCloseOperation, setFocusable, setForeground, setJMenuBar, setLayout, setLocation, setLocation, setLocationExternal, setLocationExternal, setLocationInternal, setLocationInternal, setMaximisable, setMaximized, setMaximizedExternal, setMaximizedInternal, setMaximumSize, setMaximumSizeExternal, setMaximumSizeInternal, setMinimized, setMinimizedExternal, setMinimizedInternal, setMinimumSize, setMinimumSizeExternal, setMinimumSizeInternal, setPreferredSize, setPreferredSizeExternal, setPreferredSizeInternal, setResizable, setSize, setSize, setSizeExternal, setSizeExternal, setSizeInternal, setSizeInternal, setSwitchStateItemVisible, setSyncProcess, setSystemMenuCallback, setTitle, setTitleBarVisible, setVisible, switchState, toBack, toFront, updateSystemMenu, updateUI, validate, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpenedpublic ProgressFrame(java.lang.String message)
public void run()
run in interface java.lang.Runnablepublic void refresh()
public java.lang.String getMessage()
public void setMessage(java.lang.String value)
public void setToolTipText(java.lang.String value)
IcyFramesetToolTipText in class IcyFramepublic double getLength()
public void setLength(double value)
value - the length to setpublic double getPosition()
public void incPosition()
public void setPosition(double value)
value - the position to set@Deprecated public void setProgress(int value)
setPosition(double) insteadpublic boolean notifyProgress(double position, double length)
ProgressListenernotifyProgress in interface ProgressListenerposition - current position of completionlength - final position of completionfalse if the cancellation of the task has been requested, true otherwise