All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class CH.ifa.draw.samples.pert.PertFigure

CH.ifa.draw.standard.AbstractFigure
   |
   +----CH.ifa.draw.standard.CompositeFigure
           |
           +----CH.ifa.draw.samples.pert.PertFigure

public class PertFigure
extends CompositeFigure

Constructor Index

 o PertFigure()

Method Index

 o addPostTask(PertFigure)
 o addPreTask(PertFigure)
 o basicDisplayBox(Point, Point)
Sets the display box of a figure.
 o basicMoveBy(int, int)
Moves all the given figures by x and y.
 o connectionInsets()
Returns the connection inset.
 o displayBox()
Gets the display box of a figure.
 o draw(Graphics)
 o duration()
 o end()
 o figureChanged(FigureChangeEvent)
 o figureRemoved(FigureChangeEvent)
 o handles()
Returns the handles of a Figure that can be used to manipulate some of its attributes.
 o hasCycle(Figure)
 o notifyPostTasks()
 o read(StorableInput)
Reads the contained figures from StorableInput.
 o readTasks(StorableInput)
 o removePostTask(PertFigure)
 o removePreTask(PertFigure)
 o setEnd(int)
 o start()
 o update(FigureChangeEvent)
 o updateDurations()
 o write(StorableOutput)
Writes the contained figures to the StorableOutput.
 o writeTasks(StorableOutput, Vector)

Constructors

 o PertFigure
 public PertFigure()

Methods

 o start
 public int start()
 o end
 public int end()
 o duration
 public int duration()
 o setEnd
 public void setEnd(int value)
 o addPreTask
 public void addPreTask(PertFigure figure)
 o addPostTask
 public void addPostTask(PertFigure figure)
 o removePreTask
 public void removePreTask(PertFigure figure)
 o removePostTask
 public void removePostTask(PertFigure figure)
 o basicMoveBy
 public void basicMoveBy(int x,
                         int y)
Moves all the given figures by x and y.

Overrides:
basicMoveBy in class CompositeFigure
 o displayBox
 public Rectangle displayBox()
Gets the display box of a figure.

Overrides:
displayBox in class AbstractFigure
 o basicDisplayBox
 public void basicDisplayBox(Point origin,
                             Point corner)
Sets the display box of a figure.

Overrides:
basicDisplayBox in class AbstractFigure
 o draw
 public void draw(Graphics g)
 o handles
 public Vector handles()
Returns the handles of a Figure that can be used to manipulate some of its attributes.

Overrides:
handles in class AbstractFigure
 o update
 public void update(FigureChangeEvent e)
 o figureChanged
 public void figureChanged(FigureChangeEvent e)
Overrides:
figureChanged in class CompositeFigure
 o figureRemoved
 public void figureRemoved(FigureChangeEvent e)
Overrides:
figureRemoved in class CompositeFigure
 o notifyPostTasks
 public void notifyPostTasks()
 o updateDurations
 public void updateDurations()
 o hasCycle
 public boolean hasCycle(Figure start)
 o write
 public void write(StorableOutput dw)
Writes the contained figures to the StorableOutput.

Overrides:
write in class CompositeFigure
 o writeTasks
 public void writeTasks(StorableOutput dw,
                        Vector v)
 o read
 public void read(StorableInput dr) throws IOException
Reads the contained figures from StorableInput.

Overrides:
read in class CompositeFigure
 o connectionInsets
 public Insets connectionInsets()
Returns the connection inset.

Overrides:
connectionInsets in class AbstractFigure
 o readTasks
 public Vector readTasks(StorableInput dr) throws IOException

All Packages  Class Hierarchy  This Package  Previous  Next  Index