|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--irc.gui.AWTDCCFile
The AWT dcc file interface.
Field Summary | |
protected AWTProgressBar |
_bar
|
protected DCCFile |
_file
|
protected java.awt.Frame |
_frame
|
Constructor Summary | |
AWTDCCFile(IRCConfiguration config,
DCCFile file)
Create a new AWTDCCFile. |
Method Summary | |
void |
activate()
Activate this frame. |
void |
close()
Close this transfert. |
void |
failed()
The transfert failed. |
void |
finished()
The transfert is finished sucessfully. |
DCCFile |
getFile()
Get the source DCCFile. |
java.lang.String |
getText(int code)
Get formatted text associated with the given text code, with no parameter. |
java.lang.String |
getText(int code,
java.lang.String p1)
Get formatted text associated with the given text code, with one parameter. |
java.lang.String |
getText(int code,
java.lang.String p1,
java.lang.String p2)
Get formatted text associated with the given text code, with two parameters. |
java.lang.String |
getText(int code,
java.lang.String p1,
java.lang.String p2,
java.lang.String p3)
Get formatted text associated with the given text code, with three parameters. |
void |
release()
Release this object. |
void |
transmitted(java.lang.Integer icount)
Notify a transfert progression. |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected DCCFile _file
protected java.awt.Frame _frame
protected AWTProgressBar _bar
Constructor Detail |
public AWTDCCFile(IRCConfiguration config, DCCFile file)
config
- the global irc configuration.file
- the source DCCFile.Method Detail |
public void release()
public java.lang.String getText(int code)
code
- text code.
public java.lang.String getText(int code, java.lang.String p1)
code
- text code.p1
- first parameter.
public java.lang.String getText(int code, java.lang.String p1, java.lang.String p2)
code
- text code.p1
- first parameter.p2
- second parameter.
public java.lang.String getText(int code, java.lang.String p1, java.lang.String p2, java.lang.String p3)
code
- text code.p1
- first parameter.p2
- second parameter.p3
- third parameter.
public DCCFile getFile()
public void activate()
public void close()
public void transmitted(java.lang.Integer icount)
DCCFileListener
transmitted
in interface DCCFileListener
icount
- amount of byte that are already transferred.public void finished()
DCCFileListener
finished
in interface DCCFileListener
public void failed()
DCCFileListener
failed
in interface DCCFileListener
public void windowActivated(java.awt.event.WindowEvent e)
windowActivated
in interface java.awt.event.WindowListener
public void windowClosed(java.awt.event.WindowEvent e)
windowClosed
in interface java.awt.event.WindowListener
public void windowClosing(java.awt.event.WindowEvent e)
windowClosing
in interface java.awt.event.WindowListener
public void windowDeactivated(java.awt.event.WindowEvent e)
windowDeactivated
in interface java.awt.event.WindowListener
public void windowDeiconified(java.awt.event.WindowEvent e)
windowDeiconified
in interface java.awt.event.WindowListener
public void windowIconified(java.awt.event.WindowEvent e)
windowIconified
in interface java.awt.event.WindowListener
public void windowOpened(java.awt.event.WindowEvent e)
windowOpened
in interface java.awt.event.WindowListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |