Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.virtuosotechnologies.asaph.standardmodel
Class StdTextString  view StdTextString download StdTextString.java

java.lang.Object
  extended bycom.virtuosotechnologies.lib.base.LinkedObject
      extended bycom.virtuosotechnologies.asaph.standardmodel.BaseSongMember
          extended bycom.virtuosotechnologies.asaph.standardmodel.BaseString
              extended bycom.virtuosotechnologies.asaph.standardmodel.BaseStringSongLineMember
                  extended bycom.virtuosotechnologies.asaph.standardmodel.StdTextString
All Implemented Interfaces:
com.virtuosotechnologies.asaph.model.SimpleString, com.virtuosotechnologies.asaph.model.SongLineMember, com.virtuosotechnologies.asaph.model.SongMember, com.virtuosotechnologies.asaph.model.StringSongLineMember, com.virtuosotechnologies.asaph.model.TextString

class StdTextString
extends BaseStringSongLineMember
implements com.virtuosotechnologies.asaph.model.TextString

Standard implementation of TextString


Nested Class Summary
(package private)  class StdTextString.ParseHandler
           
 
Field Summary
 
Fields inherited from class com.virtuosotechnologies.lib.base.LinkedObject
 
Constructor Summary
(package private) StdTextString(StdSongLine line, java.lang.String value)
           
 
Method Summary
 com.virtuosotechnologies.asaph.model.Song getSong()
          Returns the Song containing this SongMember.
 com.virtuosotechnologies.asaph.model.SongLine getSongLine()
          Get the containing song line
 java.lang.String getString()
          Get the string value.
(package private)  void internalClearDefunct()
           
(package private)  BaseSongMember internalGetParent()
           
(package private)  void internalReportUndoableEdit(javax.swing.event.UndoableEditListener undoListener, javax.swing.undo.UndoableEdit edit)
           
(package private)  void internalSetDefunct()
           
 boolean isDefunct()
          Returns true if this object is defunct-- that is, if it or any of its ancestors has been removed.
 void setString(java.lang.String str, javax.swing.event.UndoableEditListener undoListener)
          Set the string value.
(package private)  void unparse(com.virtuosotechnologies.lib.xml.XMLUnparser unparser)
           
 
Methods inherited from class com.virtuosotechnologies.lib.base.LinkedObject
getNext, getPrevious, linkThisAfter, linkThisBefore, unlinkThis
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.virtuosotechnologies.asaph.model.SimpleString
getString, setString
 
Methods inherited from interface com.virtuosotechnologies.asaph.model.SongMember
getSong, isDefunct
 
Methods inherited from interface com.virtuosotechnologies.asaph.model.SongLineMember
getSongLine
 

Constructor Detail

StdTextString

StdTextString(StdSongLine line,
              java.lang.String value)
Method Detail

unparse

void unparse(com.virtuosotechnologies.lib.xml.XMLUnparser unparser)
       throws java.io.IOException
Specified by:
unparse in class BaseStringSongLineMember

getSongLine

public com.virtuosotechnologies.asaph.model.SongLine getSongLine()
Get the containing song line

Specified by:
getSongLine in interface com.virtuosotechnologies.asaph.model.SongLineMember

getString

public java.lang.String getString()
Get the string value. The value could be the empty string but will never be null.

Specified by:
getString in interface com.virtuosotechnologies.asaph.model.SimpleString

setString

public void setString(java.lang.String str,
                      javax.swing.event.UndoableEditListener undoListener)
Set the string value. You may not set the value to null.

Specified by:
setString in interface com.virtuosotechnologies.asaph.model.SimpleString

internalSetDefunct

void internalSetDefunct()

internalClearDefunct

void internalClearDefunct()

internalReportUndoableEdit

void internalReportUndoableEdit(javax.swing.event.UndoableEditListener undoListener,
                                javax.swing.undo.UndoableEdit edit)

internalGetParent

BaseSongMember internalGetParent()

isDefunct

public boolean isDefunct()
Returns true if this object is defunct-- that is, if it or any of its ancestors has been removed. If this returns true, the behavior of any other methods on this object is undefined.

Specified by:
isDefunct in interface com.virtuosotechnologies.asaph.model.SongMember

getSong

public com.virtuosotechnologies.asaph.model.Song getSong()
Returns the Song containing this SongMember. If this member is defunct, this will return the song that contained this member before the member was defuncted.

Specified by:
getSong in interface com.virtuosotechnologies.asaph.model.SongMember