Package org.eclipse.rap.rwt.theme
Class BoxDimensions
- java.lang.Object
-
- org.eclipse.rap.rwt.theme.BoxDimensions
-
- All Implemented Interfaces:
java.io.Serializable
public class BoxDimensions extends java.lang.Object implements java.io.Serializable
Represents a set of dimensions that apply to the four edges of a widget, e.g. padding or border widths.- Since:
- 3.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BoxDimensions(int top, int right, int bottom, int left)
Creates an immutable instance of BoxDimensions.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
hashCode()
-
-
-
Constructor Detail
-
BoxDimensions
public BoxDimensions(int top, int right, int bottom, int left)
Creates an immutable instance of BoxDimensions. Values are specified in the same order as known from CSS box model, clock-wise, starting at the top.- Parameters:
top
- the value for the upper edgeright
- the value for the right edgebottom
- the value for the lower edgeleft
- the value for the left edge
-
-