| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--javax.swing.JComponent | +--javax.swing.JPanel | +--ChatDemo
Field Summary | |
(package private) ChatServer | serverStub |
(package private) Timer | timer |
Fields inherited from class javax.swing.JComponent |
WHEN_FOCUSED, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_IN_FOCUSED_WINDOW, UNDEFINED_CONDITION, TOOL_TIP_TEXT_KEY |
Fields inherited from class java.awt.Component |
TOP_ALIGNMENT, CENTER_ALIGNMENT, BOTTOM_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT |
Constructor Summary | |
ChatDemo(ChatServer serverStub) | |
ChatDemo() |
Method Summary | |
void | addMessage(String msg) |
static void | main(String[] args) |
void | setBusy(boolean busy) |
void | setChatServer(ChatServer serverStub) |
void | startTimer() |
void | stopTimer() |
Methods inherited from class javax.swing.JPanel |
updateUI, getUIClassID, getAccessibleContext, getUI, setUI |
Methods inherited from class javax.swing.JComponent |
getAlignmentX, getAlignmentY, getDebugGraphicsOptions, getHeight, getWidth, getX, getY, addNotify, disable, enable, grabFocus, removeNotify, requestFocus, resetKeyboardActions, revalidate, getAutoscrolls, getVerifyInputWhenFocusTarget, isDoubleBuffered, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, requestDefaultFocus, requestFocusInWindow, setAlignmentX, setAlignmentY, setDebugGraphicsOptions, contains, paintImmediately, reshape, repaint, setAutoscrolls, setDoubleBuffered, setEnabled, setOpaque, setRequestFocusEnabled, setVerifyInputWhenFocusTarget, setVisible, requestFocus, setBackground, setForeground, getNextFocusableComponent, setNextFocusableComponent, isLightweightComponent, getTopLevelAncestor, getMaximumSize, getMinimumSize, getPreferredSize, setMaximumSize, setMinimumSize, setPreferredSize, setFont, getGraphics, paint, print, printAll, update, getInsets, getVisibleRect, computeVisibleRect, paintImmediately, repaint, scrollRectToVisible, getPropertyChangeListeners, addPropertyChangeListener, removePropertyChangeListener, getVetoableChangeListeners, addVetoableChangeListener, removeVetoableChangeListener, getToolTipText, setToolTipText, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getDefaultLocale, setDefaultLocale, getActionMap, setActionMap, getInputMap, getInputMap, setInputMap, getInputVerifier, setInputVerifier, getRootPane, createToolTip, getRegisteredKeyStrokes, getConditionForKeyStroke, unregisterKeyboardAction, getTransferHandler, setTransferHandler, getBorder, setBorder, getAncestorListeners, addAncestorListener, removeAncestorListener, getSize, getInsets, getLocation, getToolTipLocation, getBounds, getActionForKeyStroke, getPropertyChangeListeners, addPropertyChangeListener, removePropertyChangeListener, getClientProperty, putClientProperty, getToolTipText, getListeners, registerKeyboardAction, registerKeyboardAction |
Methods inherited from class java.awt.Container |
countComponents, getComponentCount, doLayout, invalidate, layout, removeAll, transferFocusBackward, transferFocusDownCycle, validate, isFocusCycleRoot, isFocusTraversalPolicySet, remove, areFocusTraversalKeysSet, setFocusCycleRoot, getComponents, getComponent, findComponentAt, getComponentAt, locate, remove, isAncestorOf, applyComponentOrientation, isFocusCycleRoot, minimumSize, preferredSize, deliverEvent, getFocusTraversalPolicy, setFocusTraversalPolicy, paintComponents, printComponents, insets, getLayout, setLayout, getContainerListeners, addContainerListener, removeContainerListener, list, list, getFocusTraversalKeys, setFocusTraversalKeys, add, add, findComponentAt, getComponentAt, add, add, add |
Methods inherited from class java.awt.Component |
hide, list, nextFocus, repaint, show, transferFocus, transferFocusUpCycle, getFocusTraversalKeysEnabled, getIgnoreRepaint, hasFocus, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusOwner, isFocusTraversable, isFocusable, isFontSet, isForegroundSet, isLightweight, isShowing, isValid, isVisible, move, resize, setLocation, setSize, inside, repaint, setBounds, repaint, enable, enableInputMethods, setFocusTraversalKeysEnabled, setFocusable, setIgnoreRepaint, show, dispatchEvent, getBackground, getForeground, getComponentOrientation, setComponentOrientation, getFocusCycleRootAncestor, getParent, getCursor, setCursor, getSize, size, resize, setSize, handleEvent, postEvent, keyDown, keyUp, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, getFont, paintAll, getGraphicsConfiguration, createImage, imageUpdate, remove, getLocation, getLocationOnScreen, location, setLocation, contains, add, bounds, getBounds, setBounds, getToolkit, getDropTarget, setDropTarget, getComponentListeners, addComponentListener, removeComponentListener, getFocusListeners, addFocusListener, removeFocusListener, getHierarchyBoundsListeners, addHierarchyBoundsListener, removeHierarchyBoundsListener, getHierarchyListeners, addHierarchyListener, removeHierarchyListener, getInputMethodListeners, addInputMethodListener, removeInputMethodListener, getKeyListeners, addKeyListener, removeKeyListener, getMouseListeners, addMouseListener, removeMouseListener, getMouseMotionListeners, addMouseMotionListener, removeMouseMotionListener, getMouseWheelListeners, addMouseWheelListener, removeMouseWheelListener, getInputContext, getInputMethodRequests, getColorModel, createVolatileImage, getPeer, list, list, getTreeLock, getName, toString, setName, getLocale, setLocale, getFontMetrics, createImage, checkImage, prepareImage, checkImage, prepareImage, createVolatileImage, action, gotFocus, lostFocus |
Methods inherited from class java.lang.Object |
hashCode, notify, notifyAll, wait, wait, wait, getClass, equals |
Field Detail |
ChatServer serverStub
Timer timer
Constructor Detail |
public ChatDemo(ChatServer serverStub)
public ChatDemo()
Method Detail |
public void addMessage(String msg)
public static void main(String[] args)
public void setBusy(boolean busy)
public void setChatServer(ChatServer serverStub)
public void startTimer()
public void stopTimer()
Association Links |
to Class javax.swing.Timer
to Class javax.swing.JButton
to Class javax.swing.JTextField
to Class javax.swing.JTextArea
to Class javax.swing.JScrollPane
to Class javax.swing.JButton
Dependency Links |
to Class ChatServer
to Class javax.swing.Timer
to Class java.awt.event.ActionEvent
to Class java.lang.String
to Class javax.swing.JButton
to Class javax.swing.JTextField
to Class javax.swing.JTextArea
to Class javax.swing.JScrollPane
to Class Diagram <default>
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |