Sfoglia il codice sorgente

solve 4 javadoc errors (missing @param tags)

Stephen Gold 3 anni fa
parent
commit
6e96519a13

+ 6 - 0
jme3-core/src/main/java/com/jme3/font/BitmapFont.java

@@ -103,6 +103,9 @@ public class BitmapFont implements Savable {
     /**
      * Specify if this is a right-to-left font. By default it is set to false.
      * This can be "overwritten" in the BitmapText constructor.
+     *
+     * @param rightToLeft true → right-to-left, false → left-to-right
+     *     (default=false)
      */
     public void setRightToLeft(boolean rightToLeft) {
         this.rightToLeft = rightToLeft;
@@ -147,6 +150,9 @@ public class BitmapFont implements Savable {
      * For cursive fonts a GlyphParser needs to be specified which is used
      * to determine glyph shape by the adjacent glyphs. If nothing is set,
      * all glyphs will be rendered isolated.
+     *
+     * @param glyphParser the desired parser (alias created) or null for none
+     *     (default=null)
      */
     public void setGlyphParser(GlyphParser glyphParser) {
         this.glyphParser = glyphParser;

+ 4 - 0
jme3-core/src/main/java/com/jme3/font/BitmapText.java

@@ -59,6 +59,10 @@ public class BitmapText extends Node {
     /**
      * @deprecated The "rightToLeft" flag should be specified in the font.
      * Use {@link BitmapText#BitmapText(com.jme3.font.BitmapFont)}
+     *
+     * @param font the font to use (not null, alias created)
+     * @param rightToLeft true → right-to-left, false → left-to-right
+     *     (default=false)
      */
     @Deprecated
     public BitmapText(BitmapFont font, boolean rightToLeft) {