public enum BoxSizing extends Enum<BoxSizing>
box-sizing
.Enum Constant and Description |
---|
BORDER_BOX
Tells the browser to account for any border and padding in the values you
specify for an element's width and height.
|
CONTENT_BOX
Sets the default CSS box-sizing behavior.
|
UNDEFINED
When the box-sizing is undefined, it's up to the element client-side
implementation to define how its internal the box model should be
defined.
|
Modifier and Type | Method and Description |
---|---|
static BoxSizing |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BoxSizing[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BoxSizing UNDEFINED
public static final BoxSizing CONTENT_BOX
public static final BoxSizing BORDER_BOX
public static BoxSizing[] values()
for (BoxSizing c : BoxSizing.values()) System.out.println(c);
public static BoxSizing valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2023. All rights reserved.