Documentation of 'kcl.waterloo.graphics.AxisLink' Java class
AxisLink
kcl.waterloo.graphics

Class AxisLink



  • public class AxisLink
    extends java.lang.Object
    This class is used to establish a link between the axes of two graphs. An AxisLink instance is added to a graph using its standard addLink method to establish a link between the axes. The link is then specified as from the graph to which the AxisLink instance is added and to the graph referenced in the instance pairedTraget property. Paired AxisLink instances will usually be added to each graph to establish a bilateral linkage. Note that an AxisLink instance is serializable to XML using the XMLEncoder, but that a Persistence delegate must be specified to call the constructor. An XML file containing an AxisLink instance will contain full information to reconstruct the linked graph even when that graph is not part of the host graph's hierarchy.
    • Constructor Detail

      • AxisLink

        public AxisLink(GJAbstractGraph target,
                        AxisLink.PAIRING p)
        Constructor for an AxisLink instance.
        Parameters:
        target - the graph to link to
        p - an AxisLink.PAIRING instance specifying which axes should be linked.
    • Method Detail

      • getPairedTarget

        public GJAbstractGraph getPairedTarget()
        Returns the linked graph for this instance.
        Returns:
        the pairedTarget
      • getPairing

        public AxisLink.PAIRING getPairing()
        Returns the AxisLink.PAIRING value for this instance.
        Returns:
        the pairing

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.