|
Runtime | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.draw2d.Figure
org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure
org.eclipse.gmf.runtime.gef.ui.figures.WrapperNodeFigure
Wrapper NodeFigure figure to contain other figures, which may have different borders.
| Nested Class Summary |
| Nested classes inherited from class org.eclipse.draw2d.Figure |
Figure.FigureIterator, Figure.IdentitySearch |
| Nested classes inherited from class org.eclipse.draw2d.IFigure |
IFigure.NoInsets |
| Field Summary |
| Fields inherited from class org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure |
szAnchor |
| Fields inherited from class org.eclipse.draw2d.Figure |
bgColor, border, bounds, fgColor, flags, font, MAX_FLAG, maxSize, minSize, NO_MANAGER, prefSize, toolTip |
| Fields inherited from interface org.eclipse.draw2d.IFigure |
MAX_DIMENSION, MIN_DIMENSION, NO_INSETS |
| Constructor Summary | |
WrapperNodeFigure(IFigure subFigure)
Composite pattern for wrapping a template list compartment around any potential figure. |
|
| Method Summary | |
boolean |
containsPoint(int x,
int y)
|
Border |
getBorder()
This will return null since we have override the setBorder(Border) api. |
ConnectionAnchor |
getConnectionAnchor(java.lang.String terminal)
Given a string identifier, return the associated anchor for that identifier |
java.lang.String |
getConnectionAnchorTerminal(ConnectionAnchor c)
Dynamically allocates a new anchor if needed. |
Rectangle |
getHandleBounds()
|
ConnectionAnchor |
getSourceConnectionAnchorAt(Point p)
Gets the source connection anchor at a given point on the figure. |
ConnectionAnchor |
getTargetConnectionAnchorAt(Point p)
Gets the target connection anchor at a given point on the figure. |
protected void |
paintFigure(Graphics graphics)
|
void |
setBorder(Border border)
Sets the subfigure border. |
| Methods inherited from class org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure |
createAnchor, createConnectionAnchor, createDefaultAnchor, getConnectionAnchors, getDefaultAnchorID, getSlidableAnchorArea, isDefaultAnchorArea |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WrapperNodeFigure(IFigure subFigure)
subFigure - the IFigure that is being wrapped.| Method Detail |
public boolean containsPoint(int x,
int y)
public Rectangle getHandleBounds()
getHandleBounds in interface HandleBoundsgetHandleBounds in class NodeFigureprotected void paintFigure(Graphics graphics)
paintFigure in class NodeFigurepublic Border getBorder()
public void setBorder(Border border)
public ConnectionAnchor getSourceConnectionAnchorAt(Point p)
IAnchorableFigure
getSourceConnectionAnchorAt in interface IAnchorableFiguregetSourceConnectionAnchorAt in class NodeFigurepublic ConnectionAnchor getTargetConnectionAnchorAt(Point p)
IAnchorableFigure
getTargetConnectionAnchorAt in interface IAnchorableFiguregetTargetConnectionAnchorAt in class NodeFigurepublic ConnectionAnchor getConnectionAnchor(java.lang.String terminal)
IAnchorableFigure
getConnectionAnchor in interface IAnchorableFiguregetConnectionAnchor in class NodeFigurepublic java.lang.String getConnectionAnchorTerminal(ConnectionAnchor c)
IAnchorableFigure
getConnectionAnchorTerminal in interface IAnchorableFiguregetConnectionAnchorTerminal in class NodeFigure
|
Runtime | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.