2005-06-08 Roman Kennke <[EMAIL PROTECTED]>
* javax/swing/text/DefaultEditorKit.java:
Added some API documentation.
/Roman
Index: javax/swing/text/DefaultEditorKit.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/text/DefaultEditorKit.java,v
retrieving revision 1.15
diff -u -r1.15 DefaultEditorKit.java
--- javax/swing/text/DefaultEditorKit.java 8 Jun 2005 10:00:04 -0000
1.15
+++ javax/swing/text/DefaultEditorKit.java 8 Jun 2005 10:06:44 -0000
@@ -92,6 +92,16 @@
}
}
+ /**
+ * This action is executed as default action when a KEY_TYPED
+ * event is received and no keymap entry exists for that. The purpose
+ * of this action is to filter out a couple of characters. This includes
+ * the control characters and characters with the ALT-modifier.
+ *
+ * If an event does not get filtered, it is inserted into the document
+ * of the text component. If there is some text selected in the text
component,
+ * this text will be replaced.
+ */
public static class DefaultKeyTypedAction
extends TextAction
{
@@ -126,6 +136,11 @@
}
}
+ /**
+ * This action inserts a newline character into the document
+ * of the text component. This is typically triggered by hitting
+ * ENTER on the keyboard.
+ */
public static class InsertBreakAction
extends TextAction
{
_______________________________________________
Classpath-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath-patches