com.virtuosotechnologies.asaph.model
Interface TextString

All Superinterfaces:
SimpleString, SongLineMember, SongMember

public interface TextString
extends SimpleString, SongLineMember

SongLineMember indicating text in a song line.


Field Summary
static String COMMENT_TYPE
          Comment type.
static String DEFAULT_TYPE
          Default type.
 
Method Summary
 String getType()
          Get the type of string.
 void setType(String type, UndoableEditListener undoListener)
          Set the type of string.
 
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
 

Field Detail

DEFAULT_TYPE

public static final String DEFAULT_TYPE
Default type. Value is a String.

See Also:
Constant Field Values

COMMENT_TYPE

public static final String COMMENT_TYPE
Comment type. Value is a String.

See Also:
Constant Field Values
Method Detail

getType

public String getType()
Get the type of string. The value could be the empty string but will never be null.

Returns:
String

setType

public void setType(String type,
                    UndoableEditListener undoListener)
Set the type of string. You may not set the value to null.

Parameters:
type - new value
undoListener - listener to notify if an undoable edit is generated, or null to suppress generation of undoable edits
Throws:
NullPointerException - type was null