org.topcased.draw2d.layout
Class PortConstraint
java.lang.Object
org.topcased.draw2d.layout.PortConstraint
public class PortConstraint
- extends java.lang.Object
The constraint of a Figure contained by a BorderAttachedLayout. The
constraint consist of the bounds of the figure and an attachment to the
border of the container figure.
Creation : 14 oct. 2005
Constructor Summary |
PortConstraint(org.eclipse.draw2d.geometry.Rectangle rect,
int attach)
The Constructor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortConstraint
public PortConstraint(org.eclipse.draw2d.geometry.Rectangle rect,
int attach)
- The Constructor
- Parameters:
rect
- attach
-
getAttachment
public int getAttachment()
- Returns:
- Returns the attachment.
setAttachment
public void setAttachment(int attach)
- Parameters:
attach
- The attachment to set.
getRectConstraints
public org.eclipse.draw2d.geometry.Rectangle getRectConstraints()
- Returns:
- Returns the rectConstraints.
setRectConstraints
public void setRectConstraints(org.eclipse.draw2d.geometry.Rectangle constraints)
- Parameters:
constraints
- The rectConstraints to set.
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.