org.niffty
Class Tie

java.lang.Object
  |
  +--org.niffty.HeirarchyNode
        |
        +--org.niffty.MusicSymbol
              |
              +--org.niffty.Tie
All Implemented Interfaces:
Anchored

public class Tie
extends MusicSymbol

A Tie has optional tags: multi-node symbol tags, tie direction, Bezier incoming and Bezier outgoing.


Field Summary
 
Fields inherited from class org.niffty.MusicSymbol
_tags
 
Constructor Summary
Tie(Tags tags)
          Creates a new Tie with the given parameters.
 
Method Summary
 void draw(java.awt.Graphics graphics)
          Draw this object
 void invalidate()
          This is automatically called after the object is modified to force this to recompute all its values when the "get" method is called for the value.
 java.lang.String toString()
           
 
Methods inherited from class org.niffty.MusicSymbol
findDefaultAnchor, findLeftPositionedX, findMultiNodes, getIndex, getParentTimeSlice, getScreenHotspot, getTags, isLeftPositionedSymbol, nextInstanceOfInScore, previousInstanceOf, previousInstanceOfInScore, previousInstanceOfInStaff
 
Methods inherited from class org.niffty.HeirarchyNode
addChild, getChild, getChildCount, getParentNode, nextInHeirarchy, previousInHeirarchy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Tie

public Tie(Tags tags)
Creates a new Tie with the given parameters.

Parameters:
tags - the tags for this music symbol. If this is null, then this uses an empty Tags object.
Method Detail

invalidate

public void invalidate()
This is automatically called after the object is modified to force this to recompute all its values when the "get" method is called for the value.

Overrides:
invalidate in class MusicSymbol

draw

public void draw(java.awt.Graphics graphics)
Draw this object

Overrides:
draw in class MusicSymbol

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object