Class WireConnector

java.lang.Object
   |
   +----Element
           |
           +----WireElement
                   |
                   +----WireConnector

public class WireConnector
extends WireElement
Wire Connector


Variable Index

 o absMaxVoltage

Constructor Index

 o WireConnector()
Constructs WireConnector without initial wires.
 o WireConnector(WireConnector)
Constructs new WireConnector from given one.

Method Index

 o paint(Graphics, int, Dimension, boolean, boolean)
Paints the element on the given graphic context.
 o setContact(int)
 o setContacts(Element)
 o setMaxVoltage(double)

Variables

 o absMaxVoltage
 public double absMaxVoltage

Constructors

 o WireConnector
 public WireConnector()
Constructs WireConnector without initial wires.

 o WireConnector
 public WireConnector(WireConnector e)
Constructs new WireConnector from given one.

Parameters:
e - WireConnector to copy.

Methods

 o setContacts
 public void setContacts(Element e)
 o setContact
 public void setContact(int dir)
 o setMaxVoltage
 public void setMaxVoltage(double newMax)
 o paint
 public void paint(Graphics g,
                   int angle,
                   Dimension size,
                   boolean isSimulating,
                   boolean animated)
Paints the element on the given graphic context.

Overrides:
paint in class WireElement