Package org.eclipse.rap.rwt.theme
Class BoxDimensions
java.lang.Object
org.eclipse.rap.rwt.theme.BoxDimensions
- All Implemented Interfaces:
- 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:
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionBoxDimensions(int top, int right, int bottom, int left) Creates an immutable instance of BoxDimensions.
- 
Method Summary
- 
Field Details- 
toppublic final int topthe value for the upper edge
- 
rightpublic final int rightthe value for the right edge
- 
bottompublic final int bottomthe value for the lower edge
- 
leftpublic final int leftthe value for the left edge
 
- 
- 
Constructor Details- 
BoxDimensionspublic 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 edge
- right- the value for the right edge
- bottom- the value for the lower edge
- left- the value for the left edge
 
 
- 
- 
Method Details