Makefile.in: Rebuilt.
* Makefile.in: Rebuilt. * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi. * java/awt/AlphaComposite.java, java/awt/BasicStroke.java, java/awt/BufferCapabilities.java, java/awt/Button.java, java/awt/CheckboxMenuItem.java, java/awt/Choice.java, java/awt/Container.java, java/awt/Cursor.java, java/awt/EventQueue.java, java/awt/FileDialog.java, java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java, java/awt/MenuBar.java, java/awt/MenuComponent.java, java/awt/PopupMenu.java, java/awt/ScrollPane.java, java/awt/Scrollbar.java, java/awt/TextArea.java, java/awt/TextField.java, java/awt/color/CMMException.java, java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java, java/awt/color/ProfileDataException.java, java/awt/datatransfer/Clipboard.java, java/awt/datatransfer/DataFlavor.java, java/awt/datatransfer/FlavorMap.java, java/awt/datatransfer/SystemFlavorMap.java, java/awt/dnd/DragGestureEvent.java, java/awt/dnd/DragGestureRecognizer.java, java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java, java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java, java/awt/im/InputMethodHighlight.java, java/io/PipedOutputStream.java, java/io/PipedWriter.java, java/rmi/server/RMIClassLoader.java: Merged from Classpath. * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of `op' to BufferedImageOp. From-SVN: r60768
This commit is contained in:
parent
3c32ae1c35
commit
62d2eed656
43 changed files with 896 additions and 404 deletions
|
@ -133,11 +133,14 @@ public class Cursor implements java.io.Serializable
|
|||
* type.
|
||||
*
|
||||
* @param type The cursor type.
|
||||
*
|
||||
* @exception IllegalArgumentException If the specified cursor type is invalid
|
||||
*/
|
||||
public Cursor(int type)
|
||||
{
|
||||
if (type < 0 || type >= PREDEFINED_COUNT)
|
||||
throw new IllegalArgumentException ("invalid cursor " + type);
|
||||
|
||||
this.type = type;
|
||||
// FIXME: lookup and set name?
|
||||
}
|
||||
|
@ -171,9 +174,20 @@ public class Cursor implements java.io.Serializable
|
|||
return predefined[type];
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieves the system specific custom Cursor named Cursor names are,
|
||||
* for example: "Invalid.16x16".
|
||||
*
|
||||
* @exception AWTException
|
||||
* @exception HeadlessException If GraphicsEnvironment.isHeadless()
|
||||
* returns true.
|
||||
*/
|
||||
public static Cursor getSystemCustomCursor(String name)
|
||||
throws AWTException
|
||||
{
|
||||
if (GraphicsEnvironment.isHeadless())
|
||||
throw new HeadlessException ();
|
||||
|
||||
// FIXME
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue