class CssBoxProperties
extends java.lang.Object
implements java.io.Serializable
限定符和类型 | 字段和说明 |
---|---|
private @Pattern(regexp="#\\w+|rgba?\\s*\\(\\d+\\s*,\\s*\\d+\\s*,\\s*\\d+\\s*(,\\s*\\d?(\\.\\d+)?)?\\s*\\)|hsla?\\s*\\(\\d+\\s*,\\s*\\d+%\\s*,\\s*\\d+\\s*%(,\\s*\\d?(\\.\\d+)?)?\\s*\\)|\\w+|none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|inherit|thin|medium|thick|auto|^\\d+(\\.\\d+)?(cm|px|em|ex|mm|in|pt|pc|vh|vw|vmin|vmax|ch|rem|%)?") java.lang.String |
bottom |
private @Pattern(regexp="#\\w+|rgba?\\s*\\(\\d+\\s*,\\s*\\d+\\s*,\\s*\\d+\\s*(,\\s*\\d?(\\.\\d+)?)?\\s*\\)|hsla?\\s*\\(\\d+\\s*,\\s*\\d+%\\s*,\\s*\\d+\\s*%(,\\s*\\d?(\\.\\d+)?)?\\s*\\)|\\w+|none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|inherit|thin|medium|thick|auto|^\\d+(\\.\\d+)?(cm|px|em|ex|mm|in|pt|pc|vh|vw|vmin|vmax|ch|rem|%)?") java.lang.String |
left |
static java.lang.String |
REG_INPUT |
static java.lang.String |
REG_INPUT_BORDER_STYLE |
static java.lang.String |
REG_INPUT_BORDER_WIDTH |
static java.lang.String |
REG_INPUT_COLOR |
static java.lang.String |
REG_INPUT_COLOR_HEX |
static java.lang.String |
REG_INPUT_COLOR_HSL |
static java.lang.String |
REG_INPUT_COLOR_RGB |
static java.lang.String |
REG_INPUT_LENGTH |
private @Pattern(regexp="#\\w+|rgba?\\s*\\(\\d+\\s*,\\s*\\d+\\s*,\\s*\\d+\\s*(,\\s*\\d?(\\.\\d+)?)?\\s*\\)|hsla?\\s*\\(\\d+\\s*,\\s*\\d+%\\s*,\\s*\\d+\\s*%(,\\s*\\d?(\\.\\d+)?)?\\s*\\)|\\w+|none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|inherit|thin|medium|thick|auto|^\\d+(\\.\\d+)?(cm|px|em|ex|mm|in|pt|pc|vh|vw|vmin|vmax|ch|rem|%)?") java.lang.String |
right |
private static long |
serialVersionUID |
private @Pattern(regexp="#\\w+|rgba?\\s*\\(\\d+\\s*,\\s*\\d+\\s*,\\s*\\d+\\s*(,\\s*\\d?(\\.\\d+)?)?\\s*\\)|hsla?\\s*\\(\\d+\\s*,\\s*\\d+%\\s*,\\s*\\d+\\s*%(,\\s*\\d?(\\.\\d+)?)?\\s*\\)|\\w+|none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|inherit|thin|medium|thick|auto|^\\d+(\\.\\d+)?(cm|px|em|ex|mm|in|pt|pc|vh|vw|vmin|vmax|ch|rem|%)?") java.lang.String |
top |
构造器和说明 |
---|
CssBoxProperties() |
CssBoxProperties(java.lang.String topBottomLeftRight) |
CssBoxProperties(java.lang.String topBottom,
java.lang.String leftRight) |
CssBoxProperties(java.lang.String top,
java.lang.String leftRight,
java.lang.String bottom) |
CssBoxProperties(java.lang.String top,
java.lang.String right,
java.lang.String bottom,
java.lang.String left) |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getBottom() |
java.lang.String |
getLeft() |
java.lang.String |
getRight() |
java.lang.String |
getTop() |
boolean |
isAllSame() |
boolean |
isEmpty() |
boolean |
isSame2() |
boolean |
isSame3() |
void |
setBottom(java.lang.String bottom) |
void |
setLeft(java.lang.String left) |
void |
setRight(java.lang.String right) |
void |
setTop(java.lang.String top) |
public static final java.lang.String REG_INPUT_COLOR_HEX
public static final java.lang.String REG_INPUT_COLOR_RGB
public static final java.lang.String REG_INPUT_COLOR_HSL
public static final java.lang.String REG_INPUT_COLOR
public static final java.lang.String REG_INPUT_BORDER_STYLE
public static final java.lang.String REG_INPUT_BORDER_WIDTH
public static final java.lang.String REG_INPUT_LENGTH
public static final java.lang.String REG_INPUT
private static final long serialVersionUID
@Pattern(regexp="#\\w+|rgba?\\s*\\(\\d+\\s*,\\s*\\d+\\s*,\\s*\\d+\\s*(,\\s*\\d?(\\.\\d+)?)?\\s*\\)|hsla?\\s*\\(\\d+\\s*,\\s*\\d+%\\s*,\\s*\\d+\\s*%(,\\s*\\d?(\\.\\d+)?)?\\s*\\)|\\w+|none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|inherit|thin|medium|thick|auto|^\\d+(\\.\\d+)?(cm|px|em|ex|mm|in|pt|pc|vh|vw|vmin|vmax|ch|rem|%)?") private @Pattern(regexp="#\\w+|rgba?\\s*\\(\\d+\\s*,\\s*\\d+\\s*,\\s*\\d+\\s*(,\\s*\\d?(\\.\\d+)?)?\\s*\\)|hsla?\\s*\\(\\d+\\s*,\\s*\\d+%\\s*,\\s*\\d+\\s*%(,\\s*\\d?(\\.\\d+)?)?\\s*\\)|\\w+|none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|inherit|thin|medium|thick|auto|^\\d+(\\.\\d+)?(cm|px|em|ex|mm|in|pt|pc|vh|vw|vmin|vmax|ch|rem|%)?") java.lang.String top
@Pattern(regexp="#\\w+|rgba?\\s*\\(\\d+\\s*,\\s*\\d+\\s*,\\s*\\d+\\s*(,\\s*\\d?(\\.\\d+)?)?\\s*\\)|hsla?\\s*\\(\\d+\\s*,\\s*\\d+%\\s*,\\s*\\d+\\s*%(,\\s*\\d?(\\.\\d+)?)?\\s*\\)|\\w+|none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|inherit|thin|medium|thick|auto|^\\d+(\\.\\d+)?(cm|px|em|ex|mm|in|pt|pc|vh|vw|vmin|vmax|ch|rem|%)?") private @Pattern(regexp="#\\w+|rgba?\\s*\\(\\d+\\s*,\\s*\\d+\\s*,\\s*\\d+\\s*(,\\s*\\d?(\\.\\d+)?)?\\s*\\)|hsla?\\s*\\(\\d+\\s*,\\s*\\d+%\\s*,\\s*\\d+\\s*%(,\\s*\\d?(\\.\\d+)?)?\\s*\\)|\\w+|none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|inherit|thin|medium|thick|auto|^\\d+(\\.\\d+)?(cm|px|em|ex|mm|in|pt|pc|vh|vw|vmin|vmax|ch|rem|%)?") java.lang.String right
@Pattern(regexp="#\\w+|rgba?\\s*\\(\\d+\\s*,\\s*\\d+\\s*,\\s*\\d+\\s*(,\\s*\\d?(\\.\\d+)?)?\\s*\\)|hsla?\\s*\\(\\d+\\s*,\\s*\\d+%\\s*,\\s*\\d+\\s*%(,\\s*\\d?(\\.\\d+)?)?\\s*\\)|\\w+|none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|inherit|thin|medium|thick|auto|^\\d+(\\.\\d+)?(cm|px|em|ex|mm|in|pt|pc|vh|vw|vmin|vmax|ch|rem|%)?") private @Pattern(regexp="#\\w+|rgba?\\s*\\(\\d+\\s*,\\s*\\d+\\s*,\\s*\\d+\\s*(,\\s*\\d?(\\.\\d+)?)?\\s*\\)|hsla?\\s*\\(\\d+\\s*,\\s*\\d+%\\s*,\\s*\\d+\\s*%(,\\s*\\d?(\\.\\d+)?)?\\s*\\)|\\w+|none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|inherit|thin|medium|thick|auto|^\\d+(\\.\\d+)?(cm|px|em|ex|mm|in|pt|pc|vh|vw|vmin|vmax|ch|rem|%)?") java.lang.String bottom
@Pattern(regexp="#\\w+|rgba?\\s*\\(\\d+\\s*,\\s*\\d+\\s*,\\s*\\d+\\s*(,\\s*\\d?(\\.\\d+)?)?\\s*\\)|hsla?\\s*\\(\\d+\\s*,\\s*\\d+%\\s*,\\s*\\d+\\s*%(,\\s*\\d?(\\.\\d+)?)?\\s*\\)|\\w+|none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|inherit|thin|medium|thick|auto|^\\d+(\\.\\d+)?(cm|px|em|ex|mm|in|pt|pc|vh|vw|vmin|vmax|ch|rem|%)?") private @Pattern(regexp="#\\w+|rgba?\\s*\\(\\d+\\s*,\\s*\\d+\\s*,\\s*\\d+\\s*(,\\s*\\d?(\\.\\d+)?)?\\s*\\)|hsla?\\s*\\(\\d+\\s*,\\s*\\d+%\\s*,\\s*\\d+\\s*%(,\\s*\\d?(\\.\\d+)?)?\\s*\\)|\\w+|none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|inherit|thin|medium|thick|auto|^\\d+(\\.\\d+)?(cm|px|em|ex|mm|in|pt|pc|vh|vw|vmin|vmax|ch|rem|%)?") java.lang.String left
public CssBoxProperties()
public CssBoxProperties(java.lang.String topBottomLeftRight)
public CssBoxProperties(java.lang.String topBottom, java.lang.String leftRight)
public CssBoxProperties(java.lang.String top, java.lang.String leftRight, java.lang.String bottom)
public CssBoxProperties(java.lang.String top, java.lang.String right, java.lang.String bottom, java.lang.String left)
public boolean isEmpty()
public boolean isAllSame()
public boolean isSame2()
public boolean isSame3()
public java.lang.String getTop()
public void setTop(java.lang.String top)
top
- the top to setpublic java.lang.String getRight()
public void setRight(java.lang.String right)
right
- the right to setpublic java.lang.String getBottom()
public void setBottom(java.lang.String bottom)
bottom
- the bottom to setpublic java.lang.String getLeft()
public void setLeft(java.lang.String left)
left
- the left to set