Package org.gjt.sp.util
Class StringModel
- java.lang.Object
-
- org.gjt.sp.util.StringModel
-
public class StringModel extends java.lang.Object
A 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 void
addTextListener(java.awt.event.TextListener tl)
void
setText(java.lang.String newText)
java.lang.String
toString()
-