|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gjt.sp.util.StringModel
public class StringModel
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 | |
---|---|
StringModel()
|
Method Summary | |
---|---|
void |
addTextListener(java.awt.event.TextListener tl)
|
void |
setText(java.lang.String newText)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StringModel()
Method Detail |
---|
public void addTextListener(java.awt.event.TextListener tl)
public java.lang.String toString()
toString
in class java.lang.Object
public void setText(java.lang.String newText)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |