|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.draw2d.Figure
org.jupe.editors.classdiagram.graphics.nodes.NodeFigure
org.jupe.editors.classdiagram.graphics.nodes.AbstractClassInterfaceFigure
public abstract class AbstractClassInterfaceFigure
Figure that represents either a uml2-class or a uml2-interface. A label is added that contains the name of the class or interface
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.draw2d.Figure |
---|
org.eclipse.draw2d.Figure.FigureIterator |
Nested classes/interfaces inherited from interface org.eclipse.draw2d.IFigure |
---|
org.eclipse.draw2d.IFigure.NoInsets |
Field Summary |
---|
Fields inherited from interface org.eclipse.draw2d.IFigure |
---|
MAX_DIMENSION, MIN_DIMENSION, NO_INSETS |
Constructor Summary | |
---|---|
AbstractClassInterfaceFigure(java.lang.String name)
Constructor for a new AbstractClassInterfaceFigure. |
Method Summary | |
---|---|
void |
add(org.eclipse.draw2d.IFigure figure,
java.lang.Object constraint,
int index)
Adds a new Figure with the given constraints to the AbstractClassInterfaceFigure |
java.lang.String |
getName()
Return the name of class or interface |
org.eclipse.draw2d.Label |
getNameLabel()
Return nameLabel of the AbstractClassInterfaceFigure. |
void |
remove(org.eclipse.draw2d.IFigure figure)
Remove a subfigure from its parent. |
void |
setName(java.lang.String newName)
Set the name of the class or interface. |
Methods inherited from class org.eclipse.draw2d.Figure |
---|
add, add, add, addAncestorListener, addCoordinateListener, addFigureListener, addFocusListener, addKeyListener, addLayoutListener, addMouseListener, addMouseMotionListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, containsPoint, containsPoint, erase, findFigureAt, findFigureAt, findFigureAt, findFigureAtExcluding, findMouseEventTargetAt, getBackgroundColor, getBorder, getBounds, getChildren, getClientArea, getClientArea, getCursor, getFont, getForegroundColor, getInsets, getLayoutManager, getLocalBackgroundColor, 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, isOpaque, isRequestFocusEnabled, isShowing, isVisible, paint, removeAll, removeAncestorListener, removeCoordinateListener, removeFigureListener, removeFocusListener, removeKeyListener, removeLayoutListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, revalidate, setBackgroundColor, setBorder, setBounds, setConstraint, setCursor, setEnabled, setFocusTraversable, setFont, setForegroundColor, setLayoutManager, setLocation, setMaximumSize, setMinimumSize, setOpaque, setParent, setPreferredSize, setPreferredSize, setRequestFocusEnabled, setSize, setSize, setToolTip, setValid, setVisible, translate, translateFromParent, translateToAbsolute, translateToParent, translateToRelative, validate |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractClassInterfaceFigure(java.lang.String name)
name
- the name of the class or interface to be set.Method Detail |
---|
public void setName(java.lang.String newName)
newName
- The new name.public java.lang.String getName()
public void add(org.eclipse.draw2d.IFigure figure, java.lang.Object constraint, int index)
add
in interface org.eclipse.draw2d.IFigure
add
in class org.eclipse.draw2d.Figure
figure
- the figure to be addedconstraint
- the constraint used on the figureindex
- index of insertionpublic void remove(org.eclipse.draw2d.IFigure figure)
remove
in interface org.eclipse.draw2d.IFigure
remove
in class org.eclipse.draw2d.Figure
figure
- the figure to be removedpublic org.eclipse.draw2d.Label getNameLabel()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |