|
|||||||||
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 CompositeFigure
AbstractFigure.moveBy(int, int)
public java.awt.Rectangle displayBox()
AbstractFigure
displayBox
in interface Figure
displayBox
in class AbstractFigure
Figure.basicDisplayBox(java.awt.Point, java.awt.Point)
public void basicDisplayBox(java.awt.Point origin, java.awt.Point corner)
AbstractFigure
basicDisplayBox
in interface Figure
basicDisplayBox
in class AbstractFigure
origin
- the new origincorner
- the new cornerAbstractFigure.displayBox(java.awt.Point, java.awt.Point)
public void draw(java.awt.Graphics g)
CompositeFigure
draw
in interface Figure
draw
in class CompositeFigure
g
- the Graphics to draw intoFigure.draw(java.awt.Graphics)
public java.util.Vector handles()
AbstractFigure
handles
in interface Figure
handles
in class AbstractFigure
Handle
public void update(FigureChangeEvent e)
public void figureChanged(FigureChangeEvent e)
FigureChangeListener
figureChanged
in interface FigureChangeListener
figureChanged
in class CompositeFigure
public void figureRemoved(FigureChangeEvent e)
FigureChangeListener
figureRemoved
in interface FigureChangeListener
figureRemoved
in class CompositeFigure
public void notifyPostTasks()
public void updateDurations()
public boolean hasCycle(Figure start)
public void write(StorableOutput dw)
CompositeFigure
write
in interface Storable
write
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 Storable
read
in class CompositeFigure
java.io.IOException
public java.awt.Insets connectionInsets()
AbstractFigure
connectionInsets
in interface Figure
connectionInsets
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 |