Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.vinculum.processeditor.model.commands
Class BendpointCommand  view BendpointCommand download BendpointCommand.java

java.lang.Object
  extended byCommand
      extended bycom.vinculum.processeditor.model.commands.BendpointCommand
Direct Known Subclasses:
CreateBendpointCommand, DeleteBendpointCommand, MoveBendpointCommand

public class BendpointCommand
extends Command


Field Summary
private  Dimension d1
           
private  Dimension d2
           
protected  int index
           
protected  Point location
           
protected  com.vinculum.processeditor.model.Wire wire
           
 
Constructor Summary
BendpointCommand()
           
 
Method Summary
protected  Dimension getFirstRelativeDimension()
           
protected  int getIndex()
           
protected  Point getLocation()
           
protected  Dimension getSecondRelativeDimension()
           
protected  com.vinculum.processeditor.model.Wire getWire()
           
 void redo()
           
 void setIndex(int i)
           
 void setLocation(Point p)
           
 void setRelativeDimensions(Dimension dim1, Dimension dim2)
           
 void setWire(com.vinculum.processeditor.model.Wire w)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

index

protected int index

location

protected Point location

wire

protected com.vinculum.processeditor.model.Wire wire

d1

private Dimension d1

d2

private Dimension d2
Constructor Detail

BendpointCommand

public BendpointCommand()
Method Detail

getFirstRelativeDimension

protected Dimension getFirstRelativeDimension()

getSecondRelativeDimension

protected Dimension getSecondRelativeDimension()

getIndex

protected int getIndex()

getLocation

protected Point getLocation()

getWire

protected com.vinculum.processeditor.model.Wire getWire()

redo

public void redo()

setRelativeDimensions

public void setRelativeDimensions(Dimension dim1,
                                  Dimension dim2)

setIndex

public void setIndex(int i)

setLocation

public void setLocation(Point p)

setWire

public void setWire(com.vinculum.processeditor.model.Wire w)