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
-
PertFigure()
-
-
addPostTask(PertFigure)
-
-
addPreTask(PertFigure)
-
-
basicDisplayBox(Point, Point)
- Sets the display box of a figure.
-
basicMoveBy(int, int)
- Moves all the given figures by x and y.
-
connectionInsets()
- Returns the connection inset.
-
displayBox()
- Gets the display box of a figure.
-
draw(Graphics)
-
-
duration()
-
-
end()
-
-
figureChanged(FigureChangeEvent)
-
-
figureRemoved(FigureChangeEvent)
-
-
handles()
- Returns the handles of a Figure that can be used
to manipulate some of its attributes.
-
hasCycle(Figure)
-
-
notifyPostTasks()
-
-
read(StorableInput)
- Reads the contained figures from StorableInput.
-
readTasks(StorableInput)
-
-
removePostTask(PertFigure)
-
-
removePreTask(PertFigure)
-
-
setEnd(int)
-
-
start()
-
-
update(FigureChangeEvent)
-
-
updateDurations()
-
-
write(StorableOutput)
- Writes the contained figures to the StorableOutput.
-
writeTasks(StorableOutput, Vector)
-
PertFigure
public PertFigure()
start
public int start()
end
public int end()
duration
public int duration()
setEnd
public void setEnd(int value)
addPreTask
public void addPreTask(PertFigure figure)
addPostTask
public void addPostTask(PertFigure figure)
removePreTask
public void removePreTask(PertFigure figure)
removePostTask
public void removePostTask(PertFigure figure)
basicMoveBy
public void basicMoveBy(int x,
int y)
- Moves all the given figures by x and y.
- Overrides:
- basicMoveBy in class CompositeFigure
displayBox
public Rectangle displayBox()
- Gets the display box of a figure.
- Overrides:
- displayBox in class AbstractFigure
basicDisplayBox
public void basicDisplayBox(Point origin,
Point corner)
- Sets the display box of a figure.
- Overrides:
- basicDisplayBox in class AbstractFigure
draw
public void draw(Graphics g)
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
update
public void update(FigureChangeEvent e)
figureChanged
public void figureChanged(FigureChangeEvent e)
- Overrides:
- figureChanged in class CompositeFigure
figureRemoved
public void figureRemoved(FigureChangeEvent e)
- Overrides:
- figureRemoved in class CompositeFigure
notifyPostTasks
public void notifyPostTasks()
updateDurations
public void updateDurations()
hasCycle
public boolean hasCycle(Figure start)
write
public void write(StorableOutput dw)
- Writes the contained figures to the StorableOutput.
- Overrides:
- write in class CompositeFigure
writeTasks
public void writeTasks(StorableOutput dw,
Vector v)
read
public void read(StorableInput dr) throws IOException
- Reads the contained figures from StorableInput.
- Overrides:
- read in class CompositeFigure
connectionInsets
public Insets connectionInsets()
- Returns the connection inset.
- Overrides:
- connectionInsets in class AbstractFigure
readTasks
public Vector readTasks(StorableInput dr) throws IOException
All Packages Class Hierarchy This Package Previous Next Index