|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectPathSegment
public class PathSegment
This class represents a displayable path segment it has a color, width, and a Line2D object Copyright Georgia Institute of Technology 2005
Constructor Summary | |
---|---|
PathSegment(java.awt.Color theColor,
int theWidth,
java.awt.geom.Line2D.Float theLine)
Constructor that takes the color, width, and line |
Method Summary | |
---|---|
void |
paintComponent(java.awt.Graphics g)
Method to paint this path segment |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PathSegment(java.awt.Color theColor, int theWidth, java.awt.geom.Line2D.Float theLine)
Method Detail |
---|
public void paintComponent(java.awt.Graphics g)
g
- the graphics context
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |