Package xal.tools.apputils
Class EdgeConstraints
java.lang.Object
xal.tools.apputils.EdgeConstraints
- All Implemented Interfaces:
Cloneable
Edge Constraint defines the strut and growth constrains for a component. The
struts are measured from the specified edge of the component to the specified
edge of the container. For example, the right strut is the distance between
the right edge of the component and the right edge of the container.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int
protected int
how the component should growprotected int
protected int
protected int
how theprotected int
struts from each edge -
Constructor Summary
ConstructorsConstructorDescriptionEmpty ConstructorEdgeConstraints
(int aTopStrut, int aLeftStrut, int aBottomStrut, int aRightStrut, int aStrutBehavior, int aGrowBehavior) Constructor with all settings -
Method Summary
-
Field Details
-
growBehavior
protected int growBehaviorhow the component should grow -
strutBehavior
protected int strutBehaviorhow the -
topStrut
protected int topStrutstruts from each edge -
leftStrut
protected int leftStrut -
bottomStrut
protected int bottomStrut -
rightStrut
protected int rightStrut
-
-
Constructor Details
-
EdgeConstraints
public EdgeConstraints()Empty Constructor -
EdgeConstraints
public EdgeConstraints(int aTopStrut, int aLeftStrut, int aBottomStrut, int aRightStrut, int aStrutBehavior, int aGrowBehavior) Constructor with all settings
-
-
Method Details