Class pvWinJ.PVEdit
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Canvas
|
+----pvWinJ.PVEdit
- public class PVEdit
- extends Canvas
- implements Runnable
Class PVEdit is designed to edit one line text string.
It supports insert and overwrite edit modes, autoscroll, left/center/right text alignment
and multiple painting styles.
All aspects of painting and edit mode behavior can be customized through
get/setProperty().
Besides default system fonts like Arial, Courier, etc., the PVEdit has two build in LED
fonts (thin and bold). The size of these fonts is adjusted automatically to fit in the
height of the window rectangle. To enable this LED painting style, the get/setFontStyle()
should be used.
Using the get/setOdometer() allows to create the cylinder appearance effect of the PVEdit
background.
PVEdit supports TextListener, FocusListener, KeyListener, MouseListener and
MouseMotionListener interfaces.
Example to insert an instance of the PVEdit class in an applet and set some properties:
public void init()
{
setSize(580, 650);
setLayout(null);
pvWinJ.PVEdit edit = new pvWinJ.PVEdit("PVEdit");
edit.setOdometer(pvWinJ.PVEdit.ODOMETER + 1);
edit.setBorder(pvWinJ.PVEdit.PICTURE + 256);
edit.setFontStyle(pvWinJ.PVEdit.LED_BOLD);
// edit.setFont(new Font("Courier", Font.BOLD | Font.ITALIC, 16));
edit.setBackColor(Color.lightGray);
edit.setAlignment(1);
edit.setText3D(new Dimension(-1, -1));
edit.setAlignment(2);
edit.setShadow(pvWinJ.PVEdit.RIGHT_BOTTOM);
edit.setShadowWidth(8);
add(edit);
edit.setBounds(5, 140, 260, 40);
...
}
Notes:
Use the get/setBackColor() to get/set background color rather than the get/setBackground()
methods.
When fontStyle is set to a LED.., then text is painted by the LED build in font rather
than the selected Font object.
When font with aureole is enabled, then the text 3D effect is disabled.
FORMATTED
- Constant to set text painting by selected font and with formatted spacing between
characters.
FORMATTED1
- Constant to set text painting by selected font and with formatted spacing between
characters and vertical lines.
INDENT
- Constant to set indent borders.
LED
- Constant to set text painting that resembles LED.
LED_BOLD
- Constant to set text painting that resembles LED with incresed thickness of segments.
LEFT_BOTTOM
- Constant to set shadow position to the left / bottom.
LEFT_TOP
- Constant to set shadow position to the left / top.
NONE
- Constant to set no border, or no shadow, or no odometer background.
ODOMETER
- Constant to set odometer background painting.
ODOMETER_DARK
- Constant to set dark odometer background painting.
ODOMETER_LIGHT
- Constant to set light odometer background painting.
OUTDENT
- Constant to set outdent borders.
PICTURE
- Constant to set picture borders.
PLANE
- Constant to set symmetric borders.
RAISED
- Constant to set raised borders.
REGULAR
- Constant to set text painting by selected font.
RIGHT_BOTTOM
- Constant to set shadow position to the right / bottom.
RIGHT_TOP
- Constant to set shadow position to the right / bottom.
SUNKEN
- Constant to set sunken borders.
PVEdit()
- Contsructor.
PVEdit(String)
- Constructor.
addFocusListener(FocusListener)
- Add focus listener to PVEdit.
addKeyListener(KeyListener)
- Add key listener to PVEdit.
addMouseListener(MouseListener)
- Add mouse listener to PVEdit.
addMouseMotionListener(MouseMotionListener)
- Add mouse motion listener to PVEdit.
addTextListener(TextListener)
- Add text listener to PVEdit.
checkFocus()
- Check owner of the input focus.
getAlignment()
- Get text alignment in window rectangle.
getAureole()
- Get an option to paint text with aureole.
getAutoResize()
- Get an option to autoadjust size of window rectangle.
getAutoScroll()
- Get an option for autoscroll.
getBackColor()
- Get background color of the client area.
getBorder()
- Get style of border painting.
getBorderColor()
- Get border color.
getCaretPos()
- Get current caret position.
getCase()
- Get the case of the text string.
getChangeEditMode()
- Get permission to change edit mode.
getClientRect()
- Get rectangle of client area.
getEditable()
- Text editing is enabled or disabled.
getFontStyle()
- Get style of text painting.
getHighlightColor()
- Get background color of the highlighted text.
getInsertEditMode()
- Get edit mode.
getNumeric()
- Get option to edit positive integers.
getOdometer()
- Get style of background painting.
getSelectedText()
- Get selected text string.
getSelection()
- Get start and end of the selected text.
getSelectionOnFocus()
- The option to set selection on gotFocus() event.
getShadow()
- Get shadow style.
getShadowColor()
- Get shadow color.
getShadowWidth()
- Get shadow width.
getText()
- Get current text string.
getText3D()
- Get text 3D effect.
getText3DColor()
- Get color of the text 3D (highlighted edges) effect or aureole.
removeFocusListener(FocusListener)
- Remove focus listener from PVEdit.
removeKeyListener(KeyListener)
- Remove key listener from PVEdit.
removeMouseListener(MouseListener)
- Remove mouse listener from PVEdit.
removeMouseMotionListener(MouseMotionListener)
- Remove mouse motion listener from PVEdit.
removeTextListener(TextListener)
- Remove text listener from PVEdit.
setAlignment(int)
- Set text alignment in the control window.
setAureole(boolean)
- Set an option to paint text with aureole.
setAutoResize(boolean)
- Set an option to autoadjust size of window rectangle on size change.
setAutoScroll(boolean)
- Set an option for autoscroll.
setBackColor(Color)
- Set background color of the client area.
setBorder(int)
- Set style of border painting.
setBorderColor(Color)
- Set border color.
setCaretPos(int)
- Set caret position.
setCase(int)
- Set the case of the text string.
setChangeEditMode(boolean)
- Set permission to change edit mode.
setEditable(boolean)
- Enable / disable text editing.
setFontStyle(int)
- Set style of text painting.
setHighlightColor(Color)
- Set the background color of the highlighted text.
setInsertEditMode(boolean)
- Set edit mode.
setNumeric(int)
- Convert PVEdit into editor of positive integers.
setOdometer(int)
- Set style of background painting.
setSelection(Dimension)
- Set text selection.
setSelectionOnFocus(boolean)
- The option to set selection on gotFocus() event.
setShadow(int)
- Set shadow style.
setShadowColor(Color)
- Set shadow color.
setShadowWidth(int)
- Set shadow width.
setText(String)
- Set current text string.
setText3D(Dimension)
- Set text 3D effect.
setText3DColor(Color)
- Set color of the text 3D (highlighted edges) effect, or aureole.
NONE
public static final int NONE
- Constant to set no border, or no shadow, or no odometer background.
Value is equal 0.
- See Also:
- setBorder, setShadow, setOdometer
PLANE
public static final int PLANE
- Constant to set symmetric borders.
Value is equal 1. It can be used with additional integer 1..9.
For example: PVEdit.PLANE + 4.
- See Also:
- setBorder
RAISED
public static final int RAISED
- Constant to set raised borders.
Value is equal 11. It can be used with additional integer 1..9.
For example: PVEdit.RAISED + 4.
- See Also:
- setBorder
SUNKEN
public static final int SUNKEN
- Constant to set sunken borders.
Value is equal 21. It can be used with additional integer 1..9.
For example: PVEdit.SUNKEN + 4.
- See Also:
- setBorder
OUTDENT
public static final int OUTDENT
- Constant to set outdent borders.
Value is equal 31. It can be used with additional integer 1..9.
For example: PVEdit.OUTDENT + 4.
- See Also:
- setBorder
INDENT
public static final int INDENT
- Constant to set indent borders.
Value is equal 41. It can be used with additional integer 1..9.
For example: PVEdit.INDENT + 4.
- See Also:
- setBorder
PICTURE
public static final int PICTURE
- Constant to set picture borders.
Value is equal 51. It can be used with additional integer 1..9.
For example: PVEdit.PICTURE + 4.
- See Also:
- setBorder
REGULAR
public static final int REGULAR
- Constant to set text painting by selected font.
Value is equal 0.
- See Also:
- setFontStyle
FORMATTED
public static final int FORMATTED
- Constant to set text painting by selected font and with formatted spacing between
characters.
Value is equal 1.
- See Also:
- setFontStyle
FORMATTED1
public static final int FORMATTED1
- Constant to set text painting by selected font and with formatted spacing between
characters and vertical lines. Value is equal 2.
- See Also:
- setFontStyle
LED
public static final int LED
- Constant to set text painting that resembles LED.
Value is equal 3.
- See Also:
- setFontStyle
LED_BOLD
public static final int LED_BOLD
- Constant to set text painting that resembles LED with incresed thickness of segments.
Value is equal 4.
- See Also:
- setFontStyle
ODOMETER
public static final int ODOMETER
- Constant to set odometer background painting.
Value is equal 4. It can be used with additional integer (1..2) to specify highlight
position: 0 - top, 1 - center, 2 - bottom.
For example: PVEdit.ODOMETER + 1.
- See Also:
- setOdometer
ODOMETER_LIGHT
public static final int ODOMETER_LIGHT
- Constant to set light odometer background painting.
Value is equal 1. It can be used with additional integer (1..2) to specify highlight
position: 0 - top, 1 - center, 2 - bottom.
For example: PVEdit.ODOMETER_LIGHT + 2.
- See Also:
- setOdometer
ODOMETER_DARK
public static final int ODOMETER_DARK
- Constant to set dark odometer background painting.
Value is equal 7. It can be used with additional integer (1..2) to specify highlight
position: 0 - top, 1 - center, 2 - bottom.
For example: PVEdit.ODOMETER_DARK + 2.
- See Also:
- setOdometer
RIGHT_BOTTOM
public static final int RIGHT_BOTTOM
- Constant to set shadow position to the right / bottom.
Value is equal 1.
- See Also:
- setShadow
LEFT_BOTTOM
public static final int LEFT_BOTTOM
- Constant to set shadow position to the left / bottom.
Value is equal 2.
- See Also:
- setShadow
LEFT_TOP
public static final int LEFT_TOP
- Constant to set shadow position to the left / top.
Value is equal 3.
- See Also:
- setShadow
RIGHT_TOP
public static final int RIGHT_TOP
- Constant to set shadow position to the right / bottom.
Value is equal 4.
- See Also:
- setShadow
PVEdit
public PVEdit(String text)
- Constructor.
- Parameters:
- text - the text string.
Other properties are set:
font - Arial, PLAIN, size 12;
fontStyle - 0(regular text);
border - 23(sunken);
odometer - 0(solid color);
insertEditMode - true;
changeEditMode - true;
editable - true;
selectionOnFocus - false;
alignment - 0(left justified);
autoScroll - true;
shadow - 0(no shadow);
shadowWidth - 5;
text3D horizontal - 0;
text3D vertical - 0;
case - 0;
numeric - 0;
foreground - black;
backColor - white;
borderColor - darker than the backColor;
highlightColor - dark blue;
shadowColor - darker than the background color;
text3DColor - green.
- See Also:
- setFontStyle, setOdometer, setBorder
PVEdit
public PVEdit()
- Contsructor.
It calls PVEdit("");
getText
public String getText()
- Get current text string.
- Returns:
- Text string.
- See Also:
- setText
setText
public synchronized void setText(String text)
- Set current text string.
- Parameters:
- text - new text string.
getInsertEditMode
public boolean getInsertEditMode()
- Get edit mode.
- Returns:
- An option.
- See Also:
- setInsertEditMode
setInsertEditMode
public void setInsertEditMode(boolean insert)
- Set edit mode.
- Parameters:
- insert - an option.
Value true - insert mode; false - overwrite mode.
Default value - true.
- See Also:
- getInsertEditMode
getChangeEditMode
public boolean getChangeEditMode()
- Get permission to change edit mode.
- Returns:
- An option.
- See Also:
- setChangeEditMode, getInsertEditMode
setChangeEditMode
public void setChangeEditMode(boolean allow)
- Set permission to change edit mode.
- Parameters:
- allow - an option.
Value true - allow to change edit mode (Insert key), false - do not allow to change edit
mode.
Default value - true.
- See Also:
- getChangeEditMode
getAutoResize
public boolean getAutoResize()
- Get an option to autoadjust size of window rectangle.
- Returns:
- An option.
- See Also:
- setAutoResize
setAutoResize
public void setAutoResize(boolean autoResize)
- Set an option to autoadjust size of window rectangle on size change.
- Parameters:
- autoResize - an option.
Value true - autoResize on; false - no autoResize.
Default value - false.
Autoresize can be useful when formatted font style is used,- to fit character boxes in the
width of window rectangle.
- See Also:
- getAutoResize, setFontStyle
getAutoScroll
public boolean getAutoScroll()
- Get an option for autoscroll.
- Returns:
- An option.
- See Also:
- setAutoScroll
setAutoScroll
public void setAutoScroll(boolean autoScroll)
- Set an option for autoscroll.
- Parameters:
- autoScroll - an option.
Value true - enable autoscroll, false - disable autoscroll.
Default value - true.
- See Also:
- getAutoScroll
getSelectionOnFocus
public boolean getSelectionOnFocus()
- The option to set selection on gotFocus() event.
- Returns:
- An option.
- See Also:
- setSelectionOnFocus, setSelection
setSelectionOnFocus
public void setSelectionOnFocus(boolean selectAll)
- The option to set selection on gotFocus() event.
- Parameters:
- selectAll - an option.
Value true - whole text is selected on gotFocus(), false - no selection.
Default value - false.
- See Also:
- setSelectionOnFocus, setSelection
getEditable
public boolean getEditable()
- Text editing is enabled or disabled.
- Returns:
- An option.
- See Also:
- setEditable
setEditable
public void setEditable(boolean editable)
- Enables / disables text editing.
- Parameters:
- editable - an option.
Value true - text is editable, false - text is not editable.
Default value - true.
- See Also:
- getEditable
getFontStyle
public int getFontStyle()
- Get style of text painting.
- Returns:
- Font style.
- See Also:
- setFontStyle
setFontStyle
public void setFontStyle(int style)
- Set style of text painting.
- Parameters:
- style - new style of text painting.
Range of values: 0..4.
- See Also:
- REGULAR, FORMATTED, FORMATTED1, LED, LED_BOLD,
getFontStyle
getAureole
public boolean getAureole()
- Get an option to paint text with aureole.
- Returns:
- An option.
- See Also:
- setAureole, getFontStyle
setAureole
public void setAureole(boolean aureole)
- Set an option to paint text with aureole.
- Parameters:
- aureole - an option.
Value true - paints aureole around every character, horizontal and vertical text 3D
effects are disabled. Value false - text painting with text 3D effect if any.
Default value - false.
Note: formatted text painting styles (getFontStyle = 1 or 2) do not support aureole.
- See Also:
- getAureole, getFontStyle, setText3DColor, setText3D
getOdometer
public int getOdometer()
- Get style of background painting.
- Returns:
- Style of background painting.
- See Also:
- setOdometer
setOdometer
public void setOdometer(int style)
- Set style of background painting.
- Parameters:
- style - new style of background painting.
Default value is set to 0.
Range of values: 0..9.
0 - no odometer shadows, background is painted by solid selected background color, all
other values define odometer style painting.
The color of the odometer is based on the selected background color and "dark
shadows" are shifted to the black color. Painting can be performed with different
levels of shadow deph and position.
Example:
// draw dark odometer with highlighted area at the center
pvEdit1.setOdometer(PVEdit.ODOMETER_DARK + 1);
- See Also:
- NONE, ODOMETER, ODOMETER_LIGHT,
ODOMETER_DARK, getOdometer, setBackColor
getBorder
public int getBorder()
- Get style of border painting.
- Returns:
- Border style.
- See Also:
- setBorder
setBorder
public void setBorder(int style)
- Set style of border painting.
- Parameters:
- style - new border style.
It combines actual border style and thickness factor, which allows to increase width of
selected border style.
Lower byte (0x00XX) defines border style (range: 0..60).
This styles can be subdivided on 7 main groups:
0, 1..10, 11..20, ...51..60. There are seven constants for each group.
Style can be built using these constants and additional integer (1..9).
Second byte (0x0X00) defines thicknes factor (range: 0..7). Value "0" means
regular style defined by the first byte. Values 1..7 will increase thickness in 2..8
times.
Examples:
// this will draw the first type of the border from the PICTURE group.
pvEdit1.setBorder(PVEdit.PICTURE); // or "51"
// this will draw the 8th type of border from the PLANE group with triple thickness.
pvEdit1.setBorder((PVEdit.PLANE + 8) | 0x200); // or "0x209"
Default value is set to 23 (PVEdit.SUNKEN + 2).
- See Also:
- NONE, PLANE, RAISED, SUNKEN, INDENT, OUTDENT, PICTURE, getBorder
getShadow
public int getShadow()
- Get shadow style.
- Returns:
- Shadow style.
- See Also:
- setShadow
setShadow
public void setShadow(int style)
- Set shadow style.
- Parameters:
- style - new shadow style.
- See Also:
- NONE, RIGHT_BOTTOM, LEFT_BOTTOM, RIGHT_TOP, LEFT_TOP, getShadow
getShadowWidth
public int getShadowWidth()
- Get shadow width.
- Returns:
- Shadow width in pixels.
- See Also:
- setShadowWidth
setShadowWidth
public void setShadowWidth(int width)
- Set shadow width.
- Parameters:
- width - new shadow width in pixels.
Range: 0..20.
Default value is set to 5 (pixels).
Note: to paint the shadow, the getShadow() should not be equal 0.
- See Also:
- getShadowWidth
getAlignment
public int getAlignment()
- Get text alignment in the control window.
- Returns:
- Horizontal text alignment in control window.
- See Also:
- setAlignment
setAlignment
public void setAlignment(int alignment)
- Set text alignment in the control window.
- Parameters:
- alignment - horizontal text alignment.
0 - left justified,
1 - center justified,
2 - right justified.
Default value is set to 0 - left justified.
- See Also:
- getAlignment
setCase
public void setCase(int stringCase)
- Set the case of the text string.
- Parameters:
- stringCase - an option.
Possible values:
0 - text string is not modified.
1 - text string is converted to the upper case.
2 - text string is converted to the lower case.
Default value is set to 0.
- See Also:
- getCase
getCase
public int getCase()
- Get the case of the text string.
- Returns:
- An option.
- See Also:
- setCase
getCaretPos
public int getCaretPos()
- Get current caret position.
- Returns:
- Current caret position.
- See Also:
- setCaretPos
setCaretPos
public void setCaretPos(int caretPosition)
- Set caret position.
- Parameters:
- caretPosition - caret position in text.
Possible values: 0 - first character position in the text string, maximum value - the
length of the text.
- See Also:
- getCaretPos
getText3D
public Dimension getText3D()
- Get text 3D effect.
- Returns:
- Horizontal and vertical text 3D effect.
- See Also:
- setText3D
setText3D
public void setText3D(Dimension text3D)
- Set text 3D effect.
If the aureole is enabled, then this text3D effect is disabled.
- Parameters:
- text3D.width - horizontal shift of the text 3D from the main text in pixels.
text3D.height - vertical shift of the text 3D from the main text in pixels.
Range of shifts is -4..4 pixels.
Default value is set to the (0, 0).
Example:
pvEdit1.setText3D(new Dimension(-1, -1));
- See Also:
- getText3D, setText3DColor, setAureole, setFontStyle
getBackColor
public Color getBackColor()
- Get background color of the client area.
- Returns:
- Color.
- See Also:
- setBackColor
setBackColor
public void setBackColor(Color color)
- Set background color of the client area.
- Parameters:
- color - color of the client area.
If it is set to the "null", then the color that is lighter than the background
color is used.
Default value is set to the white color.
- See Also:
- getBackColor, setShadow
getHighlightColor
public Color getHighlightColor()
- Get background color of the highlighted text.
- Returns:
- Color.
- See Also:
- setHighlightColor
setHighlightColor
public void setHighlightColor(Color color)
- Set the background color of the highlighted text.
- Parameters:
- color - background of the highlighted text.
If it is set to the "null", then the foreground color is used.
Default value is set to the dark blue color (rgb=0xff000080).
- See Also:
- getHighlightColor
getBorderColor
public Color getBorderColor()
- Get border color.
- Returns:
- Color.
- See Also:
- setBorderColor
setBorderColor
public void setBorderColor(Color color)
- Set border color.
- Parameters:
- color - new border color.
If it is set to the "null", then the color that is darker than the backColor is
used.
Default value is set to the color that is darker than the backColor (null).
- See Also:
- getBorderColor, setBackColor
getText3DColor
public Color getText3DColor()
- Get color of the text 3D (highlighted edges) effect or aureole.
- Returns:
- Color.
- See Also:
- setText3DColor
setText3DColor
public void setText3DColor(Color color)
- Set color of the text 3D (highlighted edges) effect, or aureole.
- Parameters:
- color - color of the text 3D.
If it is set to the "null", then the color that is darker than the backColor is
used.
Default value is set to the green color.
- See Also:
- getText3DColor
getShadowColor
public Color getShadowColor()
- Get shadow color.
- Returns:
- Color.
- See Also:
- setShadowColor
setShadowColor
public void setShadowColor(Color color)
- Set shadow color.
- Parameters:
- color - color of the window's shadow.
If it is set to the "null", then the color that is darker than the background
color is used.
Default value is set to the color darker than the background color (null).
- See Also:
- getShadowColor
getSelectedText
public String getSelectedText()
- Get selected text string.
- Returns:
- Selected text.
- See Also:
- getText, getSelection
getSelection
public Dimension getSelection()
- Get start and end of the selected text.
- Returns:
- The beginning and the end of the text selection in terms of character count starting
from the beginning of the text string.
ReturnValue.width - start selection, ReturnValue.height - end selection.
- See Also:
- setSelection, getSelectedText
setSelection
public void setSelection(Dimension selection)
- Set text selection.
- Parameters:
- selection.width defines the start of selection;
selection.height - the end of selection.
- See Also:
- getSelection, getSelectedText
getClientRect
public Rectangle getClientRect()
- Get rectangle of client area.
- Returns:
- Client rectangle area without border and shadow.
setNumeric
public void setNumeric(int maxValue)
- Convert PVEdit into editor of a string that represents a positive integer.
Notes:
It also sets edit mode to insert, autoScroll to false, selectionOnFocus to true,
changeEditMode to false.
Though this method is designed for internal purposes and has some restrictions it can be
used (with caution).
Don't use it for any derived class, only for the PVEdit.
Don't change edit mode,
Don't setText that is not positive integer or larger than maxValue.
- Parameters:
- maxValue - maximum value of integer.
To disable that behavior set the maxValue to 0.
- See Also:
- getNumeric
getNumeric
public int getNumeric()
- Get an option to edit a string that represents a positive integer.
- Returns:
- Maximum value of integer.
- See Also:
- setNumeric
checkFocus
public int checkFocus()
- Check owner of the input focus.
- Returns:
- State of focus.
0 - no focus.
1 - focus is just received (0..200 ms).
2 - focus is on (longer than 200 ms).
addFocusListener
public synchronized void addFocusListener(FocusListener fl)
- Overrides:
- addFocusListener in class Component
removeFocusListener
public synchronized void removeFocusListener(FocusListener fl)
- Overrides:
- removeFocusListener in class Component
addMouseListener
public synchronized void addMouseListener(MouseListener ml)
- Example how to use the MouseListener with an instance of the PVEdit:
- pvedit1.addMouseListener(new MouseListener()
{
public void
mouseExited(MouseEvent e)
{
System.err.println("exit");}
public void
mouseEntered(MouseEvent e)
{
System.err.println("enter");}
public void
mouseClicked(MouseEvent e)
{
System.err.println("click");}
public void
mousePressed(MouseEvent e)
{
System.err.println("press");}
public void
mouseReleased(MouseEvent e)
{
System.err.println("release");}
});
- Overrides:
- addMouseListener in class Component
removeMouseListener
public synchronized void removeMouseListener(MouseListener ml)
- Overrides:
- removeMouseListener in class Component
addKeyListener
public synchronized void addKeyListener(KeyListener kl)
- Overrides:
- addKeyListener in class Component
removeKeyListener
public synchronized void removeKeyListener(KeyListener kl)
- Overrides:
- removeKeyListener in class Component
addTextListener
public synchronized void addTextListener(TextListener tl)
removeTextListener
public synchronized void removeTextListener(TextListener tl)
addMouseMotionListener
public synchronized void addMouseMotionListener(MouseMotionListener ml)
- Example how to use the MouseMotionListener with an instance of the PVEdit:
- pvedit1.addMouseListener(new MouseListener()
{
public void
mouseMoved(MouseEvent e)
{
System.err.println("move");}
public void
mouseDragged(MouseEvent e)
{
System.err.println("drag");}
});
- Overrides:
- addMouseMotionListener in class Component
removeMouseMotionListener
public synchronized void removeMouseMotionListener(MouseMotionListener ml)
- Overrides:
- removeMouseMotionListener in class Component