|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--irc.IRCObject
|
+--irc.IRCApplication
The IRC Application. This is the main class of PJIRC.
| Field Summary |
| Fields inherited from class irc.IRCObject |
_ircConfiguration |
| Fields inherited from interface irc.ident.IdentListener |
IDENT_DEFAULT, IDENT_ERROR, IDENT_NOT_FOUND, IDENT_OK |
| Constructor Summary | |
IRCApplication(IRCConfiguration config,
StartupConfiguration startupConfig,
java.awt.Container source)
Create a new IRCApplication. |
|
| Method Summary | |
void |
aboutTriggered(PixxMDIInterface mdi)
The about button has been triggered. |
void |
actionPerformed(java.awt.event.ActionEvent evt)
|
void |
activated(AWTSource source)
The source has been activated. |
void |
activeChanged(AWTSource source,
PixxMDIInterface mdi)
The active source has changed. |
java.lang.String[] |
cannotUseRequestedNicknames(Server s)
The nickname(s) provided to this server for registration cannot be used for any reason. |
void |
connectTriggered(PixxMDIInterface mdi)
The connect button has been triggered. |
boolean |
DCCChatRequest(java.lang.String nick)
A new DCCChat is requested. |
void |
DCCFileCreated(DCCFile file,
Server s,
java.lang.Boolean bring)
|
void |
DCCFileRemoved(DCCFile file,
Server s)
|
java.io.File |
DCCFileRequest(java.lang.String nick,
java.lang.String fileName,
java.lang.Integer size)
A new DCC reception is requested. |
void |
eventOccured(AWTSource source)
An event has occured. |
java.lang.String |
getFieldText()
Get the current textfield text. |
static void |
go(java.lang.String[] args)
|
void |
helpTriggered(PixxMDIInterface mdi)
The help button has been triggered. |
void |
identLeaving(java.lang.String message)
The ident server is leaving. |
void |
identRequested(java.lang.String source,
java.lang.Integer result,
java.lang.String reply)
The ident server has received a request. |
void |
identRunning(java.lang.Integer port)
The ident server is running. |
void |
init()
Init the application. |
static void |
main(java.lang.String[] args)
|
void |
newServer(Server server,
boolean connect)
A new server has been created, but not yet connected. |
void |
requestSourceFocus()
Request the active source to gain focus. |
void |
sendString(java.lang.String str)
Send the given string to the current source interpretor. |
void |
serverConnected(Server server)
The server connected. |
void |
serverDisconnected(Server s)
The server disconnected. |
void |
serverLeft(Server s)
The server has left. |
void |
setFieldText(java.lang.String txt)
Set the current textfield text. |
void |
sourceCreated(Source source,
Server server,
java.lang.Boolean bring)
A new source has been created. |
void |
sourceRemoved(Source source,
Server server)
An existing source has been removed. |
void |
titleChanged(AWTSource source)
This source title has changed. |
void |
uninit()
Uninit the application. |
void |
validateText()
Validate the current textfield text, as if user pressed return key. |
void |
windowActivated(java.awt.event.WindowEvent e)
|
void |
windowClosed(java.awt.event.WindowEvent e)
|
void |
windowClosing(java.awt.event.WindowEvent e)
|
void |
windowDeactivated(java.awt.event.WindowEvent e)
|
void |
windowDeiconified(java.awt.event.WindowEvent e)
|
void |
windowIconified(java.awt.event.WindowEvent e)
|
void |
windowOpened(java.awt.event.WindowEvent e)
|
| Methods inherited from class irc.IRCObject |
getColor, getIRCConfiguration, getText, getText, getText, getText, getTimeStamp, release |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public IRCApplication(IRCConfiguration config,
StartupConfiguration startupConfig,
java.awt.Container source)
config - the IRC configuration.startupConfig - the startup configuration.source - a container in wich the application will display. Maybe null. If null,
a new Frame will be opened.| Method Detail |
public void init()
public void newServer(Server server,
boolean connect)
ServerManager
newServer in interface ServerManagerserver - the newly created server.connect - true if the channel should be connected has soon as possible.public void uninit()
public void DCCFileCreated(DCCFile file,
Server s,
java.lang.Boolean bring)
public void DCCFileRemoved(DCCFile file,
Server s)
public void sourceCreated(Source source,
Server server,
java.lang.Boolean bring)
ServerListener
sourceCreated in interface ServerListenersource - the created source.server - the server.bring - true if the newly created source must have immediate focus.
public void sourceRemoved(Source source,
Server server)
ServerListener
sourceRemoved in interface ServerListenersource - the removed source.server - the server.public void serverLeft(Server s)
ServerListener
serverLeft in interface ServerListeners - the server.
public java.io.File DCCFileRequest(java.lang.String nick,
java.lang.String fileName,
java.lang.Integer size)
DCCListener
DCCFileRequest in interface DCCListenernick - the source nick.fileName - the file to transfert.size - the file size.
public boolean DCCChatRequest(java.lang.String nick)
DCCListener
DCCChatRequest in interface DCCListenernick - the requesting nick.
public void serverConnected(Server server)
ServerListener
serverConnected in interface ServerListenerserver - the server.public void serverDisconnected(Server s)
ServerListener
serverDisconnected in interface ServerListeners - the server.
public void identRequested(java.lang.String source,
java.lang.Integer result,
java.lang.String reply)
IdentListener
identRequested in interface IdentListenersource - the request source.result - the request result.reply - the replied result.public void identRunning(java.lang.Integer port)
IdentListener
identRunning in interface IdentListenerport - port on wich the server is running.public void identLeaving(java.lang.String message)
IdentListener
identLeaving in interface IdentListenermessage - leaving message.
public void activeChanged(AWTSource source,
PixxMDIInterface mdi)
PixxMDIInterfaceListener
activeChanged in interface PixxMDIInterfaceListenersource - the new active source.mdi - the mdi.public void titleChanged(AWTSource source)
AWTSourceListener
titleChanged in interface AWTSourceListenersource - the source whose title has changed.public void eventOccured(AWTSource source)
AWTSourceListener
eventOccured in interface AWTSourceListenersource - the source on whose event has occured.public void activated(AWTSource source)
AWTSourceListener
activated in interface AWTSourceListenersource - the activated source.public void connectTriggered(PixxMDIInterface mdi)
PixxMDIInterfaceListener
connectTriggered in interface PixxMDIInterfaceListenermdi - the mdi.public void aboutTriggered(PixxMDIInterface mdi)
PixxMDIInterfaceListener
aboutTriggered in interface PixxMDIInterfaceListenermdi - the mdi.public void helpTriggered(PixxMDIInterface mdi)
PixxMDIInterfaceListener
helpTriggered in interface PixxMDIInterfaceListenermdi - the mdi.public void windowActivated(java.awt.event.WindowEvent e)
windowActivated in interface java.awt.event.WindowListenerpublic void windowClosed(java.awt.event.WindowEvent e)
windowClosed in interface java.awt.event.WindowListenerpublic void windowClosing(java.awt.event.WindowEvent e)
windowClosing in interface java.awt.event.WindowListenerpublic void windowDeactivated(java.awt.event.WindowEvent e)
windowDeactivated in interface java.awt.event.WindowListenerpublic void windowDeiconified(java.awt.event.WindowEvent e)
windowDeiconified in interface java.awt.event.WindowListenerpublic void windowIconified(java.awt.event.WindowEvent e)
windowIconified in interface java.awt.event.WindowListenerpublic void windowOpened(java.awt.event.WindowEvent e)
windowOpened in interface java.awt.event.WindowListenerpublic void requestSourceFocus()
public void sendString(java.lang.String str)
str - string to send to the interpretor.public void setFieldText(java.lang.String txt)
public java.lang.String getFieldText()
public void validateText()
public java.lang.String[] cannotUseRequestedNicknames(Server s)
ServerListener
cannotUseRequestedNicknames in interface ServerListeners - the server.
public void actionPerformed(java.awt.event.ActionEvent evt)
actionPerformed in interface java.awt.event.ActionListenerpublic static void go(java.lang.String[] args)
public static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||