home *** CD-ROM | disk | FTP | other *** search
/ S283 Planetary Science &… the Search for Life CD 3 / 0_CD-ROM.iso / install / jre1_3 / lib / rt.jar / javax / swing / text / GapContent$StickyPosition.class (.txt) < prev    next >
Encoding:
Java Class File  |  1979-12-31  |  868 b   |  25 lines

  1. package javax.swing.text;
  2.  
  3. final class GapContent$StickyPosition implements Position {
  4.    GapContent.MarkData mark;
  5.    // $FF: synthetic field
  6.    private final GapContent this$0;
  7.  
  8.    GapContent$StickyPosition(GapContent var1, GapContent.MarkData var2) {
  9.       this.this$0 = var1;
  10.       this.mark = var2;
  11.    }
  12.  
  13.    public final int getOffset() {
  14.       return this.mark.getOffset();
  15.    }
  16.  
  17.    protected void finalize() throws Throwable {
  18.       this.mark.dispose();
  19.    }
  20.  
  21.    public String toString() {
  22.       return Integer.toString(this.getOffset());
  23.    }
  24. }
  25.