From: <ls...@us...> - 2007-08-27 17:41:11
|
Revision: 3415 http://jnode.svn.sourceforge.net/jnode/?rev=3415&view=rev Author: lsantha Date: 2007-08-25 12:27:54 -0700 (Sat, 25 Aug 2007) Log Message: ----------- Openjdk integration. Modified Paths: -------------- trunk/core/src/classpath/java/java/awt/Component.java trunk/core/src/classpath/java/java/awt/peer/ComponentPeer.java trunk/core/src/classpath/java/java/awt/peer/FramePeer.java Modified: trunk/core/src/classpath/java/java/awt/Component.java =================================================================== --- trunk/core/src/classpath/java/java/awt/Component.java 2007-08-25 19:26:55 UTC (rev 3414) +++ trunk/core/src/classpath/java/java/awt/Component.java 2007-08-25 19:27:54 UTC (rev 3415) @@ -4173,7 +4173,7 @@ */ public boolean isFocusTraversable() { - return enabled && visible && (peer == null || isLightweight() || peer.isFocusTraversable()); + return enabled && visible && (peer == null || isLightweight() || peer.isFocusable()); } /** Modified: trunk/core/src/classpath/java/java/awt/peer/ComponentPeer.java =================================================================== --- trunk/core/src/classpath/java/java/awt/peer/ComponentPeer.java 2007-08-25 19:26:55 UTC (rev 3414) +++ trunk/core/src/classpath/java/java/awt/peer/ComponentPeer.java 2007-08-25 19:27:54 UTC (rev 3415) @@ -64,6 +64,15 @@ */ public interface ComponentPeer { + //jnode openjdk + public static final int SET_LOCATION = 1, + SET_SIZE = 2, + SET_BOUNDS = 3, + SET_CLIENT_SIZE = 4, + RESET_OPERATION = 5, + NO_EMBEDDED_CHECK = (1 << 14), + DEFAULT_OPERATION = SET_BOUNDS; + /** * Returns the construction status of the specified image. This is called * by {@link Component#checkImage(Image, int, int, ImageObserver)}. @@ -200,14 +209,6 @@ /** * Returns <code>true</code> if the component can receive keyboard input - * focus. This is called from {@link Component#isFocusTraversable()}. - * - * @specnote Part of the earlier 1.1 API, replaced by isFocusable(). - */ - boolean isFocusTraversable(); - - /** - * Returns <code>true</code> if the component can receive keyboard input * focus. This is called from {@link Component#isFocusable()}. */ boolean isFocusable(); Modified: trunk/core/src/classpath/java/java/awt/peer/FramePeer.java =================================================================== --- trunk/core/src/classpath/java/java/awt/peer/FramePeer.java 2007-08-25 19:26:55 UTC (rev 3414) +++ trunk/core/src/classpath/java/java/awt/peer/FramePeer.java 2007-08-25 19:27:54 UTC (rev 3415) @@ -71,5 +71,7 @@ * @since 1.5 */ void setBoundsPrivate(int x, int y, int width, int height); + //jnode openjdk + Rectangle getBoundsPrivate(); } // interface FramePeer This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |