[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: added API comments in BasicTextUI
From: |
Roman Kennke |
Subject: |
[cp-patches] FYI: added API comments in BasicTextUI |
Date: |
Mon, 06 Jun 2005 12:13:21 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021204 |
2005-06-06 Roman Kennke <address@hidden>
* javax/swing/plaf/basic/BasicTextUI.java
(getKeymapName): Added API documentation comments.
/Roman
Index: javax/swing/plaf/basic/BasicTextUI.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/plaf/basic/BasicTextUI.java,v
retrieving revision 1.21
diff -u -r1.21 BasicTextUI.java
--- javax/swing/plaf/basic/BasicTextUI.java 6 Jun 2005 09:53:17 -0000
1.21
+++ javax/swing/plaf/basic/BasicTextUI.java 6 Jun 2005 09:57:02 -0000
@@ -352,6 +352,15 @@
doc.addDocumentListener(documentHandler);
}
+ /**
+ * Returns the name of the keymap for this type of TextUI.
+ *
+ * This is implemented so that the classname of this TextUI
+ * without the package prefix is returned. This way subclasses
+ * don't have to override this method.
+ *
+ * @return the name of the keymap for this TextUI
+ */
protected String getKeymapName()
{
String fullClassName = getClass().getName();
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] FYI: added API comments in BasicTextUI,
Roman Kennke <=