|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.lang.Thread
|
+--com.ibm.tspaces.examples.services.Demo.ActionButton
This inner class controls the buttons that actually start the programs
Demo| Fields inherited from class java.lang.Thread |
MAX_PRIORITY,
MIN_PRIORITY,
NORM_PRIORITY |
| Constructor Summary | |
Demo.ActionButton(java.awt.Component comp,
java.lang.String command)
Constructor. |
|
Demo.ActionButton(java.awt.Component comp,
java.lang.String command,
java.lang.String name)
The heart of the ActionThread class |
|
| Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent e)
Called when an action is performed on this button. |
boolean |
getStatus()
Returns the running status of the thread associated with this class. |
java.lang.String |
retName()
Returns the name of this button as a string. |
| Methods inherited from class java.lang.Thread |
activeCount,
checkAccess,
countStackFrames,
currentThread,
destroy,
dumpStack,
enumerate,
getContextClassLoader,
getName,
getPriority,
getThreadGroup,
interrupt,
interrupted,
isAlive,
isDaemon,
isInterrupted,
join,
join,
join,
resume,
run,
setContextClassLoader,
setDaemon,
setName,
setPriority,
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 |
| Constructor Detail |
public Demo.ActionButton(java.awt.Component comp,
java.lang.String command)
comp - the component associated with this buttoncommand - the command to execute
public Demo.ActionButton(java.awt.Component comp,
java.lang.String command,
java.lang.String name)
comp - the component associated with this classcommand - the command to executename - the name of the command| Method Detail |
public boolean getStatus()
public java.lang.String retName()
public void actionPerformed(java.awt.event.ActionEvent e)
e - the ActionEvent performed
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||