| java.lang.Object com.jgoodies.forms.layout.BoundedSize
Constructor Summary | |
| BoundedSize(Size basis, Size lowerBound, Size upperBound) Constructs a BoundedSize for the given basis using the
specified lower and upper bounds. |
BoundedSize | BoundedSize(Size basis, Size lowerBound, Size upperBound)(Code) | | Constructs a BoundedSize for the given basis using the
specified lower and upper bounds.
Parameters: basis - the base size Parameters: lowerBound - the lower bound size Parameters: upperBound - the upper bound size throws: NullPointerException - if the basis is null |
equals | public boolean equals(Object object)(Code) | | Indicates whether some other BoundedSize is "equal to" this one.
Parameters: object - the object with which to compare true if this object is the same as the objectargument, false otherwise. See Also: Object.hashCode See Also: java.util.Hashtable |
hashCode | public int hashCode()(Code) | | Returns a hash code value for the object. This method is supported for
the benefit of hashtables such as those provided by
java.util.Hashtable .
a hash code value for this object. See Also: Object.equals(Object) See Also: java.util.Hashtable |
maximumSize | public int maximumSize(Container container, List components, FormLayout.Measure minMeasure, FormLayout.Measure prefMeasure, FormLayout.Measure defaultMeasure)(Code) | | Returns this size as pixel size. Neither requires the component list nor
the specified measures. Honors the lower and upper bound.
Invoked by FormSpec to determine the size of a column or
row.
Parameters: container - the layout container Parameters: components - the list of components to measure Parameters: minMeasure - the measure used to determine the minimum size Parameters: prefMeasure - the measure used to determine the preferred size Parameters: defaultMeasure - the measure used to determine the default size the maximum size in pixels See Also: FormSpec.maximumSize(ContainerListFormLayout.MeasureFormLayout.MeasureFormLayout.Measure) |
toString | public String toString()(Code) | | Returns a string representation of this size object.
Note: The string representation may change at any time.
It is strongly recommended to not use this string for parsing purposes.
a string representation of the constant size |
|
|