|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.draw2d.Figure
org.eclipse.draw2d.Shape
org.eclipse.draw2d.Polyline
org.eclipse.draw2d.PolylineConnection
de.upb.swt.epctools.figures.ArcFigure
public class ArcFigure
This figure represents an Arc.
| Nested Class Summary | |
|---|---|
(package private) class |
ArcFigure.LabelFigure
|
| Nested classes/interfaces inherited from class org.eclipse.draw2d.Figure |
|---|
org.eclipse.draw2d.Figure.FigureIterator, org.eclipse.draw2d.Figure.IdentitySearch |
| Nested classes/interfaces inherited from interface org.eclipse.draw2d.IFigure |
|---|
org.eclipse.draw2d.IFigure.NoInsets |
| Field Summary | |
|---|---|
private Arc |
m_arc
|
protected org.eclipse.draw2d.PolylineDecoration |
m_decoration
|
protected org.eclipse.draw2d.ImageFigure |
m_image_figure
|
private int |
m_image_offset_x
|
private int |
m_image_offset_y
|
protected org.eclipse.draw2d.Label |
m_label
|
private ArcFigure.LabelFigure |
m_label_figure
|
private int |
m_label_figure_offset_x
|
private int |
m_label_figure_offset_y
|
private int |
m_label_offset_x
|
private int |
m_label_offset_y
|
protected org.eclipse.draw2d.IFigure |
m_parent_figure
|
static int |
RECTANGLE_HEIGHT
|
static int |
RECTANGLE_WIDTH
|
| Fields inherited from class org.eclipse.draw2d.Shape |
|---|
lineStyle, lineWidth |
| 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.Connection |
|---|
PROPERTY_CONNECTION_ROUTER, PROPERTY_POINTS |
| Fields inherited from interface org.eclipse.draw2d.IFigure |
|---|
MAX_DIMENSION, MIN_DIMENSION, NO_INSETS |
| Constructor Summary | |
|---|---|
ArcFigure(Arc arc,
org.eclipse.draw2d.IFigure parent_figure)
|
|
| Method Summary | |
|---|---|
void |
paintFigure(org.eclipse.draw2d.Graphics g)
|
void |
removeNotify()
|
private void |
setLineStyle(Arc arc)
Sets the lineStyle to DASHED if source == opt RangeConnector, opt RoleItem, opt Input ObjectItem, or if target == opt RangeConnector, opt Output ObjectItem NOTE: this method only works when the figure is created from an existing file (e.g. |
protected void |
setSubBounds()
|
| Methods inherited from class org.eclipse.draw2d.PolylineConnection |
|---|
addNotify, addRoutingListener, anchorMoved, getBounds, getConnectionRouter, getRoutingConstraint, getSourceAnchor, getSourceDecoration, getTargetAnchor, getTargetDecoration, layout, removeRoutingListener, revalidate, setConnectionRouter, setRoutingConstraint, setSourceAnchor, setSourceDecoration, setTargetAnchor, setTargetDecoration |
| Methods inherited from class org.eclipse.draw2d.Polyline |
|---|
addPoint, containsPoint, fillShape, getEnd, getPoints, getStart, insertPoint, isOpaque, outlineShape, primTranslate, removeAllPoints, removePoint, setEnd, setEndpoints, setLineWidth, setPoint, setPoints, setStart, setTolerance |
| Methods inherited from class org.eclipse.draw2d.Shape |
|---|
getLineStyle, getLineWidth, setFill, setFillXOR, setLineStyle, setOutline, setOutlineXOR, setXOR |
| Methods inherited from class org.eclipse.draw2d.Figure |
|---|
add, add, add, add, addAncestorListener, addCoordinateListener, addFigureListener, addFocusListener, addKeyListener, addLayoutListener, addListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, containsPoint, erase, findDescendantAtExcluding, findFigureAt, findFigureAt, findFigureAt, findFigureAtExcluding, findMouseEventTargetAt, findMouseEventTargetInDescendantsAt, fireCoordinateSystemChanged, fireFigureMoved, fireMoved, firePropertyChange, firePropertyChange, firePropertyChange, getBackgroundColor, getBorder, getChildren, getClientArea, getClientArea, getCursor, getFlag, getFont, getForegroundColor, getInsets, getLayoutManager, getListeners, getLocalBackgroundColor, getLocalFont, getLocalForegroundColor, getLocation, getMaximumSize, getMinimumSize, getMinimumSize, getParent, getPreferredSize, getPreferredSize, getSize, getToolTip, getUpdateManager, handleFocusGained, handleFocusLost, handleKeyPressed, handleKeyReleased, handleMouseDoubleClicked, handleMouseDragged, handleMouseEntered, handleMouseExited, handleMouseHover, handleMouseMoved, handleMousePressed, handleMouseReleased, hasFocus, internalGetEventDispatcher, intersects, invalidate, invalidateTree, isCoordinateSystem, isEnabled, isFocusTraversable, isMirrored, isMouseEventTarget, isRequestFocusEnabled, isShowing, isValid, isValidationRoot, isVisible, paint, paintBorder, paintChildren, paintClientArea, remove, removeAll, removeAncestorListener, removeCoordinateListener, removeFigureListener, removeFocusListener, removeKeyListener, removeLayoutListener, removeListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, setBackgroundColor, setBorder, setBounds, setChildrenDirection, setChildrenEnabled, setChildrenOrientation, setConstraint, setCursor, setEnabled, setFlag, setFocusTraversable, setFont, setForegroundColor, setLayoutManager, setLocation, setMaximumSize, setMinimumSize, setOpaque, setParent, setPreferredSize, setPreferredSize, setRequestFocusEnabled, setSize, setSize, setToolTip, setValid, setVisible, translate, translateFromParent, translateToAbsolute, translateToParent, translateToRelative, useLocalCoordinates, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.draw2d.Connection |
|---|
getPoints, setPoints |
| Methods inherited from interface org.eclipse.draw2d.IFigure |
|---|
add, add, add, add, addAncestorListener, addCoordinateListener, addFigureListener, addFocusListener, addKeyListener, addLayoutListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, containsPoint, containsPoint, erase, findFigureAt, findFigureAt, findFigureAt, findFigureAtExcluding, findMouseEventTargetAt, getBackgroundColor, getBorder, getChildren, getClientArea, getClientArea, getCursor, getFont, getForegroundColor, getInsets, getLayoutManager, getLocalBackgroundColor, getLocalForegroundColor, getMaximumSize, getMinimumSize, getMinimumSize, getParent, getPreferredSize, getPreferredSize, getSize, getToolTip, getUpdateManager, handleFocusGained, handleFocusLost, handleKeyPressed, handleKeyReleased, handleMouseDoubleClicked, handleMouseDragged, handleMouseEntered, handleMouseExited, handleMouseHover, handleMouseMoved, handleMousePressed, handleMouseReleased, hasFocus, internalGetEventDispatcher, intersects, invalidate, invalidateTree, isCoordinateSystem, isEnabled, isFocusTraversable, isMirrored, isOpaque, isRequestFocusEnabled, isShowing, isVisible, paint, remove, removeAncestorListener, removeCoordinateListener, removeFigureListener, removeFocusListener, removeKeyListener, removeLayoutListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, setBackgroundColor, setBorder, setBounds, setConstraint, setCursor, setEnabled, setFocusTraversable, setFont, setForegroundColor, setLayoutManager, setLocation, setMaximumSize, setMinimumSize, setOpaque, setParent, setPreferredSize, setRequestFocusEnabled, setSize, setSize, setToolTip, setVisible, translate, translateFromParent, translateToAbsolute, translateToParent, translateToRelative, validate |
| Field Detail |
|---|
public static int RECTANGLE_WIDTH
public static int RECTANGLE_HEIGHT
private Arc m_arc
protected org.eclipse.draw2d.Label m_label
private ArcFigure.LabelFigure m_label_figure
protected org.eclipse.draw2d.PolylineDecoration m_decoration
protected org.eclipse.draw2d.IFigure m_parent_figure
protected org.eclipse.draw2d.ImageFigure m_image_figure
private int m_label_figure_offset_x
private int m_label_figure_offset_y
private int m_label_offset_x
private int m_label_offset_y
private int m_image_offset_x
private int m_image_offset_y
| Constructor Detail |
|---|
public ArcFigure(Arc arc,
org.eclipse.draw2d.IFigure parent_figure)
| Method Detail |
|---|
private void setLineStyle(Arc arc)
protected void setSubBounds()
public void paintFigure(org.eclipse.draw2d.Graphics g)
paintFigure in class org.eclipse.draw2d.Shapepublic void removeNotify()
removeNotify in interface org.eclipse.draw2d.IFigureremoveNotify in class org.eclipse.draw2d.PolylineConnection
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||