de.cbse.jeasy
Class JEWorker
java.lang.Object
java.lang.Thread
de.cbse.jeasy.JEWorker
- All Implemented Interfaces:
- java.lang.Runnable
public class JEWorker
- extends java.lang.Thread
A runnable class to animate change of colors and size of panels.
- Author:
- Harry Pfohl
| Nested classes/interfaces inherited from class java.lang.Thread |
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
COLLAPSEEXPAND
public static final int COLLAPSEEXPAND
- See Also:
- Constant Field Values
FGCOLOR
public static final int FGCOLOR
- See Also:
- Constant Field Values
BGCOLOR
public static final int BGCOLOR
- See Also:
- Constant Field Values
CONTENTAREAFALSE
public static final int CONTENTAREAFALSE
- See Also:
- Constant Field Values
SCROLL
public static final int SCROLL
- See Also:
- Constant Field Values
JEWorker
public JEWorker()
changeHeight
public void changeHeight(int newInt)
- To change the height.
- Parameters:
newInt -
getAnimation
public JEAnimation getAnimation()
getJcomp
public javax.swing.JComponent getJcomp()
getNewColor
public java.awt.Color getNewColor()
getNewInt
public int getNewInt()
getNewRect
public java.awt.Rectangle getNewRect()
getOldColor
public java.awt.Color getOldColor()
getOldInt
public int getOldInt()
getOldRect
public java.awt.Rectangle getOldRect()
getPropertieConstant
public int getPropertieConstant()
interrupt
public void interrupt()
- To call if the animation should come to end now.
- Overrides:
interrupt in class java.lang.Thread
isContentFalse
public boolean isContentFalse()
isRunning
public boolean isRunning()
run
public void run()
- Specified by:
run in interface java.lang.Runnable- Overrides:
run in class java.lang.Thread
scrollRect
public void scrollRect(java.awt.Rectangle from,
java.awt.Rectangle to)
- Scroll a scrollbar smoothly.
setAnimation
public void setAnimation(JEAnimation anim)
setContentFalse
public void setContentFalse(boolean contentFalse)
setJcomp
public void setJcomp(javax.swing.JComponent jcomp)
setJETaskPane
public void setJETaskPane(JETaskPane jeTaskPane)
setNewColor
public void setNewColor(java.awt.Color newColor)
setNewInt
public void setNewInt(int newInt)
setNewRect
public void setNewRect(java.awt.Rectangle newRect)
setOldInt
public void setOldInt(int oldInt)
setOldRect
public void setOldRect(java.awt.Rectangle oldRect)
setParentTaskId
public void setParentTaskId(java.lang.String parentTaskId)
setPropertieConstant
public void setPropertieConstant(int propertieConstant)
waitUntilFinish
public void waitUntilFinish()
- Waits until finished
setRunning
protected void setRunning(boolean running)