quoggles.stdboxes.connectors
Class TwoSplitConnector_Rep

java.lang.Object
  |
  +--quoggles.representation.DefaultBoxRepresentation
        |
        +--quoggles.stdboxes.connectors.TwoSplitConnector_Rep
All Implemented Interfaces:
IBoxRepresentation

public class TwoSplitConnector_Rep
extends DefaultBoxRepresentation

Represents a fork with two ends.


Nested Class Summary
(package private)  class TwoSplitConnector_Rep.MyBoxRepresentation
          Provides a graphical repersentation of the connector.
 
Field Summary
private  java.awt.geom.Point2D output1
           
private  java.awt.geom.Point2D output2
           
 
Fields inherited from class quoggles.representation.DefaultBoxRepresentation
box, classLabel, graphicalRep, inputLabel, INPUTLABEL, inputsPos, outputLabel, OUTPUTLABEL, outputsPos, parameters
 
Constructor Summary
TwoSplitConnector_Rep(IBox representedBox)
           
 
Method Summary
 java.awt.geom.Point2D[] getRelOutputsPos()
          Relative position of outputs, measured from top left corner, values between 0 and 1.
 void updateGraphicalRep()
          Empty implementation.
 
Methods inherited from class quoggles.representation.DefaultBoxRepresentation
createStandardPanel, getIBox, getRelInputsPos, getRepresentation, repaintBoxRep, setParameters, standardizeBoxRep, updateId, updateInputOutput
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

output1

private java.awt.geom.Point2D output1

output2

private java.awt.geom.Point2D output2
Constructor Detail

TwoSplitConnector_Rep

public TwoSplitConnector_Rep(IBox representedBox)
Parameters:
representedBox -
Method Detail

getRelOutputsPos

public java.awt.geom.Point2D[] getRelOutputsPos()
Description copied from interface: IBoxRepresentation
Relative position of outputs, measured from top left corner, values between 0 and 1. Only used if the box has several outputs.

Specified by:
getRelOutputsPos in interface IBoxRepresentation
Overrides:
getRelOutputsPos in class DefaultBoxRepresentation
See Also:
IBoxRepresentation.getRelOutputsPos()

updateGraphicalRep

public void updateGraphicalRep()
Empty implementation.

Specified by:
updateGraphicalRep in interface IBoxRepresentation
Overrides:
updateGraphicalRep in class DefaultBoxRepresentation
See Also:
IBoxRepresentation.updateGraphicalRep()