|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread jcontrol.system.Accessory
public abstract class Accessory
Add your own in Java written Accessory to the JControl runtime environment.
Field Summary | |
---|---|
String |
accessoryName
name of the accessory |
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
Accessory(String name)
create a new accessory by overgiven name |
Method Summary | |
---|---|
static void |
register(Accessory accessory)
add the accessory to runtime environment |
void |
run()
invokes the accessory run method |
abstract void |
run(String[] args)
user implementation of accessory |
static void |
unregister(Accessory accessory)
NOTE: not supported! |
Methods inherited from class java.lang.Thread |
---|
currentThread, finalize, getName, getPriority, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, setDaemon, setName, setPriority, start, yield |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, notifyAll, toString, wait |
Field Detail |
---|
public final String accessoryName
Constructor Detail |
---|
public Accessory(String name)
accessoryName
- Method Detail |
---|
public final void run()
run
in interface Runnable
run
in class Thread
Runnable.run()
public abstract void run(String[] args)
args
- overgiven arguments by userpublic static void register(Accessory accessory) throws IOException
applet
-
IOException
- - if an applet with this name already existspublic static void unregister(Accessory accessory) throws IOException
applet
-
IOException
- - if an applet with this name not exists
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |