home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 2000 March / pcp161a.iso / handson / files / copyjava.exe / com / sun / java / swing / text / StringContent$UndoPosRef.class (.txt) < prev    next >
Encoding:
Java Class File  |  1998-02-26  |  1008 b   |  20 lines

  1. package com.sun.java.swing.text;
  2.  
  3. final class StringContent$UndoPosRef {
  4.    // $FF: synthetic field
  5.    private final StringContent this$0;
  6.    protected int undoLocation;
  7.    protected StringContent.PosRec rec;
  8.  
  9.    StringContent$UndoPosRef(StringContent var1, StringContent.PosRec var2) {
  10.       this.this$0 = var1;
  11.       this.this$0 = var1;
  12.       this.rec = var2;
  13.       this.undoLocation = var2.offset;
  14.    }
  15.  
  16.    protected void resetLocation() {
  17.       this.rec.offset = this.undoLocation;
  18.    }
  19. }
  20.