|
UML | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.topcased.draw2d.figures.PortFigure
org.topcased.modeler.uml.compositestructuresdiagram.figures.internal.InternalPortFigure
public class InternalPortFigure
Represents a 'Port' Figure.
The figure is represented with a white square attached to the border of its container.
A small state symbol is drawn inside the Port Figure when the Port property 'isBehavior' is set to true.
Constructor Summary | |
---|---|
InternalPortFigure()
Constructor |
Method Summary | |
---|---|
org.eclipse.draw2d.geometry.Dimension |
getPreferredSize(int wHint,
int hHint)
|
protected void |
outlineShape(org.eclipse.draw2d.Graphics graphics)
An internal Figure is drawn inside the Port Figure when the attribute 'isBehavior' is set to true. |
void |
setIsBehavior(boolean state)
Setter for the attribute 'isBehavior' of a Port |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InternalPortFigure()
Method Detail |
---|
public org.eclipse.draw2d.geometry.Dimension getPreferredSize(int wHint, int hHint)
public void setIsBehavior(boolean state)
state
- The current state of a Port (structure or behavior)protected void outlineShape(org.eclipse.draw2d.Graphics graphics)
org.topcased.draw2d.figures.PortFigure#outlineShape(org.eclipse.draw2d.Graphics)
|
UML | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.