Java Doc for ChipChatApplet.java in  » Chat » chipchat » chipchatapplet » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Chat » chipchat » chipchatapplet 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.applet.Applet
   chipchatapplet.ChipChatApplet

ChipChatApplet
final public class ChipChatApplet extends Applet (Code)
Chipchat Applet.
author:
   Mr. Lee

Inner Class :public static class SessionKeeper extends Thread



Method Summary
 voidcallAlert(String msg)
     Call alert function of outside explorer's script.
public  voidchangeMax(String to)
    
public  voidchangeRoomName(String to)
    
public  voidchangeRoomPassword(String to)
    
 voidcloseConnect()
     Close connection.
public  voidconnect()
     Connect to server.
public  voiddestroy()
     Destroy.
public  voidentrust(String to)
     Entrust someone with administrator role.
public  StringgetAppletInfo()
    
public  voidgetOut()
    
public static  StringhtmlSpecialChars(String src)
     Convert html special charectors.
Parameters:
  src - Source String.
static  StringBufferhtmlSpecialChars(StringBuffer src)
     Convert html special charectors.
Parameters:
  src - Source String.
public  voidinit()
     Init.
public  booleanisConnected()
     Getter of conected.
public  booleanisHost()
     Check whether user is host or not.
public  voidkeepQuiet(String to)
     Make someone to keep quiet.
public  voidkickOut(String to)
     Kick someone out.
 voidlogMsg(String msg)
     Log message when debug is true.
 voidlogMsg(String msg, Throwable e)
     Log message when debug is true.
 voidprocessMessage(String msg)
     Process messages which is received from server.
public  voidsendCustomMsg(String who, String cmd, String msg)
     Send custom message.
Parameters:
  who - Id number that will be received this message.
public  voidsendMsg(String who, String msg)
     Send message.
Parameters:
  who - Id number that will be received this message.
 voidsendToServer(String msg)
     Send message to server.
 String[]spliteString(String src, char ch, int from)
     Split message to two part.
Parameters:
  src - Source String.
Parameters:
  ch - Splite token.
Parameters:
  from - Starting position.
 voidwincall(String function, Object[] param)
     Call function of outside explorer's script.



Method Detail
callAlert
void callAlert(String msg)(Code)
Call alert function of outside explorer's script.
Parameters:
  msg - Message.



changeMax
public void changeMax(String to)(Code)



changeRoomName
public void changeRoomName(String to)(Code)



changeRoomPassword
public void changeRoomPassword(String to)(Code)



closeConnect
void closeConnect()(Code)
Close connection.



connect
public void connect()(Code)
Connect to server.



destroy
public void destroy()(Code)
Destroy.



entrust
public void entrust(String to)(Code)
Entrust someone with administrator role. It is administrator's funtion.
Parameters:
  to - Id number that will be received this message. '-1' if it send for all.



getAppletInfo
public String getAppletInfo()(Code)
Get Applet information Information



getOut
public void getOut()(Code)
Send message that 'I will get out."



htmlSpecialChars
public static String htmlSpecialChars(String src)(Code)
Convert html special charectors.
Parameters:
  src - Source String. Conveted string.



htmlSpecialChars
static StringBuffer htmlSpecialChars(StringBuffer src)(Code)
Convert html special charectors.
Parameters:
  src - Source String. Conveted string.



init
public void init()(Code)
Init.



isConnected
public boolean isConnected()(Code)
Getter of conected. is connected?



isHost
public boolean isHost()(Code)
Check whether user is host or not. Is host?



keepQuiet
public void keepQuiet(String to)(Code)
Make someone to keep quiet. It is administrator's funtion.
Parameters:
  to - Id number that will be received this message.'-1' if it send for all.



kickOut
public void kickOut(String to)(Code)
Kick someone out. It is administrator's funtion.
Parameters:
  to - Id number that will be received this message. '-1' if it send for all.



logMsg
void logMsg(String msg)(Code)
Log message when debug is true.
Parameters:
  msg - Message.



logMsg
void logMsg(String msg, Throwable e)(Code)
Log message when debug is true.
Parameters:
  msg - Message.
Parameters:
  e - Exception.



processMessage
void processMessage(String msg)(Code)
Process messages which is received from server.
Parameters:
  msg - received message.



sendCustomMsg
public void sendCustomMsg(String who, String cmd, String msg)(Code)
Send custom message.
Parameters:
  who - Id number that will be received this message. '-1' if it send for all.
Parameters:
  cmd - Command name.
Parameters:
  msg - Message.



sendMsg
public void sendMsg(String who, String msg)(Code)
Send message.
Parameters:
  who - Id number that will be received this message. '-1' if it send for all.
Parameters:
  msg - Message.



sendToServer
void sendToServer(String msg)(Code)
Send message to server.
Parameters:
  msg - message that will be sent.



spliteString
String[] spliteString(String src, char ch, int from)(Code)
Split message to two part.
Parameters:
  src - Source String.
Parameters:
  ch - Splite token.
Parameters:
  from - Starting position. Splited string array(size 2).



wincall
void wincall(String function, Object[] param)(Code)
Call function of outside explorer's script.
Parameters:
  function - function name.
Parameters:
  param - Parameter values.



Methods inherited from java.applet.Applet
public void destroy()(Code)(Java Doc)
public AccessibleContext getAccessibleContext()(Code)(Java Doc)
public AppletContext getAppletContext()(Code)(Java Doc)
public String getAppletInfo()(Code)(Java Doc)
public AudioClip getAudioClip(URL url)(Code)(Java Doc)
public AudioClip getAudioClip(URL url, String name)(Code)(Java Doc)
public URL getCodeBase()(Code)(Java Doc)
public URL getDocumentBase()(Code)(Java Doc)
public Image getImage(URL url)(Code)(Java Doc)
public Image getImage(URL url, String name)(Code)(Java Doc)
public Locale getLocale()(Code)(Java Doc)
public String getParameter(String name)(Code)(Java Doc)
public String[][] getParameterInfo()(Code)(Java Doc)
public void init()(Code)(Java Doc)
public boolean isActive()(Code)(Java Doc)
final public static AudioClip newAudioClip(URL url)(Code)(Java Doc)
public void play(URL url)(Code)(Java Doc)
public void play(URL url, String name)(Code)(Java Doc)
public void resize(int width, int height)(Code)(Java Doc)
public void resize(Dimension d)(Code)(Java Doc)
final public void setStub(AppletStub stub)(Code)(Java Doc)
public void showStatus(String msg)(Code)(Java Doc)
public void start()(Code)(Java Doc)
public void stop()(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.