|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
squint.GUIManager
public class GUIManager
A GUIManager is a set of instructions describing the behavior of GUI Graphical User Interface (GUI) components within a single window on the screen. A simple program can be constructing by writing a single class that extends GUIManager. It is also possible to use the GUIManager class to decribe the behavior of subwindows created dynamically during a programs execution. The constructor for any class that extends GUIManager should create the GUI components used in the program or subwindow's interface and place them within the contentPane. The description of the class should also include definitions of event-handling methods like buttonClicked. that specify how to react to user actions.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
javax.swing.JComponent.AccessibleJComponent |
Field Summary | |
---|---|
java.awt.Container |
contentPane
|
Fields inherited from class javax.swing.JComponent |
---|
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
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 | |
---|---|
GUIManager()
Create a new GUIManger. |
Method Summary | |
---|---|
void |
buttonClicked()
If the program is expected to respond to clicks on buttons displayed in its interface, a version of this method (or its namesake that expects a parameter) that includes code that will respond appropriately should be defined as part of the program. |
void |
buttonClicked(javax.swing.JButton button)
If the program is expected to respond to clicks on buttons displayed in its interface, a version of this method (or its parameterless namesake) that includes code that will respond appropriately should be defined as part of the program. |
void |
caretRepositioned()
If the program is expected to respond when the cursor is moved within a JTextField or JTextArea, a version of this method (or one of its namesakes that expects a parameter) that includes code to respond appropriately should be defined as part of the program. |
void |
caretRepositioned(javax.swing.JTextArea which)
If the program is expected to respond when the cursor is moved within a JTextField, a version of this method (or its parameterless namesake) that includes code that will respond appropriately should be defined as part of the program. |
void |
caretRepositioned(javax.swing.JTextField which)
If the program is expected to respond when the cursor is moved within a JTextField, a version of this method (or its parameterless namesake) that includes code that will respond appropriately should be defined as part of the program. |
void |
close()
Close the window (if any) containing this GUIManager. |
void |
connectionClosed()
If the program is expected to respond when a network connection is terminated by the remote system, a version of this method (or one of its namesakes) that includes code that will respond appropriately should be defined as part of the program. |
void |
connectionClosed(NetConnection which)
If the program is expected to respond when a NetConnection is terminated by the remote system, a version of this method (or its parameterless namesake) that includes code that will respond appropriately should be defined as part of the program. |
void |
connectionClosed(java.lang.Object which)
If the program is expected to respond when a NetConnection is terminated by the remote system, a version of this method (or its parameterless namesake) that includes code that will respond appropriately should be defined as part of the program. |
void |
connectionClosed(TCPConnection which)
If the program is expected to respond when a TCPConnection is terminated by the remote system, a version of this method (or its parameterless namesake) that includes code that will respond appropriately should be defined as part of the program. |
void |
connectionEstablished()
If the program needs to respond whena new connection to one of its TCPPorts is requested, the a version of this method (or its parametered namesake) that includes code that will respond appropriately should be defined as part of the program. |
void |
connectionEstablished(TCPPort whichPort)
If the program needs to respond whena new connection to one of its TCPPorts is requested, the a version of this method (or its parameterless namesake) that includes code that will respond appropriately should be defined as part of the program. |
void |
createWindow(int width,
int height)
This method is used to create a window on the screen to display the GUI components associated with a GUIManager. |
void |
createWindow(int width,
int height,
int closing)
This method is used to create a window on the screen to display the GUI components associated with a GUIManager. |
void |
createWindow(int width,
int height,
java.lang.String title)
This method is used to create a window on the screen to display the GUI components associated with a GUIManager. |
void |
createWindow(int width,
int height,
java.lang.String title,
int closing)
This method is used to create a window on the screen to display the GUI components associated with a GUIManager. |
void |
dataAvailable()
If the program is expected to respond when new data is received through a TCPConnection, a version of this method (or its namesake that expects a parameter) that includes code that will respond appropriately should be defined as part of the program. |
void |
dataAvailable(NetConnection which)
If the program is expected to respond when new data is received through a NetConnection, a version of this method (or its parameterless namesake) that includes code that will respond appropriately should be defined as part of the program. |
void |
dataAvailable(java.lang.Object which)
If the program is expected to respond when new data is received through a network connection, a version of this method (or one of its namesakes) that includes code that will respond appropriately should be defined as part of the program. |
void |
dataAvailable(TCPConnection which)
If the program is expected to respond when new data is received through a TCPConnection, a version of this method (or its parameterless namesake) that includes code that will respond appropriately should be defined as part of the program. |
void |
focusGained()
If the program is expected to respond when a some GUI component in the program's interface gains the keyboard focus, a version of this method (or its namesake that expects to be passed the component that gained the focuse as a parameter) that includes code that will respond appropriately should be defined as part of the program. |
void |
focusGained(java.awt.Component which)
If the program is expected to respond when a some GUI component in the program's interface gains the keyboard focus, a version of this method (or its parameterless namesake) that includes code that will respond appropriately should be defined as part of the program. |
void |
focusLost()
If the program is expected to respond when a some GUI component in the program's interface loses the keyboard focus, a version of this method (or its namesake that expects to be passed the component that gained the focuse as a parameter) that includes code that will respond appropriately should be defined as part of the program. |
void |
focusLost(java.awt.Component which)
If the program is expected to respond when a some GUI component in the program's interface loses the keyboard focus, a version of this method (or its parameterless namesake) that includes code that will respond appropriately should be defined as part of the program. |
static java.lang.String |
getHostName()
Returns the IP address or domain name for the machine executing this program |
java.awt.Image |
getImage(java.lang.String name)
Access an image file given a string that is a URL or file pathname for the desire image. |
java.awt.Point |
getLocation()
Gets the location of this window in the form of a point specifying the window's top-left corner. |
java.awt.Point |
getLocationOnScreen()
Gets the location of this window in the form of a point specifying the window's top-left corner in the screen's coordinate space. |
java.awt.Dimension |
getSize()
Return the size of this window as a Dimension object. |
java.lang.String |
getTitle()
Gets the title of the window. |
javax.swing.JFrame |
getWindow()
Access the JFrame within which the GUIManager is displayed on the screen. |
void |
menuItemSelected()
If the program is expected to respond when a user selects an item from a JComboBox menu displayed in its interface, a version of this method (or its namesake that expects a parameter) that includes code that will respond appropriately should be defined as part of the program. |
void |
menuItemSelected(javax.swing.JComboBox menu)
If the program is expected to respond when a user selects an item from a JComboBox menu displayed in its interface, a version of this method ( or its paramerless namesake) that includes code that will respond appropriately should be defined as part of the program. |
void |
mouseClicked()
If a GUIManager needs to take some action when the user clicks the mouse button in any of its components, a version of this method or of one of its variants should be defined that includes the code to the user's action. |
void |
mouseClicked(java.awt.Component which,
int x,
int y)
If a GUIManager needs to take some action when the user clicks the mouse button in any of its components, a version of this method or of one of its variants should be defined that includes the code to the user's action. |
void |
mouseClicked(int x,
int y)
If a GUIManager needs to take some action when the user clicks the mouse button in any of its components, a version of this method or of one of its variants should be defined that includes the code to the user's action. |
void |
mouseClicked(javax.swing.JLabel which,
int x,
int y)
If a GUIManager needs to take some action when the user clicks the mouse button in any of its components, a version of this method or of one of its variants should be defined that includes the code to the user's action. |
void |
mouseClicked(javax.swing.JPanel which,
int x,
int y)
If a GUIManager needs to take some action when the user clicks the mouse button in any of its components, a version of this method or of one of its variants should be defined that includes the code to the user's action. |
void |
mouseDragged()
If a GUIManager needs to take some action when the user drags the mouse within any of its components, a version of this method or of one of its variants should be defined that includes the code to the user's action. |
void |
mouseDragged(java.awt.Component which,
int x,
int y)
If a GUIManager needs to take some action when the user drags the mouse within any of its components, a version of this method or of one of its variants should be defined that includes the code to the user's action. |
void |
mouseDragged(int x,
int y)
If a GUIManager needs to take some action when the user drags the mouse within any of its components, a version of this method or of one of its variants should be defined that includes the code to the user's action. |
void |
mouseDragged(javax.swing.JLabel which,
int x,
int y)
If a GUIManager needs to take some action when the user drags the mouse within any of its components, a version of this method or of one of its variants should be defined that includes the code to the user's action. |
void |
mouseDragged(javax.swing.JPanel which,
int x,
int y)
If a GUIManager needs to take some action when the user drags the mouse within any of its components, a version of this method or of one of its variants should be defined that includes the code to the user's action. |
void |
mouseEntered()
If a GUIManager needs to take some action when the user moves the mouse into any of its components, a version of this method or of one of its variants should be defined that includes the code to the user's action. |
void |
mouseEntered(java.awt.Component which,
int x,
int y)
If a GUIManager needs to take some action when the user moves the mouse into any of its components, a version of this method or of one of its variants should be defined that includes the code to the user's action. |
void |
mouseEntered(int x,
int y)
If a GUIManager needs to take some action when the user moves the mouse into any of its components, a version of this method or of one of its variants should be defined that includes the code to the user's action. |
void |
mouseEntered(javax.swing.JLabel which,
int x,
int y)
If a GUIManager needs to take some action when the user moves the mouse into any of its components, a version of this method or of one of its variants should be defined that includes the code to the user's action. |
void |
mouseEntered(javax.swing.JPanel which,
int x,
int y)
If a GUIManager needs to take some action when the user moves the mouse into any of its components, a version of this method or of one of its variants should be defined that includes the code to the user's action. |
void |
mouseExited()
If a GUIManager needs to take some action when the user moves the mouse out of any of its components, a version of this method or of one of its variants should be defined that includes the code to the user's action. |
void |
mouseExited(java.awt.Component which,
int x,
int y)
If a GUIManager needs to take some action when the user moves the mouse out of any of its components, a version of this method or of one of its variants should be defined that includes the code to the user's action. |
void |
mouseExited(int x,
int y)
If a GUIManager needs to take some action when the user moves the mouse out of any of its components, a version of this method or of one of its variants should be defined that includes the code to the user's action. |
void |
mouseExited(javax.swing.JLabel which,
int x,
int y)
If a GUIManager needs to take some action when the user moves the mouse out of any of its components, a version of this method or of one of its variants should be defined that includes the code to the user's action. |
void |
mouseExited(javax.swing.JPanel which,
int x,
int y)
If a GUIManager needs to take some action when the user moves the mouse out of any of its components, a version of this method or of one of its variants should be defined that includes the code to the user's action. |
void |
mouseMoved()
If a GUIManager needs to take some action when the user moves the mouse within any of its components, a version of this method or of one of its variants should be defined that includes the code to the user's action. |
void |
mouseMoved(java.awt.Component which,
int x,
int y)
If a GUIManager needs to take some action when the user moves the mouse within any of its components, a version of this method or of one of its variants should be defined that includes the code to the user's action. |
void |
mouseMoved(int x,
int y)
If a GUIManager needs to take some action when the user moves the mouse within any of its components, a version of this method or of one of its variants should be defined that includes the code to the user's action. |
void |
mouseMoved(javax.swing.JLabel which,
int x,
int y)
If a GUIManager needs to take some action when the user moves the mouse within any of its components, a version of this method or of one of its variants should be defined that includes the code to the user's action. |
void |
mouseMoved(javax.swing.JPanel which,
int x,
int y)
If a GUIManager needs to take some action when the user moves the mouse within any of its components, a version of this method or of one of its variants should be defined that includes the code to the user's action. |
void |
mousePressed()
If a GUIManager needs to take some action when the user depresses the mouse button in any of its components, a version of this method or of one of its variants should be defined that includes the code to the user's action. |
void |
mousePressed(java.awt.Component which,
int x,
int y)
If a GUIManager needs to take some action when the user depresses the mouse button in any of its components, a version of this method or of one of its variants should be defined that includes the code to the user's action. |
void |
mousePressed(int x,
int y)
If a GUIManager needs to take some action when the user depresses the mouse button in any of its components, a version of this method or of one of its variants should be defined that includes the code to the user's action. |
void |
mousePressed(javax.swing.JLabel which,
int x,
int y)
If a GUIManager needs to take some action when the user depresses the mouse button in any of its components, a version of this method or of one of its variants should be defined that includes the code to the user's action. |
void |
mousePressed(javax.swing.JPanel which,
int x,
int y)
If a GUIManager needs to take some action when the user depresses the mouse button in any of its components, a version of this method or of one of its variants should be defined that includes the code to the user's action. |
void |
mouseReleased()
If a GUIManager needs to take some action when the user releases the mouse button in any of its components, a version of this method or of one of its variants should be defined that includes the code to the user's action. |
void |
mouseReleased(java.awt.Component which,
int x,
int y)
If a GUIManager needs to take some action when the user releases the mouse button in any of its components, a version of this method or of one of its variants should be defined that includes the code to the user's action. |
void |
mouseReleased(int x,
int y)
If a GUIManager needs to take some action when the user releases the mouse button in any of its components, a version of this method or of one of its variants should be defined that includes the code to the user's action. |
void |
mouseReleased(javax.swing.JLabel which,
int x,
int y)
If a GUIManager needs to take some action when the user releases the mouse button in any of its components, a version of this method or of one of its variants should be defined that includes the code to the user's action. |
void |
mouseReleased(javax.swing.JPanel which,
int x,
int y)
If a GUIManager needs to take some action when the user releases the mouse button in any of its components, a version of this method or of one of its variants should be defined that includes the code to the user's action. |
void |
setLocation(int x,
int y)
Moves this window to a new location. |
void |
setSize(int width,
int height)
Resizes this window. |
void |
setTitle(java.lang.String title)
Sets the title for this window to the specified string. |
void |
setVisible(boolean state)
Shows or hides this window depending on the value of parameter state. |
void |
sliderChanged()
If the program is expected to respond when a user changes the setting of a JSlider displayed in its interface, a version of this method (or its namesake that expects a parameter) that includes code that will respond appropriately should be defined as part of the program. |
void |
sliderChanged(javax.swing.JSlider slider)
If the program is expected to respond when a user changes the setting of a JSlider displayed in its interface, a version of this method (or its parameterless namesake) that includes code that will respond appropriately should be defined as part of the program. |
void |
textEntered()
If the program is expected to respond when a user finishes entering text within a JTextField displayed in its interface, a version of this method (or its namesake that expects a parameter) that includes code that will respond appropriately should be defined as part of the program. |
void |
textEntered(javax.swing.JTextField field)
If the program is expected to respond when a user finishes entering text within a JTextField displayed in its interface, a version of this method (or its parameterless namesake) that includes code that will respond appropriately should be defined as part of the program. |
static java.lang.String |
version()
Return the library version description |
void |
windowClosing()
If a GUIManager needs to take some action when the user closes its window, a version of this method should be defined that includes the appropriate code. |
Methods inherited from class javax.swing.JPanel |
---|
getAccessibleContext, getUI, getUIClassID, setUI, updateUI |
Methods inherited from class javax.swing.JComponent |
---|
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setVerifyInputWhenFocusTarget, unregisterKeyboardAction, update |
Methods inherited from class java.awt.Container |
---|
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate |
Methods inherited from class java.awt.Component |
---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, createImage, createImage, createVolatileImage, createVolatileImage, dispatchEvent, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setName, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public java.awt.Container contentPane
Constructor Detail |
---|
public GUIManager()
Method Detail |
---|
public static java.lang.String version()
public void createWindow(int width, int height, java.lang.String title, int closing)
width
- the width of the program window in pixelsheight
- the height of the program window in pixelstitle
- the text to place in the window's title barclosing
- Sets the operation that will happen by default when the user initiates a "close" on this
GUIManager. You must specify one of the following choices (all defined in WindowConstants):
DO_NOTHING_ON_CLOSE: Don't do anything by default;
HIDE_ON_CLOSE: Automatically hide the frame after invoking any registered WindowListener objects.
DISPOSE_ON_CLOSE: Automatically hide and dispose the window after invoking any registered listener objects.
EXIT_ON_CLOSE: Exit the application using the System exit method.public void createWindow(int width, int height, int closing)
width
- the width of the program window in pixelsheight
- the height of the program window in pixelsclosing
- Sets the operation that will happen by default when the user initiates a "close" on this
GUIManager. You must specify one of the following choices (all defined in WindowConstants):
DO_NOTHING_ON_CLOSE: Don't do anything by default;
HIDE_ON_CLOSE: Automatically hide the frame after invoking any registered WindowListener objects.
DISPOSE_ON_CLOSE: Automatically hide and dispose the window after invoking any registered listener objects.
EXIT_ON_CLOSE: Exit the application using the System exit method.public void createWindow(int width, int height, java.lang.String title)
width
- the width of the program window in pixelsheight
- the height of the program window in pixelstitle
- the text to place in the window's title barpublic void createWindow(int width, int height)
width
- the width of the program window in pixelsheight
- the height of the program window in pixelspublic javax.swing.JFrame getWindow()
public void close()
public void setTitle(java.lang.String title)
title
- the title to be displayed in the window's border.
A null value is treated as an empty string, "".public java.lang.String getTitle()
public void setVisible(boolean state)
setVisible
in class javax.swing.JComponent
state
- Passing a value of true makes the window visible, false makes it
disappearpublic void setSize(int width, int height)
setSize
in class java.awt.Component
width
- - the new width of this window in pixelsheight
- - the new height of this window in pixelspublic java.awt.Dimension getSize()
getSize
in class java.awt.Component
public void setLocation(int x, int y)
setLocation
in class java.awt.Component
x
- the x-coordinate of the new location's top-left corner in the
parent's coordinate spacey
- the y-coordinate of the new location's top-left corner in the
parent's coordinate spacepublic java.awt.Point getLocation()
getLocation
in class java.awt.Component
public java.awt.Point getLocationOnScreen()
getLocationOnScreen
in class java.awt.Component
java.awt.IllegalComponentStateException
- - if the window is not showing on the screenpublic java.awt.Image getImage(java.lang.String name)
name
- the name of the image filepublic static java.lang.String getHostName()
public void buttonClicked(javax.swing.JButton button)
button
- the button that was clickedpublic void buttonClicked()
public void menuItemSelected(javax.swing.JComboBox menu)
menu
- the menu from which an item was selectedpublic void menuItemSelected()
public void sliderChanged(javax.swing.JSlider slider)
slider
- the slider whose setting was modifiedpublic void sliderChanged()
public void textEntered(javax.swing.JTextField field)
field
- the field in which the typing occurredpublic void textEntered()
public void focusGained(java.awt.Component which)
which
- The component that gained the focuspublic void focusGained()
public void focusLost(java.awt.Component which)
which
- The component that lost the focuspublic void focusLost()
public void caretRepositioned(javax.swing.JTextField which)
which
- The text field in which the cursor movedpublic void caretRepositioned(javax.swing.JTextArea which)
which
- The text area in which the cursor movedpublic void caretRepositioned()
public void windowClosing()
public void mousePressed(java.awt.Component which, int x, int y)
public void mousePressed(javax.swing.JLabel which, int x, int y)
public void mousePressed(javax.swing.JPanel which, int x, int y)
public void mousePressed(int x, int y)
public void mousePressed()
public void mouseReleased(java.awt.Component which, int x, int y)
public void mouseReleased(javax.swing.JLabel which, int x, int y)
public void mouseReleased(javax.swing.JPanel which, int x, int y)
public void mouseReleased(int x, int y)
public void mouseReleased()
public void mouseClicked(java.awt.Component which, int x, int y)
public void mouseClicked(javax.swing.JLabel which, int x, int y)
public void mouseClicked(javax.swing.JPanel which, int x, int y)
public void mouseClicked(int x, int y)
public void mouseClicked()
public void mouseEntered(java.awt.Component which, int x, int y)
public void mouseEntered(javax.swing.JLabel which, int x, int y)
public void mouseEntered(javax.swing.JPanel which, int x, int y)
public void mouseEntered(int x, int y)
public void mouseEntered()
public void mouseExited(java.awt.Component which, int x, int y)
public void mouseExited(javax.swing.JLabel which, int x, int y)
public void mouseExited(javax.swing.JPanel which, int x, int y)
public void mouseExited(int x, int y)
public void mouseExited()
public void mouseMoved(java.awt.Component which, int x, int y)
public void mouseMoved(javax.swing.JLabel which, int x, int y)
public void mouseMoved(javax.swing.JPanel which, int x, int y)
public void mouseMoved(int x, int y)
public void mouseMoved()
public void mouseDragged(java.awt.Component which, int x, int y)
public void mouseDragged(javax.swing.JLabel which, int x, int y)
public void mouseDragged(javax.swing.JPanel which, int x, int y)
public void mouseDragged(int x, int y)
public void mouseDragged()
public void connectionEstablished(TCPPort whichPort)
connectionEstablished
in interface ConnectionListener
whichPort
- the TCPPort to which a connection has been establishedpublic void connectionEstablished()
public void dataAvailable(TCPConnection which)
which
- the TCPConnection through which data was receivedpublic void dataAvailable(NetConnection which)
which
- the NetConnection through which data was receivedpublic void dataAvailable()
public void dataAvailable(java.lang.Object which)
dataAvailable
in interface TCPListener
which
- the TCP or Net connection through which data was receivedpublic void connectionClosed(TCPConnection which)
which
- the TCPConnection which has been terminatedpublic void connectionClosed(NetConnection which)
which
- the NetConnection which has been terminatedpublic void connectionClosed()
public void connectionClosed(java.lang.Object which)
connectionClosed
in interface TCPListener
which
- the NetConnection which has been terminated
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |