All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class electronics.ui.ConnectionPainter

java.lang.Object
   |
   +----electronics.ui.ConnectionPainter

public class ConnectionPainter
extends Object

Constructor Index

 o ConnectionPainter()

Method Index

 o getColor()
Return the color used to draw the line representing the connection.
 o paintConnection(Graphics, Point, Point)
Paint a connection between two points.
 o setColor(Color)
Sets the color used to draw the line representing the connection.

Constructors

 o ConnectionPainter
 public ConnectionPainter()

Methods

 o setColor
 public void setColor(Color color)
Sets the color used to draw the line representing the connection.

 o getColor
 public final Color getColor()
Return the color used to draw the line representing the connection.

 o paintConnection
 public void paintConnection(Graphics g,
                             Point a,
                             Point b)
Paint a connection between two points.


All Packages  Class Hierarchy  This Package  Previous  Next  Index