Java com.vaadin.shared.ui MarginInfo fields, constructors, methods, implement or subclass

Example usage for Java com.vaadin.shared.ui MarginInfo fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.vaadin.shared.ui MarginInfo.

The text is from its open source code.

Constructor

MarginInfo(boolean top, boolean right, boolean bottom, boolean left)
Creates a MarginInfo object by having each edge specified in clockwise order (analogous to CSS).
MarginInfo(boolean enabled)
Creates a MarginInfo object with all edges set to either enabled or disabled.
MarginInfo(int bitMask)
Creates a MarginInfo object from a bit mask.
MarginInfo(MarginInfo other)
Creates a MarginInfo with the same values as another MarginInfo object.
MarginInfo(boolean vertical, boolean horizontal)
Creates a MarginInfo object by having horizontal and vertical margins specified (analogous to CSS).

Method

intgetBitMask()
Returns the current bit mask that make up the margin settings.
booleanhasBottom()
Checks if this MarginInfo object has the bottom edge margin enabled.
booleanhasLeft()
Checks if this MarginInfo object has the left edge margin enabled.
booleanhasRight()
Checks if this MarginInfo object has the right edge margin enabled.
booleanhasTop()
Checks if this MarginInfo object has the top edge margin enabled.