|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.acarter.scenemonitor.textdescriptor.A_TextDescriptor
public abstract class A_TextDescriptor
Defines the basic functionality for creating descriptors.
Field Summary | |
---|---|
protected java.text.DecimalFormat |
decimal
A decimal formatter |
Constructor Summary | |
---|---|
A_TextDescriptor()
|
Method Summary | |
---|---|
protected void |
clearDocument(javax.swing.text.StyledDocument infoDocument)
Erases all text from the document. |
protected java.lang.String |
toString(Vector3f vector)
Convenience method for converting a vector to a string. |
abstract void |
updateInfo(javax.swing.text.StyledDocument infoDocument,
java.lang.Object object)
Called when the text should be replaced with more current information. |
protected void |
writeString(javax.swing.text.StyledDocument infoDocument,
java.lang.String string,
java.lang.String style)
Writes a string to the document. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.text.DecimalFormat decimal
Constructor Detail |
---|
public A_TextDescriptor()
Method Detail |
---|
protected final void clearDocument(javax.swing.text.StyledDocument infoDocument) throws javax.swing.text.BadLocationException
infoDocument
-
javax.swing.text.BadLocationException
protected final void writeString(javax.swing.text.StyledDocument infoDocument, java.lang.String string, java.lang.String style) throws javax.swing.text.BadLocationException
infoDocument
- string
- style
-
javax.swing.text.BadLocationException
public abstract void updateInfo(javax.swing.text.StyledDocument infoDocument, java.lang.Object object)
infoDocument
- object
- protected java.lang.String toString(Vector3f vector)
vector
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |