AWTChanList (PJIRC project)
Algne fail: vana_veeb/pjirc/doc/javadoc/irc/gui/AWTChanList.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 AWTChanList
java.lang.Object | +--irc.gui.AWTChanList
- All Implemented Interfaces:
- java.awt.event.AdjustmentListener, ChanListListener, Comparator, java.util.EventListener, StyledListListener, java.awt.event.WindowListener
- public class AWTChanList
- extends java.lang.Object
- implements ChanListListener, java.awt.event.WindowListener, java.awt.event.AdjustmentListener, StyledListListener, Comparator
- extends java.lang.Object
The AWT channel list.
| Field Summary | |
protected java.awt.Frame |
_frame
|
protected java.awt.Scrollbar |
_hscroll
|
protected ChanList |
_list
|
protected java.awt.Panel |
_panel
|
protected StyledList |
_slist
|
protected java.awt.Scrollbar |
_vscroll
|
| Constructor Summary | |
AWTChanList(IRCConfiguration config,
ChanList list)
Create a new AWTChanList. |
|
| Method Summary | |
void |
adjustmentValueChanged(java.awt.event.AdjustmentEvent e)
|
void |
channelAdded(ChannelInfo item)
A new channel has been added in the channel list. |
void |
channelBegin()
A new listing has began. |
void |
channelEnd()
The current listing is terminated. |
void |
channelEvent(StyledList lis,
java.lang.String chan,
java.awt.event.MouseEvent e)
A mouse event has occured on a channel. |
void |
close()
Close this channel list. |
int |
compare(java.lang.Object o1,
java.lang.Object o2)
Compare two objects. |
void |
copyEvent(StyledList lis,
java.lang.String txt,
java.awt.event.MouseEvent e)
A copy event has occured on a channel. |
ChanList |
getChanList()
Get the source chanlist. |
void |
nickEvent(StyledList lis,
java.lang.String nick,
java.awt.event.MouseEvent e)
A nick event has occured on a channel. |
void |
setTitle(java.lang.String title)
Set this chanlist title. |
void |
URLEvent(StyledList lis,
java.lang.String url,
java.awt.event.MouseEvent e)
An url event has occured on a channel. |
void |
virtualSizeChanged(StyledList lis)
The logical width or height of the list has changed. |
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 |
_list
protected ChanList _list
_frame
protected java.awt.Frame _frame
_hscroll
protected java.awt.Scrollbar _hscroll
_vscroll
protected java.awt.Scrollbar _vscroll
_slist
protected StyledList _slist
_panel
protected java.awt.Panel _panel
| Constructor Detail |
AWTChanList
public AWTChanList(IRCConfiguration config, ChanList list)
- Create a new AWTChanList.
- Parameters:
config- the global irc configuration.list- the source channel list.
| Method Detail |
setTitle
public void setTitle(java.lang.String title)
- Set this chanlist title.
- Parameters:
title- new chanlist title.
getChanList
public ChanList getChanList()
- Get the source chanlist.
- Returns:
- source chanlist.
channelBegin
public void channelBegin()
- Description copied from interface:
ChanListListener - A new listing has began.
- Specified by:
channelBeginin interfaceChanListListener
channelEnd
public void channelEnd()
- Description copied from interface:
ChanListListener - The current listing is terminated.
- Specified by:
channelEndin interfaceChanListListener
channelAdded
public void channelAdded(ChannelInfo item)
- Description copied from interface:
ChanListListener - A new channel has been added in the channel list.
- Specified by:
channelAddedin interfaceChanListListener
- Parameters:
item- the newly added item.
compare
public int compare(java.lang.Object o1,
java.lang.Object o2)
- Description copied from interface:
Comparator - Compare two objects.
- Specified by:
comparein interfaceComparator
- Parameters:
o1- first object.o2- second object.- Returns:
- negative if a lesser than b, positive if a greater than b, and zero if a equals b.
close
public void close()
- Close this channel list.
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
adjustmentValueChanged
public void adjustmentValueChanged(java.awt.event.AdjustmentEvent e)
- Specified by:
adjustmentValueChangedin interfacejava.awt.event.AdjustmentListener
channelEvent
public void channelEvent(StyledList lis, java.lang.String chan, java.awt.event.MouseEvent e)
- Description copied from interface:
StyledListListener - A mouse event has occured on a channel.
- Specified by:
channelEventin interfaceStyledListListener
- Parameters:
lis- the source list.chan- the channel name.e- the mouse event associated with this event.
URLEvent
public void URLEvent(StyledList lis, java.lang.String url, java.awt.event.MouseEvent e)
- Description copied from interface:
StyledListListener - An url event has occured on a channel.
- Specified by:
URLEventin interfaceStyledListListener
- Parameters:
lis- the source list.url- the url name.e- the mouse event associated with this event.
nickEvent
public void nickEvent(StyledList lis, java.lang.String nick, java.awt.event.MouseEvent e)
- Description copied from interface:
StyledListListener - A nick event has occured on a channel.
- Specified by:
nickEventin interfaceStyledListListener
- Parameters:
lis- the source list.nick- the nick name.e- the mouse event associated with this event.
copyEvent
public void copyEvent(StyledList lis, java.lang.String txt, java.awt.event.MouseEvent e)
- Description copied from interface:
StyledListListener - A copy event has occured on a channel.
- Specified by:
copyEventin interfaceStyledListListener
- Parameters:
lis- the source list.txt- the copied text.e- the mouse event associated with this event.
virtualSizeChanged
public void virtualSizeChanged(StyledList lis)
- Description copied from interface:
StyledListListener - The logical width or height of the list has changed.
- Specified by:
virtualSizeChangedin interfaceStyledListListener
- Parameters:
lis- the source list.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
