quoggles.stdboxes.connectors
Class OneOneConnector_Rep
java.lang.Object
|
+--quoggles.representation.DefaultBoxRepresentation
|
+--quoggles.stdboxes.connectors.OneOneConnector_Rep
- All Implemented Interfaces:
- IBoxRepresentation
- public class OneOneConnector_Rep
- extends DefaultBoxRepresentation
Represents a OneOneConnector_Box.
|
Method Summary |
java.awt.geom.Point2D[] |
getRelInputsPos()
Relative position of inputs, measured from top left corner,
values between 0 and 1.
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
drawFromTL
private boolean drawFromTL
relInputPosTL
private java.awt.geom.Point2D relInputPosTL
relOutputPosTL
private java.awt.geom.Point2D relOutputPosTL
relInputPosBL
private java.awt.geom.Point2D relInputPosBL
relOutputPosBL
private java.awt.geom.Point2D relOutputPosBL
OneOneConnector_Rep
public OneOneConnector_Rep(IBox representedBox)
- Constructs the representation.
- Parameters:
representedBox -
getRelInputsPos
public java.awt.geom.Point2D[] getRelInputsPos()
- Description copied from interface:
IBoxRepresentation
- Relative position of inputs, measured from top left corner,
values between 0 and 1.
Only used if the box has several inputs.
- Specified by:
getRelInputsPos in interface IBoxRepresentation- Overrides:
getRelInputsPos in class DefaultBoxRepresentation
- See Also:
IBoxRepresentation.getRelInputsPos()
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()