Package org.smallmind.nutsnbolts.layout
Class Constraint
- java.lang.Object
-
- org.smallmind.nutsnbolts.layout.Constraint
-
- Direct Known Subclasses:
MutableConstraint
public class Constraint extends Object
-
-
Constructor Summary
Constructors Constructor Description Constraint()Constraint(double grow, double shrink)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Constraintcontract()static MutableConstraintcreate()static Constraintexpand()doublegetGrow()doublegetShrink()static Constraintimmutable()static Constraintstretch()
-
-
-
Method Detail
-
immutable
public static Constraint immutable()
-
expand
public static Constraint expand()
-
contract
public static Constraint contract()
-
stretch
public static Constraint stretch()
-
create
public static MutableConstraint create()
-
getGrow
public double getGrow()
-
getShrink
public double getShrink()
-
-