|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--one.world.core.Component
|
+--one.gui.Application
|
+--one.radio.Chat
Implementation of the one.radio chat application.
Usage:
Chat <user-name>
Imported and Exported Event Handlers
Exported event handlers:
Imported event handlers:
audio messages.
audio sink control events.
| Inner classes inherited from class one.gui.Application |
Application.Window |
| Inner classes inherited from class one.world.core.Component |
Component.HandlerReference, Component.Importer |
| Fields inherited from class one.gui.Application |
ACTIVATING, ACTIVE, appName, height, INACTIVE, locationX, locationY, lock, main, mainWindow, operation, request, status, timer, width |
| Constructor Summary | |
Chat(Environment env,
String user)
Create a new instance of Chat. |
|
| Method Summary | |
void |
acquire()
Acquire the resources needed by the chat application. |
void |
actionPerformed(ActionEvent e)
Handle the specified action event. |
Application.Window |
createMainWindow()
Create the chat application's main window. |
static void |
init(Environment env,
Object closure)
Initialize the one.radio chat application. |
void |
release()
Release the resources used by the chat application. |
void |
start()
Start this chat application. |
void |
stateChanged(ChangeEvent e)
Handle the specified change event. |
| Methods inherited from class one.gui.Application |
createMainHandler, getDescriptor, signalError, stop |
| Methods inherited from class one.world.core.Component |
declareExported, declareImported, equals, eventHandlers, getDescriptor, getEnvironment, getLinkedHandlers, getLinkedNumber, getTimer, hasEventHandler, hashCode, isFullyLinked, isLinked, isSealed, link, link, run, seal, unbox, undeclare, unlink, wrap |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Chat(Environment env,
String user)
Chat.env - The environment for the new instance.user - The user name.| Method Detail |
public void acquire()
acquire in class Applicationpublic void start()
start in class Applicationone.gui.ApplicationApplication.locationX,
Application.locationY,
Application.createMainWindow()public void release()
release in class Applicationpublic Application.Window createMainWindow()
createMainWindow in class Applicationone.gui.Applicationnull
if the application does not have a main window.public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerpublic void stateChanged(ChangeEvent e)
stateChanged in interface ChangeListener
public static void init(Environment env,
Object closure)
env - The environment.closure - The closure.IllegalArgumentException - Signals that the closure is not a string array
with at least one entry specifying the user's
name.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||