AWTDCCFile (PJIRC project)
Algne fail: vana_veeb/pjirc/doc/javadoc/irc/gui/AWTDCCFile.html.
========== START OF NAVBAR ==========
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
======== START OF CLASS DATA ========
irc.gui
Class AWTDCCFile
java.lang.Object | +--irc.gui.AWTDCCFile
- All Implemented Interfaces:
- DCCFileListener, java.util.EventListener, java.awt.event.WindowListener
- public class AWTDCCFile
- extends java.lang.Object
- implements DCCFileListener, java.awt.event.WindowListener
- extends java.lang.Object
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 |
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 |
_file
protected DCCFile _file
_frame
protected java.awt.Frame _frame
_bar
protected AWTProgressBar _bar
| Constructor Detail |
AWTDCCFile
public AWTDCCFile(IRCConfiguration config, DCCFile file)
- Create a new AWTDCCFile.
- Parameters:
config- the global irc configuration.file- the source DCCFile.
| Method Detail |
getText
public java.lang.String getText(int code)
- Get formatted text associated with the given text code, with no parameter.
- Parameters:
code- text code.- Returns:
- formatted text.
getText
public java.lang.String getText(int code,
java.lang.String p1)
- Get formatted text associated with the given text code, with one parameter.
- Parameters:
code- text code.p1- first parameter.- Returns:
- formatted text.
getText
public 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.
- Parameters:
code- text code.p1- first parameter.p2- second parameter.- Returns:
- formatted text.
getText
public 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.
- Parameters:
code- text code.p1- first parameter.p2- second parameter.p3- third parameter.- Returns:
- formatted text.
getFile
public DCCFile getFile()
- Get the source DCCFile.
- Returns:
- source DCCFile.
activate
public void activate()
- Activate this frame.
close
public void close()
- Close this transfert.
transmitted
public void transmitted(java.lang.Integer icount)
- Description copied from interface:
DCCFileListener - Notify a transfert progression.
- Specified by:
transmittedin interfaceDCCFileListener
- Parameters:
icount- amount of byte that are already transferred.
finished
public void finished()
- Description copied from interface:
DCCFileListener - The transfert is finished sucessfully.
- Specified by:
finishedin interfaceDCCFileListener
failed
public void failed()
- Description copied from interface:
DCCFileListener - The transfert failed.
- Specified by:
failedin interfaceDCCFileListener
windowActivated
public void windowActivated(java.awt.event.WindowEvent e)
- Specified by:
windowActivatedin interfacejava.awt.event.WindowListener
windowClosed
public void windowClosed(java.awt.event.WindowEvent e)
- Specified by:
windowClosedin interfacejava.awt.event.WindowListener
windowClosing
public void windowClosing(java.awt.event.WindowEvent e)
- Specified by:
windowClosingin interfacejava.awt.event.WindowListener
windowDeactivated
public void windowDeactivated(java.awt.event.WindowEvent e)
- Specified by:
windowDeactivatedin interfacejava.awt.event.WindowListener
windowDeiconified
public void windowDeiconified(java.awt.event.WindowEvent e)
- Specified by:
windowDeiconifiedin interfacejava.awt.event.WindowListener
windowIconified
public void windowIconified(java.awt.event.WindowEvent e)
- Specified by:
windowIconifiedin interfacejava.awt.event.WindowListener
windowOpened
public void windowOpened(java.awt.event.WindowEvent e)
- Specified by:
windowOpenedin interfacejava.awt.event.WindowListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
