org.niffty
Class Placement

java.lang.Object
  |
  +--org.niffty.Placement

public class Placement
extends java.lang.Object

A Placement has a horizontal and vertical placement. Note that these are not screen pixels but are in the units defined in the ScoreSetup. A Placement is used to specify the absolute placement, Bezier incoming and Bezier outgoing tags.


Constructor Summary
Placement()
          Creates new Placement with zero horizontal and vertical
Placement(int horizontal, int vertical)
          Creates new Placement with the given horizontal and vertical
 
Method Summary
 int getHorizontal()
          Return the horizontal value
 int getVertical()
          Return the vertical value
 java.lang.String toString()
          Returns string as "(horizontal,vertical)"
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Placement

public Placement()
Creates new Placement with zero horizontal and vertical


Placement

public Placement(int horizontal,
                 int vertical)
Creates new Placement with the given horizontal and vertical

Method Detail

getHorizontal

public int getHorizontal()
Return the horizontal value


getVertical

public int getVertical()
Return the vertical value


toString

public java.lang.String toString()
Returns string as "(horizontal,vertical)"

Overrides:
toString in class java.lang.Object