asd
Class ASDGrammarSuccessor

java.lang.Object
  extended by asd.ASDGrammarSuccessor

public class ASDGrammarSuccessor
extends java.lang.Object

Instances are successor links from ASDGrammarNodes. They correspond to edges in an ASD grammar diagram and point to successor ASDGrammarNodes.

Author:
James A. Mason

Field Summary
protected  java.lang.String successorInstance
           
protected  ASDGrammarNode successorNode
           
protected  java.lang.String successorWord
           
protected  short xCoordinate
           
protected  short yCoordinate
           
 
Method Summary
 java.lang.String getInstance()
          Returns the instance index of the successor node.
 ASDGrammarNode getNode()
          Returns the ASDGrammarNode that the successor goes to.
 java.lang.String getWord()
          Returns the word string of the successor node.
 short getXCoordinate()
          Returns the horizontal pixel coordinate of the handle of the digraph edge that corresponds to the successor.
 short getYCoordinate()
          Returns the vertical pixel coordinate of the handle of the digraph edge that corresponds to the successor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

successorWord

protected java.lang.String successorWord

successorInstance

protected java.lang.String successorInstance

successorNode

protected ASDGrammarNode successorNode

xCoordinate

protected short xCoordinate

yCoordinate

protected short yCoordinate
Method Detail

getWord

public java.lang.String getWord()
Returns the word string of the successor node.


getInstance

public java.lang.String getInstance()
Returns the instance index of the successor node.


getNode

public ASDGrammarNode getNode()
Returns the ASDGrammarNode that the successor goes to.


getXCoordinate

public short getXCoordinate()
Returns the horizontal pixel coordinate of the handle of the digraph edge that corresponds to the successor.


getYCoordinate

public short getYCoordinate()
Returns the vertical pixel coordinate of the handle of the digraph edge that corresponds to the successor.