Class Insets
java.lang.Object
com.vaadin.featurepack.desktop.geometry.Insets
- All Implemented Interfaces:
Serializable,Cloneable
A class that represents the external padding of a container. It specifies how
much extra space should be left around the container.
- Author:
- Vaadin Ltd
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInsets(int top, int left, int bottom, int right) Creates a newInsetsobject with the specified top, left, bottom, and right insets. -
Method Summary
-
Field Details
-
top
public int topThe inset from the top. -
left
public int leftThe inset from the left. -
bottom
public int bottomThe inset from the bottom. -
right
public int rightThe inset from the right.
-
-
Constructor Details
-
Insets
public Insets(int top, int left, int bottom, int right) Creates a newInsetsobject with the specified top, left, bottom, and right insets.- Parameters:
top- the inset from the topleft- the inset from the leftbottom- the inset from the bottomright- the inset from the right
-
-
Method Details
-
set
public void set(int top, int left, int bottom, int right) Sets the insets to the specified values.- Parameters:
top- the inset from the topleft- the inset from the leftbottom- the inset from the bottomright- the inset from the right
-
equals
-
hashCode
public int hashCode() -
clone
-