|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
AddInApp exposes an interface to the Objirc Chat application for addins. Each addin has their own addin app.
AddInWin
Method Summary | |
void |
addIRCMessageListener(IRCMessageListener l)
add an irc message listener (so an addin can respond to events from the server) |
IAddInWin |
createAddInWindow(java.lang.String windowName,
java.lang.String usageTip)
create a window used only by the addin. |
IAddInUtil |
getAddInUtil()
returns an object with MIRC compatibility methods |
IChatAddIn |
getChatAddIn()
return the chat addin linked with this app (each addin has their own app) |
IAddInWin |
getChatWindow(java.lang.String lowerFriendName)
return a specific chat window |
java.util.Enumeration |
getChatWindows()
return the current chat/query windows as AddInWins |
ZipClassLoader |
getClassLoader()
get the classloader your addin was loaded with. |
java.lang.String |
getCommandLine()
return the text entered to launch this addin. |
RoomOccupants |
getRoomOccupants(java.lang.String lowerRoomName)
returns information about the occupants in the room The returned structure is kept up to date as people come and go from the room. |
IAddInWin |
getRoomWindow(java.lang.String lowerRoomName)
return a specific room window. |
java.util.Enumeration |
getRoomWindows()
return the room windows as AddInWins |
java.io.File |
getRootDir()
return Objirc Chat's root directory. |
Sender |
getSender()
get the sender object associated with current IRC server connection. |
IAddInWin |
getStatusWindow()
returns the status window |
void |
removeIRCMessageListener(IRCMessageListener l)
remove an irc message listener. |
void |
unload()
a method to tell the addin app to do whatever is necessary to remove itself: close any addin windows created by it , remove any ircmessagelisteners, remove any addin input listeners added, etc. |
Method Detail |
public Sender getSender()
public IAddInWin getStatusWindow()
public java.util.Enumeration getRoomWindows()
public IAddInWin getRoomWindow(java.lang.String lowerRoomName)
public RoomOccupants getRoomOccupants(java.lang.String lowerRoomName)
public java.util.Enumeration getChatWindows()
public IAddInWin getChatWindow(java.lang.String lowerFriendName)
public IAddInWin createAddInWindow(java.lang.String windowName, java.lang.String usageTip)
public void addIRCMessageListener(IRCMessageListener l)
public void removeIRCMessageListener(IRCMessageListener l)
public IAddInUtil getAddInUtil()
public void unload()
public java.lang.String getCommandLine()
public IChatAddIn getChatAddIn()
public ZipClassLoader getClassLoader()
public java.io.File getRootDir()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |