This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[GUI] Patch: javax.swing.text.Style


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi list,


I just commited the attached patch to add javadocs to 
javax.swing.text.Style.


Michael


2004-06-10  Michael Koch  <konqueror@gmx.de>

	* javax/swing/text/Style.java: Added javadocs.

- -- 
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAyBTHWSOgCCdjSDsRAp40AJ47Hd55WvVCgwKr0/qAuNya889h8gCfSKU9
ax0NKTNL/TD7NzSdEjH9L+Y=
=Jryf
-----END PGP SIGNATURE-----
Index: javax/swing/text/Style.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/swing/text/Style.java,v
retrieving revision 1.2
diff -u -b -B -r1.2 Style.java
--- javax/swing/text/Style.java	10 Jan 2004 21:07:44 -0000	1.2
+++ javax/swing/text/Style.java	10 Jun 2004 07:49:49 -0000
@@ -39,9 +39,26 @@
 
 import javax.swing.event.ChangeListener;
 
-public interface Style
+public interface Style extends MutableAttributeSet
 {
-    void addChangeListener(ChangeListener l);
+  /**
+   * Returns the name of the style.
+   *
+   * @return the name
+   */
     String getName();
-    void removeChangeListener(ChangeListener l);
+
+  /**
+   * Adds a <code>ChangeListener</code> object to the style.
+   *
+   * @param listener the listener object to add
+   */
+  void addChangeListener(ChangeListener listener);
+
+  /**
+   * Removes a <code>ChangeListener</code> from to the style.
+   *
+   * @param listener the listener object to remove,
+   */
+  void removeChangeListener(ChangeListener listener);
 }

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]