+2003-03-02 Michael Koch <konqueror@gmx.de>
+
+ * java/awt/List.java
+ (setMultipleSelections): Deprecated.
+ (delItem): Deprecated.
+ * java/awt/MenuComponent.java
+ (getPeer): Deprecated.
+ * java/awt/ScrollPane.java
+ (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
+ * java/awt/dnd/MouseDragGestureRecognizer.java
+ (mouseClicked): Added comment.
+ (mousePressed): Added comment.
+ (mouseReleased): Added comment.
+ (mouseEntered): Added comment.
+ (mouseExited): Added comment.
+ (mouseDragged): Added comment.
+ (mouseMoved): Added comment.
+ * java/awt/event/KeyEvent.java
+ (KeyEvent): Deprecated.
+ (setModifiers): Deprecated.
+
2003-03-02 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/FileChannelImpl.java
*
* @param multipleMode <code>true</code> to enable multiple mode,
* <code>false</code> otherwise.
+ *
+ * @deprecated
*/
public void
setMultipleSelections(boolean multipleMode)
* @param index The index of the item to delete.
*
* @exception IllegalArgumentException If the index is not valid
+ *
+ * @deprecated
*/
public void
delItem(int index) throws IllegalArgumentException
* Returns the native windowing system peer for this component.
*
* @return The peer for this component.
+ *
+ * @deprecated
*/
public MenuComponentPeer
getPeer()
public void
addNotify()
{
- if (getPeer() == null)
+ if (!isDisplayable ())
return;
setPeer((ComponentPeer)getToolkit().createScrollPane(this));
public void mouseClicked (MouseEvent e)
{
- // FIXME: implement this
+ // Do nothing in here by default.
}
public void mousePressed (MouseEvent e)
{
- // FIXME: implement this
+ // Do nothing in here by default.
}
public void mouseReleased (MouseEvent e)
{
- // FIXME: implement this
+ // Do nothing in here by default.
}
public void mouseEntered (MouseEvent e)
{
- // FIXME: implement this
+ // Do nothing in here by default.
}
public void mouseExited (MouseEvent e)
{
- // FIXME: implement this
+ // Do nothing in here by default.
}
public void mouseDragged (MouseEvent e)
{
- // FIXME: implement this
+ // Do nothing in here by default.
}
public void mouseMoved (MouseEvent e)
{
- // FIXME: implement this
+ // Do nothing in here by default.
}
} // class MouseDragGestureRecognizer
* @param keyCode the integer constant for the virtual key type
* @throws IllegalArgumentException if source is null, or if
* id == KEY_TYPED but keyCode != VK_UNDEFINED
+ *
+ * @deprecated
*/
public KeyEvent(Component source, int id, long when, int modifiers,
int keyCode)
*
* @param modifiers the new modifier value, in either old or new style
* @see InputEvent
+ *
+ * @deprecated
*/
public void setModifiers(int modifiers)
{