irc.gui
Class AWTChanList

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Panel
                    |
                    +--irc.gui.AWTSource
                          |
                          +--irc.gui.AWTChanList
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.event.ActionListener, AWTStyleSelectorExListener, ChanListListener, java.util.EventListener, java.awt.event.FocusListener, java.awt.image.ImageObserver, java.awt.MenuContainer, MouseWheelPanelListener, PixxScrollBarListener, java.io.Serializable, SourceListener, StyledListListener, java.awt.event.WindowListener

public class AWTChanList
extends AWTSource
implements ChanListListener

The AWT channel list.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class java.awt.Panel
java.awt.Panel.AccessibleAWTPanel
 
Nested classes inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
protected  PixxHorizontalScrollBar _hscroll
           
 
Fields inherited from class irc.gui.AWTSource
_ircConfiguration, _list, _panel, _scroll, _selector, _source, _strippedTitle, _styler, _textField, _title, _topToBottom
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
AWTChanList(IRCConfiguration config, ChanList list)
          Create a new AWTChanList.
 
Method Summary
 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.
 ChanList getChanList()
          Get the source chanlist.
 java.lang.String getFieldText()
          Get the current textfield text.
 java.lang.String getShortTitle()
          Get a shorter title.
 void release()
          Release this object.
 void setFieldText(java.lang.String txt)
          Set the current textfield text.
 void validateText()
          Validate the current textfield text, as if user pressed return key.
 void valueChanged(PixxScrollBar pixScrollBar)
          Position has changed.
 void virtualSizeChanged(StyledList lis)
          The logical width or height of the list has changed.
 
Methods inherited from class irc.gui.AWTSource
action, actionPerformed, activate, addAWTSourceListener, channelEvent, checkSound, clear, copyEvent, focusGained, focusLost, fontSelected, getColorContext, getPreferredSize, getSource, getStrippedTitle, getText, getText, getText, getText, getTitle, isActive, leave, messageReceived, mouseWheelMoved, needHighLight, nickEvent, noticeReceived, print, print, print, removeAWTSourceListener, reportReceived, setTitle, setVisible, toString, URLEvent, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpened
 
Methods inherited from class java.awt.Panel
addNotify, getAccessibleContext
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, setLayout, transferFocusBackward, transferFocusDownCycle, update, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_hscroll

protected PixxHorizontalScrollBar _hscroll
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

release

public void release()
Description copied from class: AWTSource
Release this object. No further call may be performed on this object.

Overrides:
release in class AWTSource

getShortTitle

public java.lang.String getShortTitle()
Description copied from class: AWTSource
Get a shorter title.

Overrides:
getShortTitle in class AWTSource
Returns:
a shorter title.

setFieldText

public void setFieldText(java.lang.String txt)
Description copied from class: AWTSource
Set the current textfield text.

Overrides:
setFieldText in class AWTSource

getFieldText

public java.lang.String getFieldText()
Description copied from class: AWTSource
Get the current textfield text.

Overrides:
getFieldText in class AWTSource
Returns:
the current textfield text.

validateText

public void validateText()
Description copied from class: AWTSource
Validate the current textfield text, as if user pressed return key.

Overrides:
validateText in class AWTSource

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:
channelBegin in interface ChanListListener

channelEnd

public void channelEnd()
Description copied from interface: ChanListListener
The current listing is terminated.

Specified by:
channelEnd in interface ChanListListener

channelAdded

public void channelAdded(ChannelInfo item)
Description copied from interface: ChanListListener
A new channel has been added in the channel list.

Specified by:
channelAdded in interface ChanListListener
Parameters:
item - the newly added item.

valueChanged

public void valueChanged(PixxScrollBar pixScrollBar)
Description copied from interface: PixxScrollBarListener
Position has changed.

Specified by:
valueChanged in interface PixxScrollBarListener
Overrides:
valueChanged in class AWTSource
Parameters:
pixScrollBar - scrollbar whose position has changed.

virtualSizeChanged

public void virtualSizeChanged(StyledList lis)
Description copied from interface: StyledListListener
The logical width or height of the list has changed.

Specified by:
virtualSizeChanged in interface StyledListListener
Overrides:
virtualSizeChanged in class AWTSource
Parameters:
lis - the source list.