Package org.gjt.sp.util
Class StringModel
- java.lang.Object
-
- org.gjt.sp.util.StringModel
-
public class StringModel extends java.lang.ObjectA model for a single String, which supports TextListeners. Simpler to use than Document when all you need is to store a single string.
-
-
Constructor Summary
Constructors Constructor Description StringModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddTextListener(java.awt.event.TextListener tl)voidsetText(java.lang.String newText)java.lang.StringtoString()
-