[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: Add missing Font fields
From: |
Thomas Fitzsimmons |
Subject: |
[cp-patches] FYI: Add missing Font fields |
Date: |
Tue, 02 Nov 2004 12:27:30 -0500 |
Hi,
I committed this to CVS HEAD.
Tom
2004-11-02 Thomas Fitzsimmons <address@hidden>
* java/awt/Font.java (name): New field.
(size): Likewise.
(style): Likewise.
Index: java/awt/Font.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/awt/Font.java,v
retrieving revision 1.16.8.7
diff -u -r1.16.8.7 Font.java
--- java/awt/Font.java 22 Oct 2004 09:35:57 -0000 1.16.8.7
+++ java/awt/Font.java 2 Nov 2004 17:19:43 -0000
@@ -161,6 +161,26 @@
*/
public static final int LAYOUT_NO_LIMIT_CONTEXT = 4;
+ /**
+ * The logical name of this font.
+ *
+ * @since 1.0
+ */
+ protected String name;
+
+ /**
+ * The size of this font in pixels.
+ *
+ * @since 1.0
+ */
+ protected int size;
+
+ /**
+ * The style of this font -- PLAIN, BOLD, ITALIC or BOLD+ITALIC.
+ *
+ * @since 1.0
+ */
+ protected int style;
// Serialization constant
private static final long serialVersionUID = -4206021311591459213L;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] FYI: Add missing Font fields,
Thomas Fitzsimmons <=