+2003-02-13 Michael Koch <konqueror@gmx.de>
+
+ * java/awt/Label.java
+ (Label): Don't implement Serializable directly.
+ (addNotify): Fixed typo in documentation.
+ * java/awt/List.java
+ (List): Don't implement Serializable directly.
+ * java/awt/PopupMenu.java
+ (PopupMenu): Don't implement Serializable directly.
+ * java/awt/ScrollPane.java
+ (ScrollPane): Don't implement Serializable directly.
+ * java/awt/Scrollbar.java
+ (Scrollbar): Don't implement Serializable directly.
+ * java/awt/TextArea.java
+ (preferredSize): Fixed method arguments.
+ * java/awt/TextField.java
+ (TextField): Don't implement Serializable directly.
+ * java/awt/color/ICC_ColorSpace.java
+ (fromCIOXYZ): Documentation added.
+ (getMinValue): Documentation added.
+ (getMaxValue): Documentation added.
+ * java/awt/datatransfer/DataFlavor.java
+ (isMimeTypeEqual): May not be final.
+ (clone): Throws CloneNotSupportedException.
+ (getReaderForText): Don't throws UnsupportedEncodingException.
+
2003-02-13 Michael Koch <konqueror@gmx.de>
* gnu/java/awt/peer/gtk/GdkGraphics.java
import java.awt.peer.LabelPeer;
import java.awt.peer.ComponentPeer;
-import java.io.Serializable;
import javax.accessibility.Accessible;
/**
* @author Aaron M. Renn (arenn@urbanophile.com)
* @author Tom Tromey <tromey@cygnus.com>
*/
-public class Label extends Component implements Serializable, Accessible
+public class Label extends Component implements Accessible
{
/*
/*************************************************************************/
/**
- * Notifies this lable that it has been added to a container, causing
+ * Notifies this label that it has been added to a container, causing
* the peer to be created. This method is called internally by the AWT
* system.
*/
* @author Aaron M. Renn (arenn@urbanophile.com)
*/
public class List extends Component
- implements ItemSelectable, Serializable, Accessible
+ implements ItemSelectable, Accessible
{
/*
*
* @author Aaron M. Renn (arenn@urbanophile.com)
*/
-public class PopupMenu extends Menu implements java.io.Serializable
+public class PopupMenu extends Menu
{
/*
import java.awt.peer.ScrollPanePeer;
import java.awt.peer.ContainerPeer;
import java.awt.peer.ComponentPeer;
-import java.io.Serializable;
import javax.accessibility.Accessible;
/**
*
* @author Aaron M. Renn (arenn@urbanophile.com)
*/
-public class ScrollPane extends Container implements Accessible, Serializable
+public class ScrollPane extends Container implements Accessible
{
/*
import java.awt.peer.ComponentPeer;
import java.awt.event.AdjustmentListener;
import java.awt.event.AdjustmentEvent;
-import java.io.Serializable;
import javax.accessibility.Accessible;
/**
* @author Tom Tromey <tromey@cygnus.com>
*/
public class Scrollbar extends Component implements Accessible,
- Adjustable,
- Serializable
+ Adjustable
{
// FIXME: Serialization readObject/writeObject
* <code>getPreferredSize(int)</code>.
*/
public Dimension
-preferredSize(int columns)
+preferredSize(int rows, int columns)
{
return(getPreferredSize(rows, columns));
}
*
* @author Aaron M. Renn (arenn@urbanophile.com)
*/
-public class TextField extends TextComponent implements java.io.Serializable
+public class TextField extends TextComponent
{
/*
throw new UnsupportedOperationException();
}
+ /**
+ * Transforms a color value assumed to be in the CS_CIEXYZ conversion color
+ * space into this ColorSpace.
+ *
+ * @exception ArrayIndexOutOfBoundsException If array length is not at
+ * least 3.
+ */
public float[] fromCIEXYZ(float[] colorvalue)
{
// FIXME: Not implemented
}
/**
+ * Returns the minimum normalized color component value for the specified
+ * component.
+ *
+ * @exception IllegalArgumentException If component is less than 0 or greater
+ * than numComponents - 1.
+ *
* @since 1.4
*/
public float getMinValue(int idx)
}
/**
+ * Returns the maximum normalized color component value for the specified
+ * component.
+ *
+ * @exception IllegalArgumentException If component is less than 0 or greater
+ * than numComponents - 1.
+ *
* @since 1.4
*/
public float getMaxValue(int idx)
*
* @exception NullPointerException If mimeType is null.
*/
-public final boolean
+public boolean
isMimeTypeEqual(String mimeType)
{
// FIXME: Need to handle default attributes and parameters
* the Cloneable interface. Subclasses that override the clone method can also
* throw this exception to indicate that an instance cannot be cloned.
*/
-public Object
-clone()
+public Object clone () throws CloneNotSupportedException
{
try
{
* @exception UnsupportedEncodingException if the "charset" isn't supported
* on this platform.
*/
-public Reader
-getReaderForText(Transferable transferable) throws UnsupportedFlavorException,
- IOException,
- UnsupportedEncodingException
+public Reader getReaderForText(Transferable transferable)
+ throws UnsupportedFlavorException, IOException
{
if (!transferable.isDataFlavorSupported(this))
throw new UnsupportedFlavorException(this);