@@ -349,7 +349,6 @@ public void setParent(View parent) {
349
349
* returns 0.
350
350
*
351
351
* @return the number of views >= 0
352
- * @see View#getViewCount
353
352
*/
354
353
public int getViewCount () {
355
354
return 0 ;
@@ -698,7 +697,8 @@ public Shape modelToView(int p0, Position.Bias b0, int p1, Position.Bias b1, Sha
698
697
* @param e the change information from the associated document
699
698
* @param a the current allocation of the view
700
699
* @param f the factory to use to rebuild if the view has children
701
- * @see View#insertUpdate
700
+ * @see View#removeUpdate
701
+ * @see View#changedUpdate
702
702
*/
703
703
public void insertUpdate (DocumentEvent e , Shape a , ViewFactory f ) {
704
704
if (getViewCount () > 0 ) {
@@ -739,7 +739,8 @@ public void insertUpdate(DocumentEvent e, Shape a, ViewFactory f) {
739
739
* @param e the change information from the associated document
740
740
* @param a the current allocation of the view
741
741
* @param f the factory to use to rebuild if the view has children
742
- * @see View#removeUpdate
742
+ * @see View#insertUpdate
743
+ * @see View#changedUpdate
743
744
*/
744
745
public void removeUpdate (DocumentEvent e , Shape a , ViewFactory f ) {
745
746
if (getViewCount () > 0 ) {
@@ -780,7 +781,8 @@ public void removeUpdate(DocumentEvent e, Shape a, ViewFactory f) {
780
781
* @param e the change information from the associated document
781
782
* @param a the current allocation of the view
782
783
* @param f the factory to use to rebuild if the view has children
783
- * @see View#changedUpdate
784
+ * @see View#insertUpdate
785
+ * @see View#removeUpdate
784
786
*/
785
787
public void changedUpdate (DocumentEvent e , Shape a , ViewFactory f ) {
786
788
if (getViewCount () > 0 ) {
@@ -802,7 +804,6 @@ public void changedUpdate(DocumentEvent e, Shape a, ViewFactory f) {
802
804
* Fetches the model associated with the view.
803
805
*
804
806
* @return the view model, <code>null</code> if none
805
- * @see View#getDocument
806
807
*/
807
808
public Document getDocument () {
808
809
return elem .getDocument ();
@@ -813,7 +814,7 @@ public Document getDocument() {
813
814
* responsible.
814
815
*
815
816
* @return the starting offset into the model >= 0
816
- * @see View#getStartOffset
817
+ * @see View#getEndOffset
817
818
*/
818
819
public int getStartOffset () {
819
820
return elem .getStartOffset ();
@@ -824,7 +825,7 @@ public int getStartOffset() {
824
825
* responsible.
825
826
*
826
827
* @return the ending offset into the model >= 0
827
- * @see View#getEndOffset
828
+ * @see View#getStartOffset
828
829
*/
829
830
public int getEndOffset () {
830
831
return elem .getEndOffset ();
@@ -836,7 +837,6 @@ public int getEndOffset() {
836
837
* entire portion of the element.
837
838
*
838
839
* @return the subject
839
- * @see View#getElement
840
840
*/
841
841
public Element getElement () {
842
842
return elem ;
@@ -1339,7 +1339,7 @@ protected void updateLayout(DocumentEvent.ElementChange ec,
1339
1339
* @return the bounding box of the given position is returned
1340
1340
* @throws BadLocationException if the given position does
1341
1341
* not represent a valid location in the associated document
1342
- * @see View#modelToView
1342
+ * @see View#viewToModel
1343
1343
* @deprecated
1344
1344
*/
1345
1345
@ Deprecated
@@ -1357,7 +1357,7 @@ public Shape modelToView(int pos, Shape a) throws BadLocationException {
1357
1357
* @param a the allocated region in which to render
1358
1358
* @return the location within the model that best represents the
1359
1359
* given point in the view >= 0
1360
- * @see View#viewToModel
1360
+ * @see View#modelToView
1361
1361
* @deprecated
1362
1362
*/
1363
1363
@ Deprecated
0 commit comments