|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jhotdraw.standard.AbstractFigure
org.jhotdraw.figures.AttributeFigure
org.jhotdraw.figures.TextFigure
org.jhotdraw.samples.net.NodeFigure
Field Summary |
Fields inherited from interface org.jhotdraw.framework.Figure |
POPUP_MENU |
Constructor Summary | |
NodeFigure()
|
Method Summary | |
Connector |
connectorAt(int x,
int y)
Returns the Figures connector for the specified location. |
void |
connectorVisibility(boolean isVisible,
ConnectionFigure courtingConnection)
Sets whether the connectors should be visible. |
boolean |
containsPoint(int x,
int y)
Checks if a point is inside the figure. |
java.awt.Rectangle |
displayBox()
Gets the display box of a figure. |
void |
draw(java.awt.Graphics g)
Draws the figure in the given graphics. |
Figure |
getRepresentingFigure()
Usually, a TextHolders is implemented by a Figure subclass. |
HandleEnumeration |
handles()
Returns the handles of a Figure that can be used to manipulate some of its attributes. |
Methods inherited from class org.jhotdraw.figures.TextFigure |
acceptsTyping, basicDisplayBox, basicMoveBy, changed, connect, createCurrentFont, disconnect, drawBackground, drawFrame, figureChanged, figureInvalidated, figureRemoved, figureRequestRemove, figureRequestUpdate, getAttribute, getAttribute, getFont, getLocator, getObservedFigure, getText, getTextHolder, markDirty, moveBy, overlayColumns, read, readOnly, release, setAttribute, setAttribute, setCurrentFontName, setCurrentFontSize, setCurrentFontStyle, setFont, setLocator, setObservedFigure, setReadOnly, setText, textDisplayBox, textExtent, updateLocation, write |
Methods inherited from class org.jhotdraw.figures.AttributeFigure |
getDefaultAttribute, getDefaultAttribute, getFillColor, getFrameColor, initDefaultAttribute, setDefaultAttribute |
Methods inherited from class org.jhotdraw.standard.AbstractFigure |
addDependendFigure, addFigureChangeListener, addToContainer, canConnect, center, clone, connectedTextLocator, connectionInsets, decompose, displayBox, displayBox, figures, findFigureInside, getDecoratedFigure, getDependendFigures, getZValue, includes, invalidate, invalidateRectangle, isEmpty, listener, removeDependendFigure, removeFigureChangeListener, removeFromContainer, setZValue, size, visit, willChange |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NodeFigure()
Method Detail |
public java.awt.Rectangle displayBox()
AbstractFigure
displayBox
in interface Figure
displayBox
in class TextFigure
Figure.displayBox()
public boolean containsPoint(int x, int y)
AbstractFigure
containsPoint
in interface Figure
containsPoint
in class AbstractFigure
public void draw(java.awt.Graphics g)
AttributeFigure
draw
in interface Figure
draw
in class AttributeFigure
public HandleEnumeration handles()
AbstractFigure
handles
in interface Figure
handles
in class TextFigure
Figure.handles()
public void connectorVisibility(boolean isVisible, ConnectionFigure courtingConnection)
AbstractFigure
connectorVisibility
in interface Figure
connectorVisibility
in class AbstractFigure
public Connector connectorAt(int x, int y)
AbstractFigure
connectorAt
in interface Figure
connectorAt
in class AbstractFigure
ChopBoxConnector
public Figure getRepresentingFigure()
getRepresentingFigure
in interface TextHolder
getRepresentingFigure
in class TextFigure
TextHolder.getRepresentingFigure()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |