com.lyrisoft.chat.client.gui.awt102
Class AppletGUIFactory
java.lang.Object
|
+--com.lyrisoft.chat.client.gui.awt102.GUIFactory
|
+--com.lyrisoft.chat.client.gui.awt102.AppletGUIFactory
- All Implemented Interfaces:
- IChatGUIFactory
- Direct Known Subclasses:
- EmbeddedAppletGUIFactory
- public class AppletGUIFactory
- extends GUIFactory
- implements IChatGUIFactory
Subclass of GUIFactory specifically for Applets.
Overrides some methods so that Panels end up being displayed in the applet
rather than in a new window.
Methods inherited from class com.lyrisoft.chat.client.gui.awt102.GUIFactory |
createAboutDialog, createChatRoom, createPrivateChatRoom, createQuery, getAttribute, getMainGui, getPlaySounds, hide, hide, hide, playSounds, setAttribute, setChatServer, setInputReceiver, setMainGui, show, 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, createChatRoom, createPrivateChatRoom, createQuery, getAttribute, getMainGui, getPlaySounds, hide, hide, hide, playSounds, setAttribute, setChatServer, setInputReceiver, setMainGui, show, show |
_applet
protected ChatClientApplet _applet
AppletGUIFactory
public AppletGUIFactory()
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.
- Specified by:
setApplet
in interface IChatGUIFactory
- Overrides:
setApplet
in class GUIFactory
createConsole
public IConsole createConsole()
- 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
- Specified by:
createConsole
in interface IChatGUIFactory
- Overrides:
createConsole
in class GUIFactory
- Following copied from interface:
com.lyrisoft.chat.client.gui.IChatGUIFactory
- Parameters:
inputReceiver
- the object that will receive inputmainGui
- the ChatGui componentserver
- the client-side view of the server
createLoginDialog
public ILogin createLoginDialog()
- Description copied from interface:
IChatGUIFactory
- Construct an ILogin component
- Specified by:
createLoginDialog
in interface IChatGUIFactory
- Overrides:
createLoginDialog
in class GUIFactory
- Following copied from interface:
com.lyrisoft.chat.client.gui.IChatGUIFactory
- Parameters:
inputReceiver
- the object that will receive input
hide
public void hide(ILogin login)
- Description copied from interface:
IChatGUIFactory
- Hide an ILogin
- Specified by:
hide
in interface IChatGUIFactory
- Overrides:
hide
in class GUIFactory
show
public void show(ILogin login)
- Description copied from interface:
IChatGUIFactory
- Show an ILogin
- Specified by:
show
in interface IChatGUIFactory
- Overrides:
show
in class GUIFactory
show
public void show(IConsole c)
- Description copied from interface:
IChatGUIFactory
- Show an IConsole
- Specified by:
show
in interface IChatGUIFactory
- Overrides:
show
in class GUIFactory
getProperties
public java.util.Properties getProperties(java.lang.String name)
getImage
public java.awt.Image getImage(java.lang.String name)
- Specified by:
getImage
in interface IChatGUIFactory
- Overrides:
getImage
in class GUIFactory
playAudioClip
public void playAudioClip(java.lang.String name)
- Description copied from interface:
IChatGUIFactory
- This method probably belongs elsewhere... it's here for now because
the GUIFactory implementations know how to fetch resources from the resources
dir...
- Specified by:
playAudioClip
in interface IChatGUIFactory
- Overrides:
playAudioClip
in class GUIFactory
Copyright © 2000-2002 Taso Lyristis