Skip to content

Commit 4e4ad1f

Browse files
committed
Fix Javadoc issues
1 parent 7c9ce24 commit 4e4ad1f

7 files changed

Lines changed: 32 additions & 1 deletion

File tree

src/main/java/au/id/mcc/adapted/swing/SVGIcon.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ public class SVGIcon extends UserAgentAdapter implements Icon {
5353
/**
5454
* Create a new SVGIcon object.
5555
* @param uri The URI to read the SVG document from.
56+
* @throws TranscoderException if an error occurred while transcoding the SVG document
5657
*/
5758
public SVGIcon(String uri) throws TranscoderException {
5859
this(uri, 0, 0);
@@ -63,6 +64,7 @@ public SVGIcon(String uri) throws TranscoderException {
6364
* @param uri The URI to read the SVG document from.
6465
* @param w The width of the icon.
6566
* @param h The height of the icon.
67+
* @throws TranscoderException if an error occurred while transcoding the SVG document
6668
*/
6769
public SVGIcon(String uri, int w, int h) throws TranscoderException {
6870
generateBufferedImage(new TranscoderInput(uri), w, h);
@@ -71,6 +73,7 @@ public SVGIcon(String uri, int w, int h) throws TranscoderException {
7173
/**
7274
* Create a new SVGIcon object.
7375
* @param doc The SVG document.
76+
* @throws TranscoderException if an error occurred while transcoding the SVG document
7477
*/
7578
public SVGIcon(Document doc) throws TranscoderException {
7679
this(doc, 0, 0);
@@ -81,13 +84,18 @@ public SVGIcon(Document doc) throws TranscoderException {
8184
* @param doc The SVG document.
8285
* @param w The width of the icon.
8386
* @param h The height of the icon.
87+
* @throws TranscoderException if an error occurred while transcoding the SVG document
8488
*/
8589
public SVGIcon(Document doc, int w, int h) throws TranscoderException {
8690
generateBufferedImage(new TranscoderInput(doc), w, h);
8791
}
8892

8993
/**
9094
* Generate the BufferedImage.
95+
* @param in the TranscoderInput to read the SVG document from
96+
* @param w the width of the icon
97+
* @param h the height of the icon
98+
* @throws TranscoderException if an error occurred while transcoding the SVG document
9199
*/
92100
protected void generateBufferedImage(TranscoderInput in, int w, int h)
93101
throws TranscoderException {
@@ -133,13 +141,16 @@ public void writeImage(BufferedImage img, TranscoderOutput output)
133141

134142
/**
135143
* Returns the BufferedImage generated from the SVG document.
144+
* @return the BufferedImage generated from the SVG document
136145
*/
137146
public BufferedImage getBufferedImage() {
138147
return bufferedImage;
139148
}
140149

141150
/**
142151
* Set the dimensions to be used for the image.
152+
* @param w the width of the image
153+
* @param h the height of the image
143154
*/
144155
public void setDimensions(int w, int h) {
145156
hints.put(KEY_WIDTH, new Float(w));

src/main/java/org/elephant/Elephant.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -577,6 +577,8 @@ public void setExitOnClose()
577577

578578
/**
579579
* Main method
580+
* @param args
581+
* @throws Exception
580582
*/
581583
public static void main( final String[] args ) throws Exception
582584
{

src/main/java/org/elephant/actions/ChangeTagDialog.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,14 @@ public class ChangeTagDialog extends JDialog implements ElephantConstantsMixin
7070

7171
/**
7272
* Create a dialog.
73+
* @param tagSetNames the names of tag sets to be shown in the combo boxes for tag set selection
74+
* @param tagNamesDetection the names of tags in the detection tag set to be shown in the combo boxes for tag selection when the detection tag set is selected
75+
* @param tagNamesTracking the names of tags in the tracking tag set to be shown in the combo boxes for tag selection when the tracking tag set is selected
76+
* @param tagNamesProgenitor the names of tags in the
77+
* @param tagNamesStatus the names of tags in the status tag set to be shown in the combo boxes for tag selection when the status tag set is selected
78+
* progenitor tag set to be shown in the combo boxes for tag selection when the progenitor tag set is selected
79+
* @param tagNamesProliferator the names of tags in the proliferator tag set to be shown in the combo boxes for tag selection when the proliferator tag set is selected
80+
* @param tagNamesDivision the names of tags in the division tag
7381
*/
7482
public ChangeTagDialog( final String[] tagSetNames, final String[] tagNamesDetection, final String[] tagNamesTracking,
7583
final String[] tagNamesProgenitor, final String[] tagNamesStatus, final String[] tagNamesProliferator, final String[] tagNamesDivision )

src/main/java/org/elephant/actions/RecordSnapshotMovieDialog.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ void put( String value )
8888

8989
/**
9090
* Create the dialog.
91+
* @param windowNames the names of windows to be shown in the combo box for window selection
92+
* @param maxTimepoint the maximum timepoint to be set as the maximum value of
9193
*/
9294
public RecordSnapshotMovieDialog( final String[] windowNames, final int maxTimepoint )
9395
{

src/main/java/org/elephant/actions/SelectSingleTagDialog.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,13 @@ public class SelectSingleTagDialog extends JDialog implements ElephantConstantsM
6666

6767
/**
6868
* Create a dialog.
69+
* @param tagSetNames the names of tag sets to be shown in the combo boxes for tag set selection
70+
* @param tagNamesDetection the names of tags in the detection tag set to be shown in the combo boxes for tag selection when the detection tag set is selected
71+
* @param tagNamesTracking the names of tags in the tracking tag set to be shown in the combo boxes for tag selection when the tracking tag set is selected
72+
* @param tagNamesProgenitor the names of tags in the progenitor tag set to be shown in the combo boxes for tag selection when the progenitor tag set is selected
73+
* @param tagNamesStatus the names of tags in the status tag set to be shown in the combo boxes for tag selection when the status tag set is selected
74+
* @param tagNamesProliferator the names of tags in the proliferator tag set to be shown in the combo boxes for tag selection when the proliferator tag set is selected
75+
* @param tagNamesDivision the names of tags in the division tag set to be shown in the combo boxes for tag selection when the division tag set is selected
6976
*/
7077
public SelectSingleTagDialog( final String[] tagSetNames, final String[] tagNamesDetection, final String[] tagNamesTracking,
7178
final String[] tagNamesProgenitor, final String[] tagNamesStatus, final String[] tagNamesProliferator, final String[] tagNamesDivision )

src/main/java/org/elephant/actions/SnapshotDialog.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ void put( String value )
8282

8383
/**
8484
* Create the dialog.
85+
* @param windowNames the names of windows to be shown in the combo box for window selection
8586
*/
8687
public SnapshotDialog( final String[] windowNames )
8788
{

src/main/java/org/elephant/actions/mixins/SpatioTemporalIndexActionMinxin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
import org.mastodon.spatial.SpatioTemporalIndex;
3131

3232
/**
33-
* Provide {@link SpatioTemporalIndex< Spot >}.
33+
* Provide access to {@link SpatioTemporalIndex}.
3434
*
3535
* @author Ko Sugawara
3636
*/

0 commit comments

Comments
 (0)