• R/O
  • SSH
  • HTTPS

sweep: Commit


Commit MetaInfo

Revision52 (tree)
Zeit2022-08-13 17:43:25
Autoriwao

Log Message

javadoc修正
ただし ListModelEvent.java:137 については、バグと思われるのでコードの変数名側を修正

Ändern Zusammenfassung

Diff

--- branches/client/kfc/src/main/java/jp/kyasu/awt/event/ListModelEvent.java (revision 51)
+++ branches/client/kfc/src/main/java/jp/kyasu/awt/event/ListModelEvent.java (revision 52)
@@ -134,7 +134,7 @@
134134 * @exception IllegalArgumentException if the id is not
135135 * LIST_MODEL_REPLACED.
136136 */
137- public ListModelEvent(ListModel model, int id, int begin, int end,
137+ public ListModelEvent(ListModel model, int id, int replaceBegin, int replaceEnd,
138138 int itemCountChanged)
139139 {
140140 super(model);
--- branches/client/kfc/src/main/java/jp/kyasu/awt/event/ScrollEvent.java (revision 51)
+++ branches/client/kfc/src/main/java/jp/kyasu/awt/event/ScrollEvent.java (revision 52)
@@ -82,7 +82,7 @@
8282 *
8383 * @param source the Scrollable object where the event originated.
8484 * @param id the event type.
85- * @param orientaion the orientation type.
85+ * @param orientation the orientation type.
8686 */
8787 public ScrollEvent(Scrollable source, int id, int orientation) {
8888 super(source, id);
--- branches/client/kfc/src/main/java/jp/kyasu/awt/text/TextView.java (revision 51)
+++ branches/client/kfc/src/main/java/jp/kyasu/awt/text/TextView.java (revision 52)
@@ -392,10 +392,10 @@
392392 /**
393393 * Moves and resizes this view.
394394 *
395- * @param <code>x</code> The new <i>x</i>-coordinate of this view.
396- * @param <code>y</code> The new <i>y</i>-coordinate of this view.
397- * @param <code>width</code> The new <code>width</code> of this view.
398- * @param <code>height</code> The new <code>height</code> of this view.
395+ * @param x The new <i>x</i>-coordinate of this view.
396+ * @param y The new <i>y</i>-coordinate of this view.
397+ * @param width The new <code>width</code> of this view.
398+ * @param height The new <code>height</code> of this view.
399399 */
400400 public synchronized void setBounds(int x, int y, int width, int height) {
401401 if (isShowing() && needsToRedrawSelection())
@@ -823,7 +823,7 @@
823823
824824 /**
825825 * Scrolls this component vertically to the specified y-position.
826- * @param x the y-position.
826+ * @param y the y-position.
827827 * @param emitEvent if true, emits a ScrollEvent object.
828828 */
829829 protected synchronized void scrollY(int y, boolean emitEvent) {
--- branches/client/kfc/src/main/java/jp/kyasu/graphics/RichText.java (revision 51)
+++ branches/client/kfc/src/main/java/jp/kyasu/graphics/RichText.java (revision 52)
@@ -211,7 +211,7 @@
211211 /**
212212 * Returns the character at the specified index.
213213 *
214- * @param index an index into this rich text.
214+ * @param textIndex an index into this rich text.
215215 * @return the character at the specified index.
216216 * @see jp.kyasu.graphics.Text#getChar(int)
217217 */
@@ -286,9 +286,9 @@
286286 /**
287287 * Returns the text style at the specified index.
288288 *
289- * @param index an index into this rich text.
289+ * @param textIndex an index into this rich text.
290290 * @return the text style at the specified index.
291- * @see jp.kyasu.graphics.Text#getTextStyleAt()
291+ * @see jp.kyasu.graphics.Text#getTextStyleAt
292292 */
293293 public final TextStyle getTextStyleAt(int textIndex) {
294294 return text.getTextStyleAt(textIndex);
@@ -325,7 +325,7 @@
325325 /**
326326 * Returns the text attachment at the specified index.
327327 *
328- * @param index an index into this rich text.
328+ * @param textIndex an index into this rich text.
329329 * @return the text attachment if this rich text contains the text
330330 * attachment at the specified index; <code>null</code> otherwise.
331331 * @see jp.kyasu.graphics.Text#getAttachmentAt(int)
@@ -398,7 +398,7 @@
398398 /**
399399 * Returns the paragraph style at the specified index.
400400 *
401- * @param index an index into this rich text.
401+ * @param textIndex an index into this rich text.
402402 * @return the paragraph style at the specified index.
403403 */
404404 public final ParagraphStyle getParagraphStyleAt(int textIndex) {
--- branches/client/kfc/src/main/java/jp/kyasu/graphics/Text.java (revision 51)
+++ branches/client/kfc/src/main/java/jp/kyasu/graphics/Text.java (revision 52)
@@ -137,7 +137,7 @@
137137 * i.e., whose line-end is the specified separator character.
138138 *
139139 * @param sysString the platform string.
140- * @param separator the specified separator character.
140+ * @param separatorChar the specified separator character.
141141 * @return the string whose internal representation is suitable for
142142 * the text.
143143 * @see #copySystemToJavaReadWriter(java.io.Reader, java.io.Writer, int)
@@ -1860,7 +1860,7 @@
18601860 *
18611861 * @param begin the beginning index to replace, inclusive.
18621862 * @param end the ending index to replace, exclusive.
1863- * @param varray a replacement text.
1863+ * @param text a replacement text.
18641864 * @return this text.
18651865 */
18661866 public Text replace(int begin, int end, Text text) {
--- branches/client/kfc/src/main/java/jp/kyasu/graphics/TextLayout.java (revision 51)
+++ branches/client/kfc/src/main/java/jp/kyasu/graphics/TextLayout.java (revision 52)
@@ -1298,7 +1298,7 @@
12981298 *
12991299 * @param begin the beginning text position to replace, inclusive.
13001300 * @param end the ending text position to replace, exclusive.
1301- * @param rep a replacement <code>Text</code> object.
1301+ * @param replacement a replacement <code>Text</code> object.
13021302 * @return the <code>TextLayoutChange</code> object that provides an
13031303 * information of changes in the layout made by this method.
13041304 */
--- branches/client/kfc/src/main/java/jp/kyasu/graphics/VHRBorder.java (revision 51)
+++ branches/client/kfc/src/main/java/jp/kyasu/graphics/VHRBorder.java (revision 52)
@@ -44,7 +44,7 @@
4444 /**
4545 * Constructs a horizontal line border with the specified height.
4646 *
47- * @param width the width of the horizontal line border.
47+ * @param height the height of the horizontal line border.
4848 */
4949 public VHRBorder(int height) {
5050 this(1, height);
--- branches/client/kfc/src/main/java/jp/kyasu/sgml/HTMLEvent.java (revision 51)
+++ branches/client/kfc/src/main/java/jp/kyasu/sgml/HTMLEvent.java (revision 52)
@@ -119,7 +119,7 @@
119119 * Checks if the cdata is a nbsp (non break space).
120120 * This operation is valid when id is CDATA_PARSED.
121121 *
122- * @retrun true if the cdata is nbsp (non break space).
122+ * @return true if the cdata is nbsp (non break space).
123123 */
124124 public boolean isNbsp() {
125125 return nbsp;
--- branches/client/kfc/src/main/java/jp/kyasu/sgml/SGMLEvent.java (revision 51)
+++ branches/client/kfc/src/main/java/jp/kyasu/sgml/SGMLEvent.java (revision 52)
@@ -180,7 +180,7 @@
180180 /**
181181 * Returns the id of this sgml event.
182182 *
183- * @retrun the id of this sgml event.
183+ * @return the id of this sgml event.
184184 */
185185 public int getID() {
186186 return id;
@@ -189,7 +189,7 @@
189189 /**
190190 * Returns the sgml parser (event source) of this sgml event.
191191 *
192- * @retrun the sgml parser (event source) of this sgml event.
192+ * @return the sgml parser (event source) of this sgml event.
193193 */
194194 public SGMLParser getParser() {
195195 return (SGMLParser)source;
@@ -199,7 +199,7 @@
199199 * Returns the element of this sgml event. This operation is valid
200200 * when id is STARTTAG_PARSED or ENDTAG_PARSED.
201201 *
202- * @retrun the element of this sgml event.
202+ * @return the element of this sgml event.
203203 */
204204 public Element getElement() {
205205 return element;
@@ -209,7 +209,7 @@
209209 * Returns the attributes of this sgml event. This operation is valid
210210 * when id is STARTTAG_PARSED.
211211 *
212- * @retrun the attributes of this sgml event.
212+ * @return the attributes of this sgml event.
213213 */
214214 public Hashtable getAttributes() {
215215 return attributes;
@@ -219,7 +219,7 @@
219219 * Returns the cdata (#PCDATA, #CDATA, #RCDATA) of this sgml event.
220220 * This operation is valid when id is CDATA_PARSED.
221221 *
222- * @retrun the cdata of this sgml event.
222+ * @return the cdata of this sgml event.
223223 */
224224 public String getCDATA() {
225225 return cdata;
Show on old repository browser