Home » openjdk-7 » javax » swing » text » [javadoc | source]
javax.swing.text
final class: StringContent.StickyPosition [javadoc | source]
java.lang.Object
   javax.swing.text.StringContent$StickyPosition

All Implemented Interfaces:
    Position

This really wants to be a weak reference but in 1.1 we don't have a 100% pure solution for this... so this class trys to hack a solution to causing the marks to be collected.
Field Summary
 PosRec rec     
Constructor:
 StickyPosition(int offset) 
Method from javax.swing.text.StringContent$StickyPosition Summary:
finalize,   getOffset,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.swing.text.StringContent$StickyPosition Detail:
 protected  void finalize() throws Throwable 
 public int getOffset() 
 public String toString()