I improved the API docs for JTabbedPane a little.
2006-01-10 Roman Kennke <[EMAIL PROTECTED]>
* javax/swing/JTabbedPane.java:
Cleared API docs a little.
/Roman
Index: javax/swing/JTabbedPane.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/JTabbedPane.java,v
retrieving revision 1.26
diff -u -r1.26 JTabbedPane.java
--- javax/swing/JTabbedPane.java 18 Nov 2005 21:42:48 -0000 1.26
+++ javax/swing/JTabbedPane.java 10 Jan 2006 12:59:47 -0000
@@ -497,7 +497,7 @@
*/
public int getMnemonic()
{
- return (int) mnemonicKey;
+ return mnemonicKey;
}
/**
@@ -592,9 +592,11 @@
/**
* Creates a new JTabbedPane object using wrap tab layout and the given
- * tabPlacement.
+ * <code>tabPlacement</code>, where <code>tabPlacement</code> can be one
+ * of the following values: [EMAIL PROTECTED] #TOP}, [EMAIL PROTECTED] #BOTTOM}, [EMAIL PROTECTED] #LEFT} or
+ * [EMAIL PROTECTED] #RIGHT}.
*
- * @param tabPlacement Where the tabs will be placed.
+ * @param tabPlacement where the tabs will be placed
*/
public JTabbedPane(int tabPlacement)
{
@@ -602,11 +604,14 @@
}
/**
- * Creates a new JTabbedPane object with the given tabPlacement and
- * tabLayoutPolicy.
+ * Creates a new JTabbedPane object with the given <code>tabPlacement</code>
+ * and <code>tabLayoutPolicy</code>. The <code>tabPlacement</code> can be one
+ * of the following values: [EMAIL PROTECTED] #TOP}, [EMAIL PROTECTED] #BOTTOM}, [EMAIL PROTECTED] #LEFT} or
+ * [EMAIL PROTECTED] #RIGHT}. The <code>tabLayoutPolicy</code> can be either
+ * [EMAIL PROTECTED] #SCROLL_TAB_LAYOUT} or [EMAIL PROTECTED] #WRAP_TAB_LAYOUT}.
*
- * @param tabPlacement Where the tabs will be placed.
- * @param tabLayoutPolicy The way tabs will be placed.
+ * @param tabPlacement where the tabs will be placed
+ * @param tabLayoutPolicy the way tabs will be placed
*
* @throws IllegalArgumentException If tabLayoutPolicy or tabPlacement are
* not valid.
_______________________________________________
Classpath-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath-patches