com.lyrisoft.chat.client.gui.awt102
Class EmbeddedAppletGUIFactory

java.lang.Object
  |
  +--com.lyrisoft.chat.client.gui.awt102.GUIFactory
        |
        +--com.lyrisoft.chat.client.gui.awt102.AppletGUIFactory
              |
              +--com.lyrisoft.chat.client.gui.awt102.EmbeddedAppletGUIFactory
All Implemented Interfaces:
IChatGUIFactory

public class EmbeddedAppletGUIFactory
extends AppletGUIFactory

Everything is embedded in the browser. Joining a room implies leaving the room you're in.


Fields inherited from class com.lyrisoft.chat.client.gui.awt102.AppletGUIFactory
_applet
 
Fields inherited from class com.lyrisoft.chat.client.gui.awt102.GUIFactory
_attributes, _console, _dummyApplet, _inputReceiver, _mainGui, _playSounds, _server
 
Constructor Summary
EmbeddedAppletGUIFactory()
           
 
Method Summary
 IChatRoom createChatRoom(java.lang.String name)
          Construct an IChatRoom component.
 IConsole createConsole()
          Overridden.
 IQuery createQuery(java.lang.String title, java.lang.String choiceLabel, java.lang.String[] choices, boolean showTextField, java.lang.String textFieldLabel)
           
 void hide(IChatRoom room)
           
 void hide(IConsole c)
          Hide an IConsole
 void hide(ILogin login)
          Hide an ILogin
 void setApplet(ChatClientApplet a)
          It's ok to ignore this method unless you're implementing a factory made for Applets.
 void show(IChatRoom room)
          Show and IChatRoom
 void show(IConsole c)
          Show an IConsole
 void show(ILogin login)
          Show an ILogin
 
Methods inherited from class com.lyrisoft.chat.client.gui.awt102.AppletGUIFactory
createLoginDialog, getImage, getProperties, playAudioClip
 
Methods inherited from class com.lyrisoft.chat.client.gui.awt102.GUIFactory
createAboutDialog, createPrivateChatRoom, getAttribute, getMainGui, getPlaySounds, hide, playSounds, setAttribute, setChatServer, setInputReceiver, setMainGui, show
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.lyrisoft.chat.client.gui.IChatGUIFactory
createAboutDialog, createPrivateChatRoom, getAttribute, getMainGui, getPlaySounds, hide, playSounds, setAttribute, setChatServer, setInputReceiver, setMainGui, show
 

Constructor Detail

EmbeddedAppletGUIFactory

public EmbeddedAppletGUIFactory()
Method Detail

setApplet

public void setApplet(ChatClientApplet a)
Description copied from interface: IChatGUIFactory
It's ok to ignore this method unless you're implementing a factory made for Applets.
Overrides:
setApplet in class AppletGUIFactory

createConsole

public IConsole createConsole()
Description copied from class: AppletGUIFactory
Overridden. Calls super.createConsole() to create the actual console. Then, puts a note inside the Applet that says "The Chat Program is running in another window.. yadda yadda yadda...". Finally returns the IConsole object
Overrides:
createConsole in class AppletGUIFactory
Following copied from interface: com.lyrisoft.chat.client.gui.IChatGUIFactory
Parameters:
inputReceiver - the object that will receive input
mainGui - the ChatGui component
server - the client-side view of the server

createChatRoom

public IChatRoom createChatRoom(java.lang.String name)
Description copied from interface: IChatGUIFactory
Construct an IChatRoom component.
Overrides:
createChatRoom in class GUIFactory
Following copied from interface: com.lyrisoft.chat.client.gui.IChatGUIFactory
Parameters:
name - the name of the chat room
mainGui - the ChatGui component
inputReceiver - the object that will receive input
server - the client-side view of the server

createQuery

public IQuery createQuery(java.lang.String title,
                          java.lang.String choiceLabel,
                          java.lang.String[] choices,
                          boolean showTextField,
                          java.lang.String textFieldLabel)
Overrides:
createQuery in class GUIFactory

hide

public void hide(ILogin login)
Description copied from interface: IChatGUIFactory
Hide an ILogin
Overrides:
hide in class AppletGUIFactory

show

public void show(ILogin login)
Description copied from interface: IChatGUIFactory
Show an ILogin
Overrides:
show in class AppletGUIFactory

show

public void show(IConsole c)
Description copied from interface: IChatGUIFactory
Show an IConsole
Overrides:
show in class AppletGUIFactory

hide

public void hide(IConsole c)
Description copied from interface: IChatGUIFactory
Hide an IConsole
Overrides:
hide in class GUIFactory

hide

public void hide(IChatRoom room)
Overrides:
hide in class GUIFactory

show

public void show(IChatRoom room)
Description copied from interface: IChatGUIFactory
Show and IChatRoom
Overrides:
show in class GUIFactory


Copyright © 2000-2002 Taso Lyristis