All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class vlc.ui.component.PolyShape

java.lang.Object
   |
   +----vlc.ui.component.PolyShape

public class PolyShape
extends Object

Variable Index

 o accuracy
 o boxSize
 o editable
 o foundPoint
 o foundSide
 o numPnts
 o pnts

Constructor Index

 o PolyShape()
 o PolyShape(boolean)
 o PolyShape(boolean, int)

Method Index

 o addPoint(Point)
 o deleteSelectNode()
 o drawShape(Graphics, Point)
 o foundPoint(int, int)
 o foundSide(int, int)
 o getPoint(int)
 o insertNewNode(int, int)
 o movePoint(int, int, int)
 o moveSelectPoint(int, int)
 o removeAllPoints()
 o setEdgeColor(Color)
 o setHighlightEdgeColor(Color)
 o setHighlightVertexColor(Color)
 o setPoint(int, Point)
 o setVertexColor(Color)

Variables

 o pnts
 protected Vector pnts
 o numPnts
 protected int numPnts
 o boxSize
 protected int boxSize
 o accuracy
 protected int accuracy
 o foundSide
 protected int foundSide
 o foundPoint
 protected int foundPoint
 o editable
 protected boolean editable

Constructors

 o PolyShape
 public PolyShape()
 o PolyShape
 public PolyShape(boolean e)
 o PolyShape
 public PolyShape(boolean e,
                  int b)

Methods

 o removeAllPoints
 public void removeAllPoints()
 o setEdgeColor
 public void setEdgeColor(Color c)
 o setHighlightEdgeColor
 public void setHighlightEdgeColor(Color c)
 o setVertexColor
 public void setVertexColor(Color c)
 o setHighlightVertexColor
 public void setHighlightVertexColor(Color c)
 o addPoint
 public void addPoint(Point pt)
 o getPoint
 public Point getPoint(int i)
 o setPoint
 public void setPoint(int i,
                      Point p)
 o movePoint
 public void movePoint(int i,
                       int x,
                       int y)
 o moveSelectPoint
 public void moveSelectPoint(int x,
                             int y)
 o deleteSelectNode
 public void deleteSelectNode()
 o insertNewNode
 public void insertNewNode(int x,
                           int y)
 o drawShape
 public void drawShape(Graphics g,
                       Point o)
 o foundPoint
 public int foundPoint(int x,
                       int y)
 o foundSide
 public int foundSide(int x,
                      int y)

All Packages  Class Hierarchy  This Package  Previous  Next  Index