projectPrototype.view.graphicEditor.graphicElement.composedFigures
Class PolyLine

java.lang.Object
  extended byprojectPrototype.view.graphicEditor.graphicElement.GraphicElement
      extended byprojectPrototype.view.graphicEditor.graphicElement.composedFigures.ComposedFigure
          extended byprojectPrototype.view.graphicEditor.graphicElement.composedFigures.PolyLine
Direct Known Subclasses:
Link

public class PolyLine
extends ComposedFigure

Author:
Administrator To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments

Field Summary
private  boolean dashed
           
 
Fields inherited from class projectPrototype.view.graphicEditor.graphicElement.composedFigures.ComposedFigure
graphicElementsList
 
Fields inherited from class projectPrototype.view.graphicEditor.graphicElement.GraphicElement
bgColor, conector, cursor, lineColor, MIN_HEIGHT, MIN_WIDTH, oldP1, oldP2, p1, p2, selector
 
Constructor Summary
PolyLine()
           
PolyLine(Point p1, Point p2, java.awt.Color lineColor, boolean dashed)
           
 
Method Summary
 void addLine(Point p)
           
protected  GraphicElementSelector createSelector()
           
 void removeLine(Point p)
           
 void verifyMinimalSize()
           
 
Methods inherited from class projectPrototype.view.graphicEditor.graphicElement.composedFigures.ComposedFigure
addGraphicElement, getGraphicElement, over, paint, removeGraphicElement, select
 
Methods inherited from class projectPrototype.view.graphicEditor.graphicElement.GraphicElement
adjustConectors, autoAdjust, createConectors, createDraggableElement, getConector, getCursor, getGraphicElementSelector, getP1, getP2, getRectangle, isSelected, move, setP1, setP2
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dashed

private boolean dashed
Constructor Detail

PolyLine

public PolyLine()

PolyLine

public PolyLine(Point p1,
                Point p2,
                java.awt.Color lineColor,
                boolean dashed)
Method Detail

addLine

public void addLine(Point p)

removeLine

public void removeLine(Point p)

createSelector

protected GraphicElementSelector createSelector()
Overrides:
createSelector in class GraphicElement

verifyMinimalSize

public void verifyMinimalSize()
Overrides:
verifyMinimalSize in class GraphicElement