See on Tõrva Gümnaasiumi vana veebilehe arhiiv. Uus veebileht: https://torva.edu.ee/

AWTStatus (PJIRC project)

Lisamaterjalide loend

Algne fail: vana_veeb/pjirc/doc/javadoc/irc/gui/AWTStatus.html.

========== START OF NAVBAR ==========
=========== END OF NAVBAR ===========
======== START OF CLASS DATA ========

irc.gui
Class AWTStatus

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

public class AWTStatus
extends AWTSource
implements StatusListener

The AWTStatus.

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
 
Fields inherited from class irc.gui.AWTSource
_ircConfiguration, _list, _panel, _scroll, _selector, _source, _strippedTitle, _styler, _textField, _title
 
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
AWTStatus(IRCConfiguration config, Status s)
          Create a new AWTStatus.
 
Method Summary
 AWTSource getActiveSource()
          Get the active awt source.
 java.lang.String getShortTitle()
          Get a shorter title.
 void leave()
          Leave this awt source.
 void modeChanged(java.lang.String mode)
          Our mode has changed.
 void nickChanged(java.lang.String nick)
          Our nick has changed.
 void noticeReceived(java.lang.String from, java.lang.String msg)
          A new notice has been received.
 void setActiveSource(AWTSource a)
          Set the active awt source for notice forwarding.
 
Methods inherited from class irc.gui.AWTSource
action, actionPerformed, activate, addAWTSourceListener, channelEvent, checkSound, clear, copyEvent, focusGained, focusLost, fontSelected, getColorContext, getFieldText, getSource, getStrippedTitle, getText, getText, getText, getText, getTitle, isActive, messageReceived, mouseWheelMoved, needHighLight, nickEvent, print, print, print, removeAWTSourceListener, reportReceived, setFieldText, setTitle, setVisible, toString, URLEvent, validateText, valueChanged, virtualSizeChanged, 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, getPreferredSize, 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
 
Methods inherited from interface irc.SourceListener
action, activate, clear, messageReceived, reportReceived
 

Constructor Detail

AWTStatus

public AWTStatus(IRCConfiguration config,
                 Status s)
Create a new AWTStatus.

Parameters:
config - global irc configuration.
s - source status.

Method Detail

setActiveSource

public void setActiveSource(AWTSource a)
Set the active awt source for notice forwarding.

Parameters:
a - new active awt source.


getActiveSource

public AWTSource getActiveSource()
Get the active awt source.

Returns:
active awt source.


getShortTitle

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

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


noticeReceived

public void noticeReceived(java.lang.String from,
                           java.lang.String msg)
Description copied from interface: SourceListener
A new notice has been received.

Specified by:
noticeReceived in interface SourceListener
Overrides:
noticeReceived in class AWTSource
Parameters:
from - source nick.
msg - notice.


leave

public void leave()
Description copied from class: AWTSource
Leave this awt source.

Overrides:
leave in class AWTSource


nickChanged

public void nickChanged(java.lang.String nick)
Description copied from interface: StatusListener
Our nick has changed.

Specified by:
nickChanged in interface StatusListener
Parameters:
nick - new nick.


modeChanged

public void modeChanged(java.lang.String mode)
Description copied from interface: StatusListener
Our mode has changed.

Specified by:
modeChanged in interface StatusListener
Parameters:
mode - new mode.