|
JHotDraw 7.0.6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jhotdraw.draw.AbstractFigure
org.jhotdraw.draw.AttributedFigure
org.jhotdraw.draw.BezierFigure
org.jhotdraw.draw.LineFigure
org.jhotdraw.draw.LineConnectionFigure
org.jhotdraw.samples.pert.figures.DependencyFigure
public class DependencyFigure
DependencyFigure.
| Field Summary |
|---|
| Fields inherited from class org.jhotdraw.draw.BezierFigure |
|---|
CLOSED, path |
| Fields inherited from class org.jhotdraw.draw.AbstractFigure |
|---|
changingDepth, decorator, listenerList |
| Constructor Summary | |
|---|---|
DependencyFigure()
Creates a new instance. |
|
| Method Summary | |
|---|---|
boolean |
canConnect(Figure start)
Checks if this ConnectionFigure can be attached to the provided start figure. |
boolean |
canConnect(Figure start,
Figure end)
Checks if two figures can be connected. |
DependencyFigure |
clone()
Returns a clone of the figure. |
int |
getLayer()
Gets the layer of the figure. |
protected void |
handleConnect(Figure start,
Figure end)
Handles the connection of a connection. |
protected void |
handleDisconnect(Figure start,
Figure end)
Handles the disconnection of a connection. |
void |
removeNotify(Drawing d)
Informs a figure, that it has been removed from the specified drawing. |
| Methods inherited from class org.jhotdraw.draw.LineConnectionFigure |
|---|
addNotify, basicSetEndConnector, basicSetNode, basicSetStartConnector, basicTransform, canConnect, connectsSame, createHandles, getBezierPath, getEndConnector, getEndFigure, getLiner, getStartConnector, getStartFigure, handleMouseClick, lineout, read, readLiner, readPoints, remap, reverseConnection, setEndConnector, setEndPoint, setLiner, setPoint, setStartConnector, setStartPoint, updateConnection, validate, write, writeLiner, writePoints |
| Methods inherited from class org.jhotdraw.draw.AttributedFigure |
|---|
applyAttributesTo, drawConnectors, drawFigure, drawText, getAttribute, getAttributeKey, getAttributes, getStroke, getStrokeMiterLimitFactor, hasAttribute, isAttributeEnabled, readAttributes, removeAttribute, setAttribute, setAttributeEnabled, setAttributes, writeAttributes |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jhotdraw.draw.ConnectionFigure |
|---|
getEndPoint, getPoint, getPointCount, getStartPoint |
| Methods inherited from interface org.jhotdraw.draw.Figure |
|---|
addFigureListener, addUndoableEditListener, basicSetAttribute, basicSetBounds, changed, contains, draw, findCompatibleConnector, findConnector, findFigureInside, getActions, getAttribute, getAttributes, getBounds, getCursor, getDecomposition, getDecorator, getDrawBounds, getPreferredSize, getRestoreData, getTool, getTooltip, handleDrop, includes, invalidate, isConnectorsVisible, isInteractive, isVisible, removeFigureListener, removeUndoableEditListener, requestRemove, restoreTo, setAttribute, setConnectorsVisible, setDecorator, setVisible, willChange |
| Constructor Detail |
|---|
public DependencyFigure()
| Method Detail |
|---|
public boolean canConnect(Figure start,
Figure end)
canConnect in interface ConnectionFigurecanConnect in class LineConnectionFigurepublic boolean canConnect(Figure start)
ConnectionFigure
canConnect in interface ConnectionFigurecanConnect in class LineConnectionFigure
protected void handleDisconnect(Figure start,
Figure end)
handleDisconnect in class LineConnectionFigure
protected void handleConnect(Figure start,
Figure end)
handleConnect in class LineConnectionFigurepublic DependencyFigure clone()
Figure
clone in interface Figureclone in class LineConnectionFigurepublic int getLayer()
FigureFigureListener.figureChanged event to
its figure listeners.
FIXME - Replace int value by a Layer object.
getLayer in interface FiguregetLayer in class AbstractFigurepublic void removeNotify(Drawing d)
Figure
removeNotify in interface FigureremoveNotify in class LineConnectionFigure
|
Copyright 1996-2006 © JHotDraw.org | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||