public class FwkThread extends FwkDescription implements FwkThreadInterface
,
Serialized FormModifier 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, titleName
AUTHOR, 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, toString
getNiceVersion, release
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAuthor, 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, setTitleName
release
public static final java.lang.String version
protected java.lang.Thread thread
protected int threadPrio
public java.lang.String getVersion()
FwkInterface
getVersion
in interface FwkInterface
getVersion
in class FwkDescription
public void start()
start
in interface FwkThreadInterface
public void stop()
stop
in interface FwkThreadInterface
public void setPriority(int prio)
setPriority
in interface FwkThreadInterface
prio
- This value is passed to the java.lang.ThreadThread
public int getPriority()
getPriority
in interface FwkThreadInterface
Thread
public boolean isInterrupted()
isInterrupted
in interface FwkThreadInterface
public void run()
run
in interface java.lang.Runnable