Ignore:
Timestamp:
2013-04-25T17:57:04+02:00 (11 years ago)
Author:
stoecker
Message:

fix javadoc

Location:
trunk/src/org/openstreetmap/josm/gui
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/MultiSplitLayout.java

    r5874 r5903  
    944944         * @return the Node that comes after this one in the parent's list of children.
    945945         * @see #previousSibling
    946          * @see #getParent
     946         * @see #parent_get
    947947         */
    948948        public Node nextSibling() {
     
    957957         * @return the Node that comes before this one in the parent's list of children.
    958958         * @see #nextSibling
    959          * @see #getParent
     959         * @see #parent_get
    960960         */
    961961        public Node previousSibling() {
  • trunk/src/org/openstreetmap/josm/gui/NameFormatterHook.java

    r4209 r5903  
    3030     * @return The corrected format if needed, null otherwise.
    3131     */
    32     public String checkFormat(IWay node, String defaultName);
     32    public String checkFormat(IWay way, String defaultName);
    3333
    3434    /**
     
    3838     * @return The corrected format if needed, null otherwise.
    3939     */
    40     public String checkFormat(IRelation node, String defaultName);
     40    public String checkFormat(IRelation relation, String defaultName);
    4141}
  • trunk/src/org/openstreetmap/josm/gui/NavigatableComponent.java

    r5870 r5903  
    347347     * Zoom to the given coordinate.
    348348     * @param newCenter The center x-value (easting) to zoom to.
    349      * @param scale The scale to use.
     349     * @param newScale The scale to use.
    350350     */
    351351    public void zoomTo(EastNorth newCenter, double newScale) {
     
    396396     * Zoom to the given coordinate without adding to the zoom undo buffer.
    397397     * @param newCenter The center x-value (easting) to zoom to.
    398      * @param scale The scale to use.
     398     * @param newScale The scale to use.
    399399     */
    400400    private void zoomNoUndoTo(EastNorth newCenter, double newScale) {
     
    929929     * @return The nearest way to point p,
    930930     *      prefer a selected way if there are multiple nearest.
    931      * @see #getNearestWaySegment(Point, Collection, Predicate)
     931     * @see #getNearestWaySegment(Point, Predicate)
    932932     *
    933933     * @param p the point for which to search the nearest segment.
     
    985985     *
    986986     * @return Primitives nearest to the given screen point.
    987      * @see #getNearests(Point, Collection, Predicate)
     987     * @see #getNearestNodesOrWays(Point, Collection, Predicate)
    988988     *
    989989     * @param p The point on screen.
     
    10351035     * @return A primitive within snap-distance to point p,
    10361036     *      that is chosen by the algorithm described.
    1037      * @see getNearestNode(Point, Predicate)
    1038      * @see getNearestNodesImpl(Point, Predicate)
    1039      * @see getNearestWay(Point, Predicate)
     1037     * @see #getNearestNode(Point, Predicate)
     1038     * @see #getNearestNodesImpl(Point, Predicate)
     1039     * @see #getNearestWay(Point, Predicate)
    10401040     *
    10411041     * @param p The point on screen.
  • trunk/src/org/openstreetmap/josm/gui/conflict/pair/ComparePairType.java

    r5266 r5903  
    1313
    1414    /**
    15      * compare my version of an {@link OsmPrimitive} with their version
     15     * compare my version of an {@link org.openstreetmap.josm.data.osm.OsmPrimitive} with their version
    1616     */
    1717    MY_WITH_THEIR (tr("My with Their"), new ListRole[] {MY_ENTRIES, THEIR_ENTRIES}),
    1818
    1919    /**
    20      * compare my version of an {@link OsmPrimitive} with the merged version
     20     * compare my version of an {@link org.openstreetmap.josm.data.osm.OsmPrimitive} with the merged version
    2121     */
    2222    MY_WITH_MERGED (tr("My with Merged"),  new ListRole[] {MY_ENTRIES, MERGED_ENTRIES}),
    2323
    2424    /**
    25      * compare their version of an {@link OsmPrimitive} with the merged veresion
     25     * compare their version of an {@link org.openstreetmap.josm.data.osm.OsmPrimitive} with the merged veresion
    2626     */
    2727    THEIR_WITH_MERGED(tr("Their with Merged"),  new ListRole[] {THEIR_ENTRIES, MERGED_ENTRIES});
  • trunk/src/org/openstreetmap/josm/gui/conflict/pair/ConflictResolver.java

    r5297 r5903  
    163163    /**
    164164     * handles property change events
     165     * @param evt the event
     166     * @see TagMergeModel
     167     * @see ListMergeModel
     168     * @see PropertiesMergeModel
    165169     */
    166170    public void propertyChange(PropertyChangeEvent evt) {
     
    223227     * populates the conflict resolver with the conflicts between my and their
    224228     *
    225      * @param my   my primitive (i.e. the primitive in the local dataset)
    226      * @param their their primitive (i.e. the primitive in the server dataset)
    227      *
     229     * @param conflict the conflict data set
    228230     */
    229231    public void populate(Conflict<? extends OsmPrimitive> conflict) {
  • trunk/src/org/openstreetmap/josm/gui/conflict/pair/ListMergeModel.java

    r5335 r5903  
    5555 * A ListMergeModel can be ''frozen''. If it's frozen, it doesn't accept additional merge
    5656 * decisions. {@link PropertyChangeListener}s can register for property value changes of
    57  * {@link #PROP_FROZEN}.
     57 * {@link #FROZEN_PROP}.
    5858 *
    5959 * ListMergeModel is an abstract class. Three methods have to be implemented by subclasses:
    6060 * <ul>
    61  *   <li>{@link ListMergeModel#cloneEntryForMergedList(Object)} - clones an entry of type T</li>
    62  *   <li>{@link ListMergeModel#isEqualEntry(Object, Object)} - checks whether two entries are equals </li>
     61 *   <li>{@link ListMergeModel#cloneEntryForMergedList} - clones an entry of type T</li>
     62 *   <li>{@link ListMergeModel#isEqualEntry} - checks whether two entries are equals </li>
    6363 *   <li>{@link ListMergeModel#setValueAt(DefaultTableModel, Object, int, int)} - handles values edited in
    6464 *     a JTable, dispatched from {@link TableModel#setValueAt(Object, int, int)} </li>
     
    586586     * From the point of view of the {@link JTable} it is a {@link TableModel}.
    587587     *
    588      * @param <T>
    589588     * @see ListMergeModel#getMyTableModel()
    590589     * @see ListMergeModel#getTheirTableModel()
  • trunk/src/org/openstreetmap/josm/gui/conflict/pair/nodes/NodeListMergeModel.java

    r5298 r5903  
    5252     * Builds the command to resolve conflicts in the node list of a way
    5353     *
    54      * @param my  my way. Must not be null.
    55      * @param their  their way. Must not be null
     54     * @param conflict the conflict data set
    5655     * @return the command
    5756     * @exception IllegalStateException thrown, if the merge is not yet frozen
  • trunk/src/org/openstreetmap/josm/gui/dialogs/FilterDialog.java

    r5496 r5903  
    279279
    280280    /**
    281      *
    282      * @param primitive
    283      * @return List of primitives whose filtering can be affected by change in primitive
     281     * Returns the list of primitives whose filtering can be affected by change in primitive
     282     * @param primitives list of primitives to check
     283     * @return List of primitives whose filtering can be affected by change in source primitives
    284284     */
    285285    private Collection<OsmPrimitive> getAffectedPrimitives(Collection<? extends OsmPrimitive> primitives) {
  • trunk/src/org/openstreetmap/josm/gui/dialogs/SelectionListDialog.java

    r5825 r5903  
    464464         * Replies the history of JOSM selections
    465465         *
    466          * @return
     466         * @return history of JOSM selections
    467467         */
    468468        public List<Collection<? extends OsmPrimitive>> getSelectionHistory() {
     
    484484         * of this model
    485485         *
    486          * @return
     486         * @return choosen elements in the view
    487487         */
    488488        public Collection<OsmPrimitive> getSelected() {
     
    500500         * of this model
    501501         *
    502          * @return
     502         * @return complete content of the view
    503503         */
    504504        public Collection<OsmPrimitive> getAllElements() {
  • trunk/src/org/openstreetmap/josm/gui/dialogs/changeset/ChangesetCacheManager.java

    r5890 r5903  
    209209     * in the changeset table.
    210210     *
    211      * @return
     211     * @return changset actions panel
    212212     */
    213213    protected JPanel buildChangesetTableActionPanel() {
     
    607607     * respective changesets are already present in the local changeset cache.
    608608     *
    609      * @param ids the collection of changesets. If null, the selection is cleared.
     609     * @param changesets the collection of changesets. If {@code null}, the
     610     * selection is cleared.
    610611     */
    611612    public void setSelectedChangesets(Collection<Changeset> changesets) {
  • trunk/src/org/openstreetmap/josm/gui/dialogs/changeset/ChangesetContentDownloadTask.java

    r5266 r5903  
    8787     * Creates a download task for a single changeset
    8888     *
    89      * @param parent the parent component for the {@link PleaseWaitDialog}. Must not be null.
    90      * @param changesetId the changeset id. >0 required.
    91      * @throws IllegalArgumentException thrown if changesetId <= 0
    92      * @throws IllegalArgumentException thrown if parent is null
     89     * @param parent the parent component for the {@link org.openstreetmap.josm.gui.PleaseWaitDialog}. Must not be {@code null}.
     90     * @param changesetId the changeset id. {@code >0} required.
     91     * @throws IllegalArgumentException thrown if {@code changesetId <= 0}
     92     * @throws IllegalArgumentException thrown if parent is {@code null}
    9393     */
    9494    public ChangesetContentDownloadTask(Component parent, int changesetId) throws IllegalArgumentException{
     
    103103     * the collection are sillently discarded.
    104104     *
    105      * @param parent the parent component for the {@link PleaseWaitDialog}. Must not be null.
    106      * @param changesetIds the changeset ids. Empty collection assumed, if null.
    107      * @throws IllegalArgumentException thrown if parent is null
     105     * @param parent the parent component for the {@link org.openstreetmap.josm.gui.PleaseWaitDialog}. Must not be {@code null}.
     106     * @param changesetIds the changeset ids. Empty collection assumed, if {@code null}.
     107     * @throws IllegalArgumentException thrown if parent is {@code null}
    108108     */
    109109    public ChangesetContentDownloadTask(Component parent, Collection<Integer> changesetIds) throws IllegalArgumentException {
  • trunk/src/org/openstreetmap/josm/gui/dialogs/changeset/ChangesetHeaderDownloadTask.java

    r5266 r5903  
    5353     * Ignores null values and changesets with {@link Changeset#isNew()} == true.
    5454     *
    55      * @param parent the parent component relative to which the {@link PleaseWaitDialog} is displayed.
     55     * @param parent the parent component relative to which the {@link org.openstreetmap.josm.gui.PleaseWaitDialog} is displayed.
    5656     * Must not be null.
    5757     * @param changesets the collection of changesets. Assumes an empty collection if null.
     
    101101
    102102    /**
    103      * Creates the download task for a collection of changeset ids. Uses a {@link PleaseWaitDialog}
     103     * Creates the download task for a collection of changeset ids. Uses a {@link org.openstreetmap.josm.gui.PleaseWaitDialog}
    104104     * whose parent is {@link Main#parent}.
    105105     *
     
    115115
    116116    /**
    117      * Creates the download task for a collection of changeset ids. Uses a {@link PleaseWaitDialog}
     117     * Creates the download task for a collection of changeset ids. Uses a {@link org.openstreetmap.josm.gui.PleaseWaitDialog}
    118118     * whose parent is the parent window of <code>dialogParent</code>.
    119119     *
    120120     * Null ids or or ids <= 0 in the id collection are ignored.
    121121     *
    122      * @param dialogParent the parent reference component for the {@link PleaseWaitDialog}. Must not be null.
     122     * @param dialogParent the parent reference component for the {@link org.openstreetmap.josm.gui.PleaseWaitDialog}. Must not be null.
    123123     * @param ids the collection of ids. Empty collection assumed if null.
    124124     * @throws IllegalArgumentException thrown if dialogParent is null
  • trunk/src/org/openstreetmap/josm/gui/dialogs/changeset/query/ChangesetQueryTask.java

    r5890 r5903  
    6565     * Creates the task.
    6666     *
    67      * @param parent the parent component relative to which the {@link PleaseWaitDialog} is displayed.
     67     * @param parent the parent component relative to which the {@link org.openstreetmap.josm.gui.PleaseWaitDialog} is displayed.
    6868     * Must not be null.
    6969     * @param query the query to submit to the OSM server. Must not be null.
  • trunk/src/org/openstreetmap/josm/gui/dialogs/relation/GenericRelationEditor.java

    r5724 r5903  
    429429     * builds the panel with the table displaying the currently selected primitives
    430430     *
    431      * @return
     431     * @return panel with current selection
    432432     */
    433433    protected JPanel buildSelectionTablePanel() {
     
    466466     * build the panel with the buttons on the left
    467467     *
    468      * @return
     468     * @return left button panel
    469469     */
    470470    protected JToolBar buildLeftButtonPanel() {
     
    535535     * build the panel with the buttons for adding or removing the current selection
    536536     *
    537      * @return
     537     * @return control buttons panel for selection/members
    538538     */
    539539    protected JToolBar buildSelectionControlButtonPanel() {
Note: See TracChangeset for help on using the changeset viewer.