mirror of
https://github.com/octoleo/plantuml.git
synced 2024-12-22 10:59:01 +00:00
Documentation corrections
Some "obvious" code documentation corrections.
This commit is contained in:
parent
fb108ebb5a
commit
d43296c82e
@ -36,8 +36,7 @@ import ext.plantuml.com.ctreber.aclib.sort.CTSort;
|
|||||||
import ext.plantuml.com.ctreber.aclib.sort.QuickSort;
|
import ext.plantuml.com.ctreber.aclib.sort.QuickSort;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <h1>AC.earth - XEarth for Java
|
* <h1>AC.earth - XEarth for Java</h1>
|
||||||
* <h1>
|
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>
|
||||||
* The original XEarth was written by Kirk Johnson in July 1993 - thank you for
|
* The original XEarth was written by Kirk Johnson in July 1993 - thank you for
|
||||||
@ -370,4 +369,4 @@ public class ACearth {
|
|||||||
return fConf;
|
return fConf;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -4,8 +4,7 @@ import java.util.ArrayList;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <h1>AC.earth - XEarth for Java
|
* <h1>AC.earth - XEarth for Java</h1>
|
||||||
* <h1>
|
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>
|
||||||
* The original XEarth was written by Kirk Johnson in July 1993 - thank you for
|
* The original XEarth was written by Kirk Johnson in July 1993 - thank you for
|
||||||
@ -6832,4 +6831,4 @@ public class MapData {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -44,8 +44,6 @@ public class MapDataReader {
|
|||||||
* <p>
|
* <p>
|
||||||
* Read map data.
|
* Read map data.
|
||||||
*
|
*
|
||||||
* @param pFileName
|
|
||||||
* Map data file name.
|
|
||||||
* @return Array of map polygons.
|
* @return Array of map polygons.
|
||||||
* @throws IOException
|
* @throws IOException
|
||||||
*/
|
*/
|
||||||
|
4
src/ext/plantuml/com/google/zxing/Writer.java
Normal file → Executable file
4
src/ext/plantuml/com/google/zxing/Writer.java
Normal file → Executable file
@ -32,8 +32,6 @@ public interface Writer {
|
|||||||
*
|
*
|
||||||
* @param contents The contents to encode in the barcode
|
* @param contents The contents to encode in the barcode
|
||||||
* @param format The barcode format to generate
|
* @param format The barcode format to generate
|
||||||
* @param width The preferred width in pixels
|
|
||||||
* @param height The preferred height in pixels
|
|
||||||
* @return The generated barcode as a Matrix of unsigned bytes (0 == black, 255 == white)
|
* @return The generated barcode as a Matrix of unsigned bytes (0 == black, 255 == white)
|
||||||
*/
|
*/
|
||||||
BitMatrix encode(String contents, BarcodeFormat format, int multiple)
|
BitMatrix encode(String contents, BarcodeFormat format, int multiple)
|
||||||
@ -43,8 +41,6 @@ public interface Writer {
|
|||||||
*
|
*
|
||||||
* @param contents The contents to encode in the barcode
|
* @param contents The contents to encode in the barcode
|
||||||
* @param format The barcode format to generate
|
* @param format The barcode format to generate
|
||||||
* @param width The preferred width in pixels
|
|
||||||
* @param height The preferred height in pixels
|
|
||||||
* @param hints Additional parameters to supply to the encoder
|
* @param hints Additional parameters to supply to the encoder
|
||||||
* @return The generated barcode as a Matrix of unsigned bytes (0 == black, 255 == white)
|
* @return The generated barcode as a Matrix of unsigned bytes (0 == black, 255 == white)
|
||||||
*/
|
*/
|
||||||
|
@ -93,7 +93,7 @@ public class GraphicsPlotCanvas extends PlotCanvas {
|
|||||||
* <td>Foreground color of the wrapped AWT component.</td>
|
* <td>Foreground color of the wrapped AWT component.</td>
|
||||||
* </tr>
|
* </tr>
|
||||||
* <tr>
|
* <tr>
|
||||||
* <td><tt>doubleBuffering = true</td>
|
* <td><tt>doubleBuffering = true</tt></td>
|
||||||
* <td><tt>boolean</tt></td><td>no</td>
|
* <td><tt>boolean</tt></td><td>no</td>
|
||||||
* <td>If <tt>true</tt> the plot will be painted by using
|
* <td>If <tt>true</tt> the plot will be painted by using
|
||||||
* double-buffering and pre-rendered view of the coordinate system.
|
* double-buffering and pre-rendered view of the coordinate system.
|
||||||
|
@ -66,6 +66,7 @@ public class GraphicalComposite implements GraphicalElement {
|
|||||||
/**
|
/**
|
||||||
* Replaces the specified element at the specified index of
|
* Replaces the specified element at the specified index of
|
||||||
* the list of elements.
|
* the list of elements.
|
||||||
|
* @param index Index of the element to be replaced.
|
||||||
* @param element New element. <tt>null</tt> is not allowed.
|
* @param element New element. <tt>null</tt> is not allowed.
|
||||||
* @throws NullPointerException if <tt>element == null</tt>
|
* @throws NullPointerException if <tt>element == null</tt>
|
||||||
*/
|
*/
|
||||||
|
@ -31,6 +31,7 @@ public class Polygon extends BasicGraphicalElement {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates an instance of the specified graphic attributes.
|
* Creates an instance of the specified graphic attributes.
|
||||||
|
* @param attributes attributes of the instance to be created
|
||||||
* @param closed <tt>true</tt> if this polygon is closed.
|
* @param closed <tt>true</tt> if this polygon is closed.
|
||||||
*/
|
*/
|
||||||
public Polygon(GraphicAttributes attributes, boolean closed) {
|
public Polygon(GraphicAttributes attributes, boolean closed) {
|
||||||
|
@ -47,7 +47,7 @@ public class ShapeAttributes implements LineAttributes, FillAttributes {
|
|||||||
* <th>Description</th></tr>
|
* <th>Description</th></tr>
|
||||||
* <tr><td><tt>fillColor = <i>no filling</i></tt></td><td><tt>Color</tt></td>
|
* <tr><td><tt>fillColor = <i>no filling</i></tt></td><td><tt>Color</tt></td>
|
||||||
* <td>no</td><td>The fill color of the shape.</td></tr>
|
* <td>no</td><td>The fill color of the shape.</td></tr>
|
||||||
* <tr><td><tt>lineColor = <i>no line<i></tt></td><td><tt>Color</tt></td>
|
* <tr><td><tt>lineColor = <i>no line</i></tt></td><td><tt>Color</tt></td>
|
||||||
* <td>no</td><td>The color of a line, a polygon, or the border of a shape.</td></tr>
|
* <td>no</td><td>The color of a line, a polygon, or the border of a shape.</td></tr>
|
||||||
* <tr><td><tt>lineThickness = 0</tt></td><td><tt>double</tt></td>
|
* <tr><td><tt>lineThickness = 0</tt></td><td><tt>double</tt></td>
|
||||||
* <td>no</td>
|
* <td>no</td>
|
||||||
|
@ -21,8 +21,8 @@ package jcckit.plot;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Marker interface of all types of hints. Hints are used to calculate
|
* Marker interface of all types of hints. Hints are used to calculate
|
||||||
* {@link jcckit.graphic.GraphicalElement} representing a point in a {@link
|
* {@link jcckit.graphic.GraphicalElement} representing a point in a
|
||||||
* Curve}. For example, in a chart with stacked
|
* {@link Curve}. For example, in a chart with stacked
|
||||||
* bars the data determines the height of a bar but the foot of
|
* bars the data determines the height of a bar but the foot of
|
||||||
* a bar is determined by the height of the bar below. Its value will be
|
* a bar is determined by the height of the bar below. Its value will be
|
||||||
* stored in a {@link PositionHint}.
|
* stored in a {@link PositionHint}.
|
||||||
|
4
src/jcckit/plot/SimpleCurveFactory.java
Normal file → Executable file
4
src/jcckit/plot/SimpleCurveFactory.java
Normal file → Executable file
@ -42,8 +42,8 @@ public class SimpleCurveFactory implements CurveFactory {
|
|||||||
* <table border=1 cellpadding=5>
|
* <table border=1 cellpadding=5>
|
||||||
* <tr><th>Key & Default Value</th><th>Type</th><th>Mandatory</th>
|
* <tr><th>Key & Default Value</th><th>Type</th><th>Mandatory</th>
|
||||||
* <th>Description</th></tr>
|
* <th>Description</th></tr>
|
||||||
* <tr><td><tt>definitions = </tt><i>one empty <tt>ConfigParameters<tt>
|
* <tr><td><tt>definitions = </tt><i>one empty</i> <tt>ConfigParameters</tt>
|
||||||
* instance</i></td>
|
* <i>instance</i></td>
|
||||||
* <td><tt>String[]</tt></td><td>no</td>
|
* <td><tt>String[]</tt></td><td>no</td>
|
||||||
* <td>Keys of subtrees defining {@link ConfigParameters}
|
* <td>Keys of subtrees defining {@link ConfigParameters}
|
||||||
* used by the {@link SimpleCurve#SimpleCurve constructor} of
|
* used by the {@link SimpleCurve#SimpleCurve constructor} of
|
||||||
|
@ -43,7 +43,7 @@ import jcckit.util.TicLabelFormat;
|
|||||||
* <p>
|
* <p>
|
||||||
* The second form maps a particular number onto a label. In order to be
|
* The second form maps a particular number onto a label. In order to be
|
||||||
* equal with the sepcified number the tic value should not deviate more
|
* equal with the sepcified number the tic value should not deviate more
|
||||||
* than 1 ppm (part per millions) from <tt><i><number></i>.
|
* than 1 ppm (part per millions) from <tt><i><number></i></tt>.
|
||||||
* <p>
|
* <p>
|
||||||
* The third form maps an interval onto a label. The condition reads
|
* The third form maps an interval onto a label. The condition reads
|
||||||
* <p>
|
* <p>
|
||||||
|
@ -21,7 +21,7 @@ package jcckit.util;
|
|||||||
/**
|
/**
|
||||||
* Interface for hierarchically managed key-value pairs. The key is
|
* Interface for hierarchically managed key-value pairs. The key is
|
||||||
* always a string which contains any kind of printable character except
|
* always a string which contains any kind of printable character except
|
||||||
* '/', '=', ':', and whitespace characters like ' ' and '\t'.
|
* '/', '=', ':', and whitespace characters like ' ' and '\\t'.
|
||||||
* The value is either a string or a <tt>ConfigData</tt> object.
|
* The value is either a string or a <tt>ConfigData</tt> object.
|
||||||
* <p>
|
* <p>
|
||||||
* This interface will be used by {@link ConfigParameters} in accordance
|
* This interface will be used by {@link ConfigParameters} in accordance
|
||||||
|
@ -59,7 +59,7 @@ public class Format implements TicLabelFormat {
|
|||||||
* Creates an instance for the specified format string.
|
* Creates an instance for the specified format string.
|
||||||
* The format string is an alternation of some static texts and
|
* The format string is an alternation of some static texts and
|
||||||
* format elements.
|
* format elements.
|
||||||
* A format element has to start with '%' and it must end with
|
* A format element has to start with `%` and it must end with
|
||||||
* one of the following format descriptors:
|
* one of the following format descriptors:
|
||||||
* <table border=0 cellpadding=5>
|
* <table border=0 cellpadding=5>
|
||||||
* <tr><td><tt>d</tt></td>
|
* <tr><td><tt>d</tt></td>
|
||||||
@ -77,7 +77,7 @@ public class Format implements TicLabelFormat {
|
|||||||
* format of logarithmic format depending on the size of
|
* format of logarithmic format depending on the size of
|
||||||
* the mantissa.</td></tr>
|
* the mantissa.</td></tr>
|
||||||
* </table>
|
* </table>
|
||||||
* The characters between '%' and the decriptor are optional.
|
* The characters between `%` and the decriptor are optional.
|
||||||
* They can be grouped into
|
* They can be grouped into
|
||||||
* <ul><li>modifier<br>
|
* <ul><li>modifier<br>
|
||||||
* it is
|
* it is
|
||||||
@ -90,7 +90,7 @@ public class Format implements TicLabelFormat {
|
|||||||
* of the result
|
* of the result
|
||||||
* <li>precision
|
* <li>precision
|
||||||
* </ul>
|
* </ul>
|
||||||
* A plain '%' is coded as '%%'.
|
* A plain `%` is coded as `%%`.
|
||||||
* @param formatString The format string.
|
* @param formatString The format string.
|
||||||
* @exception IllegalArgumentException if invalid format string.
|
* @exception IllegalArgumentException if invalid format string.
|
||||||
*/
|
*/
|
||||||
|
@ -25,8 +25,8 @@ final class Utils {
|
|||||||
* less than 16.
|
* less than 16.
|
||||||
*
|
*
|
||||||
* @param dest array to fill with zeroes
|
* @param dest array to fill with zeroes
|
||||||
* @param offset the first byte to fill
|
* @param start the first byte to fill
|
||||||
* @param length number of bytes to change
|
* @param end the last byte to fill
|
||||||
*/
|
*/
|
||||||
static void fillBytesWithZeroes(byte[] dest, int start, int end) {
|
static void fillBytesWithZeroes(byte[] dest, int start, int end) {
|
||||||
int cursor = start;
|
int cursor = start;
|
||||||
@ -44,8 +44,8 @@ final class Utils {
|
|||||||
* less than 16.
|
* less than 16.
|
||||||
*
|
*
|
||||||
* @param dest array to fill with zeroes
|
* @param dest array to fill with zeroes
|
||||||
* @param offset the first item to fill
|
* @param start the first item to fill
|
||||||
* @param length number of item to change
|
* @param end the last item to fill
|
||||||
*/
|
*/
|
||||||
static void fillIntsWithZeroes(int[] dest, int start, int end) {
|
static void fillIntsWithZeroes(int[] dest, int start, int end) {
|
||||||
int cursor = start;
|
int cursor = start;
|
||||||
|
@ -72,13 +72,13 @@ public interface ImageData {
|
|||||||
* For example, if you call this method with <code>nameId</code>
|
* For example, if you call this method with <code>nameId</code>
|
||||||
* set to "foo_map", you will get something like:
|
* set to "foo_map", you will get something like:
|
||||||
*
|
*
|
||||||
* <code><pre>
|
* <pre>
|
||||||
* <map id="foo_map" name="foo_map">
|
* <map id="foo_map" name="foo_map">
|
||||||
* <area shape="rect" id="..." href="..." title="..." alt="" coords="64,68,93,148"/>
|
* <area shape="rect" id="..." href="..." title="..." alt="" coords="64,68,93,148"/>
|
||||||
* </map>
|
* </map>
|
||||||
* </pre></code>
|
* </code>
|
||||||
*
|
*
|
||||||
* @param nameId thie id to be used in the cmap data string.
|
* @param nameId the id to be used in the cmap data string.
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
public String getCMapData(String nameId);
|
public String getCMapData(String nameId);
|
||||||
|
@ -55,7 +55,7 @@ public class ImageHelper {
|
|||||||
* the original image to be scaled
|
* the original image to be scaled
|
||||||
* @param targetDim
|
* @param targetDim
|
||||||
* the desired dimensions of the scaled instance, in pixels
|
* the desired dimensions of the scaled instance, in pixels
|
||||||
* @param hint
|
* @param hints
|
||||||
* RenderingHints used when scaling the image
|
* RenderingHints used when scaling the image
|
||||||
* @param higherQuality
|
* @param higherQuality
|
||||||
* if true, this method will use a multi-step scaling technique that provides higher quality than the
|
* if true, this method will use a multi-step scaling technique that provides higher quality than the
|
||||||
|
@ -166,7 +166,7 @@ class Cookie {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Maximum amount of blocks to split into.
|
* Maximum amount of blocks to split into.
|
||||||
* <p/>
|
* <p>
|
||||||
* {@code 0} for unlimited.
|
* {@code 0} for unlimited.
|
||||||
*/
|
*/
|
||||||
final int blockSplittingMax = 15;
|
final int blockSplittingMax = 15;
|
||||||
|
@ -103,8 +103,8 @@ public class Diagram {
|
|||||||
* <p>Finally, the text processing occurs: [pending]</p>
|
* <p>Finally, the text processing occurs: [pending]</p>
|
||||||
*
|
*
|
||||||
* @param grid
|
* @param grid
|
||||||
* @param cellWidth
|
* @param options
|
||||||
* @param cellHeight
|
* @param processingOptions
|
||||||
*/
|
*/
|
||||||
public Diagram(TextGrid grid, ConversionOptions options, ProcessingOptions processingOptions) {
|
public Diagram(TextGrid grid, ConversionOptions options, ProcessingOptions processingOptions) {
|
||||||
|
|
||||||
|
@ -532,6 +532,7 @@ public class DiagramShape extends DiagramComponent {
|
|||||||
*
|
*
|
||||||
* @param pointInCell
|
* @param pointInCell
|
||||||
* @param otherPoint
|
* @param otherPoint
|
||||||
|
* @param diagram
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
public ShapePoint getCellEdgePointBetween(ShapePoint pointInCell, ShapePoint otherPoint, Diagram diagram){
|
public ShapePoint getCellEdgePointBetween(ShapePoint pointInCell, ShapePoint otherPoint, Diagram diagram){
|
||||||
|
@ -106,7 +106,7 @@ public class ShapeEdge {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the type of the edge
|
* Returns the type of the edge
|
||||||
* (<code>TYPE_HORIZONTAL, TYPE_VERTICAL, TYPE_SLOPED).
|
* (<code>TYPE_HORIZONTAL, TYPE_VERTICAL, TYPE_SLOPED</code>).
|
||||||
*
|
*
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
|
@ -1310,7 +1310,7 @@ public class TextGrid {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/*
|
||||||
*
|
*
|
||||||
* Fills the continuous area with if c1 characters with c2,
|
* Fills the continuous area with if c1 characters with c2,
|
||||||
* flooding from cell x, y
|
* flooding from cell x, y
|
||||||
|
Loading…
Reference in New Issue
Block a user