jsynoptic.ui
Class LongAction
java.lang.Object
jsynoptic.ui.LongAction
- All Implemented Interfaces:
- java.lang.Runnable
public abstract class LongAction
- extends java.lang.Object
- implements java.lang.Runnable
Starts a long action. The user can continue to use jsynoptic, possibly
with reduced feature.
- Version:
- 1.0 2002
- Author:
- Nicolas Brodu
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LONG_ACTION_FILE_OPEN
public static final long LONG_ACTION_FILE_OPEN
- Long action masks
- See Also:
- Constant Field Values
LONG_ACTION_FILE_SAVE
public static final long LONG_ACTION_FILE_SAVE
- See Also:
- Constant Field Values
LONG_ACTION_FILE_IO
public static final long LONG_ACTION_FILE_IO
- See Also:
- Constant Field Values
LONG_ACTION_PRINT
public static final long LONG_ACTION_PRINT
- See Also:
- Constant Field Values
LONG_ACTION_SOURCE
public static final long LONG_ACTION_SOURCE
- See Also:
- Constant Field Values
LONG_ACTION_SHAPE
public static final long LONG_ACTION_SHAPE
- See Also:
- Constant Field Values
mask
protected long mask
param
protected java.lang.Object param
target
protected java.lang.Object target
useSwing
protected boolean useSwing
background
protected boolean background
LongAction
public LongAction()
- Parameters:
actionMask
- Those actions are not available while the long action is beeing execute.param
- User parameter. null by default
LongAction
public LongAction(long mask)
LongAction
public LongAction(long mask,
java.lang.Object param)
LongAction
public LongAction(long mask,
java.lang.Object param,
java.lang.Object target)
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
doAction
protected abstract void doAction()
start
public void start()
start
public void start(boolean background)