public class FwkThread extends FwkDescription implements FwkThreadInterface
,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Thread |
thread |
protected int |
threadPrio |
static java.lang.String |
version |
author, buildnr, className, company, copyright, creationDate, dateFormatString, description, eMail, FWK_ICON, FWK_ICON_ARRAY, FWK_ICON_BG, FWK_ICON_BG_ARRAY, FWK_ICON_BG_LARGE, FWK_ICON_BG_LARGE_ARRAY, FWK_ICON_LARGE, FWK_ICON_LARGE_ARRAY, icon, ICON, iconCount, iconKey, internetAddress, name, titleNameAUTHOR, BUILDNR, COMPANY, COPYRIGHT, DATE_FORMAT, DEFAULT_ICON, DESCRIPTION, INTERNET, LARGE_ICON, LARGE_KEY_EXT, LARGE_OPAQUE_ICON, LARGE_OPAQUE_KEY_EXT, OPAQUE_ICON, OPAQUE_KEY_EXT, RCS_DATE_FORMAT, SUPPORT_EMAIL, TITLE_NAME| Constructor and Description |
|---|
FwkThread()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getPriority()
Get the priority of the thread.
|
java.lang.String |
getVersion()
Return the version string of the FWK component.
|
boolean |
isInterrupted()
Test whether the thread is interruped.
|
void |
run()
Run the thread.
|
void |
setPriority(int prio)
Set the priority of the thread.
|
void |
start()
Called by the main program, the hosting frame,
or the hosting applet to inform this application
that it should start its execution.
|
void |
stop()
Called by the main program, the hosting frame,
or the hosting applet to inform this application
that it should stop its execution.
|
getAuthor, getBuild, getClassName, getCompany, getCompanyInternetAddress, getCopyright, getCreationDate, getCreationDate, getDateFormatString, getDescription, getIcon, getIcon, getIconKey, getIconKey, getName, getPresentationString, getPresentationString, getSupportEMail, getTitle, getTitleName, getTransferData, getTransferDataFlavors, isDataFlavorSupported, lostOwnership, setAuthor, setBuild, setClassName, setCompany, setCompanyInternetAddress, setCopyright, setCreationDate, setCreationDate, setDateFormatString, setDescription, setDescriptor, setIcon, setIcon, setIconKey, setIconKey, setName, setSupportEMail, setTitleName, toStringgetNiceVersion, releaseclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAuthor, getBuild, getClassName, getCompany, getCompanyInternetAddress, getCopyright, getCreationDate, getCreationDate, getDateFormatString, getDescription, getIcon, getIcon, getIconKey, getIconKey, getName, getPresentationString, getPresentationString, getSupportEMail, getTitle, getTitleName, setAuthor, setBuild, setClassName, setCompany, setCompanyInternetAddress, setCopyright, setCreationDate, setCreationDate, setDateFormatString, setDescription, setDescriptor, setIcon, setIcon, setIconKey, setIconKey, setName, setSupportEMail, setTitleNamereleasepublic static final java.lang.String version
protected java.lang.Thread thread
protected int threadPrio
public java.lang.String getVersion()
FwkInterfacegetVersion in interface FwkInterfacegetVersion in class FwkDescriptionpublic void start()
start in interface FwkThreadInterfacepublic void stop()
stop in interface FwkThreadInterfacepublic void setPriority(int prio)
setPriority in interface FwkThreadInterfaceprio - This value is passed to the java.lang.ThreadThreadpublic int getPriority()
getPriority in interface FwkThreadInterfaceThreadpublic boolean isInterrupted()
isInterrupted in interface FwkThreadInterfacepublic void run()
run in interface java.lang.Runnable