|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectCH.ifa.draw.standard.AbstractFigure
CH.ifa.draw.standard.CompositeFigure
CH.ifa.draw.samples.pert.PertFigure
public class PertFigure
| Field Summary |
|---|
| Fields inherited from class CH.ifa.draw.standard.CompositeFigure |
|---|
fFigures |
| Fields inherited from interface CH.ifa.draw.framework.Figure |
|---|
POPUP_MENU |
| Constructor Summary | |
|---|---|
PertFigure()
|
|
| Method Summary | |
|---|---|
void |
addPostTask(PertFigure figure)
|
void |
addPreTask(PertFigure figure)
|
void |
basicDisplayBox(java.awt.Point origin,
java.awt.Point corner)
Sets the display box of a figure. |
protected void |
basicMoveBy(int x,
int y)
Moves all the given figures by x and y. |
java.awt.Insets |
connectionInsets()
Returns the connection inset. |
java.awt.Rectangle |
displayBox()
Gets the display box of a figure. |
void |
draw(java.awt.Graphics g)
Draws all the contained figures |
int |
duration()
|
int |
end()
|
void |
figureChanged(FigureChangeEvent e)
Sent when a figure changed |
void |
figureRemoved(FigureChangeEvent e)
Sent when a figure was removed |
java.util.Vector |
handles()
Returns the handles of a Figure that can be used to manipulate some of its attributes. |
boolean |
hasCycle(Figure start)
|
void |
notifyPostTasks()
|
void |
read(StorableInput dr)
Reads the contained figures from StorableInput. |
java.util.Vector |
readTasks(StorableInput dr)
|
void |
removePostTask(PertFigure figure)
|
void |
removePreTask(PertFigure figure)
|
void |
setEnd(int value)
|
int |
start()
|
void |
update(FigureChangeEvent e)
|
void |
updateDurations()
|
void |
write(StorableOutput dw)
Writes the contained figures to the StorableOutput. |
void |
writeTasks(StorableOutput dw,
java.util.Vector v)
|
| Methods inherited from class CH.ifa.draw.standard.CompositeFigure |
|---|
add, addAll, bringToFront, figureAt, figureCount, figureInvalidated, figureRequestRemove, figureRequestUpdate, figures, figuresReverse, findFigure, findFigure, findFigure, findFigureInside, findFigureInsideWithout, findFigureWithout, includes, orphan, orphanAll, release, remove, removeAll, removeAll, replace, sendToBack |
| Methods inherited from class CH.ifa.draw.standard.AbstractFigure |
|---|
addFigureChangeListener, addToContainer, canConnect, center, changed, clone, connectedTextLocator, connectorAt, connectorVisibility, containsPoint, decompose, displayBox, displayBox, getAttribute, invalidate, isEmpty, listener, moveBy, removeFigureChangeListener, removeFromContainer, setAttribute, size, willChange |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PertFigure()
| Method Detail |
|---|
public int start()
public int end()
public int duration()
public void setEnd(int value)
public void addPreTask(PertFigure figure)
public void addPostTask(PertFigure figure)
public void removePreTask(PertFigure figure)
public void removePostTask(PertFigure figure)
protected void basicMoveBy(int x,
int y)
CompositeFigure
basicMoveBy in class CompositeFigureAbstractFigure.moveBy(int, int)public java.awt.Rectangle displayBox()
AbstractFigure
displayBox in interface FiguredisplayBox in class AbstractFigureFigure.basicDisplayBox(java.awt.Point, java.awt.Point)
public void basicDisplayBox(java.awt.Point origin,
java.awt.Point corner)
AbstractFigure
basicDisplayBox in interface FigurebasicDisplayBox in class AbstractFigureorigin - the new origincorner - the new cornerAbstractFigure.displayBox(java.awt.Point, java.awt.Point)public void draw(java.awt.Graphics g)
CompositeFigure
draw in interface Figuredraw in class CompositeFigureg - the Graphics to draw intoFigure.draw(java.awt.Graphics)public java.util.Vector handles()
AbstractFigure
handles in interface Figurehandles in class AbstractFigureHandlepublic void update(FigureChangeEvent e)
public void figureChanged(FigureChangeEvent e)
FigureChangeListener
figureChanged in interface FigureChangeListenerfigureChanged in class CompositeFigurepublic void figureRemoved(FigureChangeEvent e)
FigureChangeListener
figureRemoved in interface FigureChangeListenerfigureRemoved in class CompositeFigurepublic void notifyPostTasks()
public void updateDurations()
public boolean hasCycle(Figure start)
public void write(StorableOutput dw)
CompositeFigure
write in interface Storablewrite in class CompositeFigure
public void writeTasks(StorableOutput dw,
java.util.Vector v)
public void read(StorableInput dr)
throws java.io.IOException
CompositeFigure
read in interface Storableread in class CompositeFigurejava.io.IOExceptionpublic java.awt.Insets connectionInsets()
AbstractFigure
connectionInsets in interface FigureconnectionInsets in class AbstractFigure
public java.util.Vector readTasks(StorableInput dr)
throws java.io.IOException
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||