Package de.xima.fc.css.builder
Class CssBuilder
- java.lang.Object
-
- de.xima.fc.css.builder.CssBuilder
-
public final class CssBuilder extends Object
Static factory methods for different CSS syntax types. Recommended usage is via static imports.- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
cap(double value)
static String
cap(long value)
static String
capitalHeight(double value)
static String
capitalHeight(long value)
static String
centimeters(double value)
static String
centimeters(long value)
static String
ch(double value)
static String
ch(long value)
static String
characterUnit(double value)
static String
characterUnit(long value)
static String
cm(double value)
static String
cm(long value)
static CssDeclarationListBuilder
declarationList()
static String
deg(double value)
static String
deg(long value)
static String
degrees(double value)
static String
degrees(long value)
static String
dotsPerCentimeter(double value)
static String
dotsPerCentimeter(long value)
static String
dotsPerInch(double value)
static String
dotsPerInch(long value)
static String
dotsPerPixel(double value)
static String
dotsPerPixel(long value)
static String
dpcm(double value)
static String
dpcm(long value)
static String
dpi(double value)
static String
dpi(long value)
static String
dppx(double value)
static String
dppx(long value)
static String
dvh(double value)
static String
dvh(long value)
static String
dvw(double value)
static String
dvw(long value)
static String
dynamicViewportHeight(double value)
static String
dynamicViewportHeight(long value)
static String
dynamicViewportWidth(double value)
static String
dynamicViewportWidth(long value)
static String
em(double value)
static String
em(long value)
static String
ex(double value)
static String
ex(long value)
static String
fontSize(double value)
static String
fontSize(long value)
static String
grad(double value)
static String
grad(long value)
static String
gradians(double value)
static String
gradians(long value)
static String
hertz(double value)
static String
hertz(long value)
static String
hz(double value)
static String
hz(long value)
static String
ic(double value)
static String
ic(long value)
static String
in(double value)
static String
in(long value)
static String
inches(double value)
static String
inches(long value)
static String
internationalCharacterUnit(double value)
static String
internationalCharacterUnit(long value)
static String
khz(double value)
static String
khz(long value)
static String
kilohertz(double value)
static String
kilohertz(long value)
static String
largeViewportHeight(double value)
static String
largeViewportHeight(long value)
static String
largeViewportWidth(double value)
static String
largeViewportWidth(long value)
static String
lh(double value)
static String
lh(long value)
static String
lineHeight(double value)
static String
lineHeight(long value)
static String
lvh(double value)
static String
lvh(long value)
static String
lvw(double value)
static String
lvw(long value)
static String
millimeters(double value)
static String
millimeters(long value)
static String
milliseconds(double value)
static String
milliseconds(long value)
static String
mm(double value)
static String
mm(long value)
static String
ms(double value)
static String
ms(long value)
static String
pc(double value)
static String
pc(long value)
static String
percent(double value)
static String
percent(long value)
static String
picas(double value)
static String
picas(long value)
static String
pixels(double value)
static String
pixels(long value)
static String
points(double value)
static String
points(long value)
static String
pt(double value)
static String
pt(long value)
static String
px(double value)
static String
px(long value)
static String
q(double value)
static String
q(long value)
static String
quarterMillimeters(double value)
static String
quarterMillimeters(long value)
static String
rad(double value)
static String
rad(long value)
static String
radians(double value)
static String
radians(long value)
static String
rch(double value)
static String
rch(long value)
static String
rem(double value)
static String
rem(long value)
static String
rex(double value)
static String
rex(long value)
static String
ric(double value)
static String
ric(long value)
static String
rlh(double value)
static String
rlh(long value)
static String
rootCap(double value)
static String
rootCap(long value)
static String
rootCapitalHeight(double value)
static String
rootCapitalHeight(long value)
static String
rootCharacterUnit(double value)
static String
rootCharacterUnit(long value)
static String
rootFontSize(double value)
static String
rootFontSize(long value)
static String
rootInternationalCharacterUnit(double value)
static String
rootInternationalCharacterUnit(long value)
static String
rootLineHeight(double value)
static String
rootLineHeight(long value)
static String
rootXHeight(double value)
static String
rootXHeight(long value)
static CssRuleListBuilder
ruleList()
static String
s(double value)
static String
s(long value)
static String
seconds(double value)
static String
seconds(long value)
static CssSelectorBuilder
selector()
static String
smallViewportHeight(double value)
static String
smallViewportHeight(long value)
static String
smallViewportWidth(double value)
static String
smallViewportWidth(long value)
static String
svh(double value)
static String
svh(long value)
static String
svw(double value)
static String
svw(long value)
static CssTransformListBuilder
transformList()
static String
turn(double value)
static String
turn(long value)
static String
turns(double value)
static String
turns(long value)
static String
vb(double value)
static String
vb(long value)
static String
vh(double value)
static String
vh(long value)
static String
vi(double value)
static String
vi(long value)
static String
viewportBlockAxis(double value)
static String
viewportBlockAxis(long value)
static String
viewportHeight(double value)
static String
viewportHeight(long value)
static String
viewportInlineAxis(double value)
static String
viewportInlineAxis(long value)
static String
viewportMax(double value)
static String
viewportMax(long value)
static String
viewportMin(double value)
static String
viewportMin(long value)
static String
viewportWidth(double value)
static String
viewportWidth(long value)
static String
vmax(double value)
static String
vmax(long value)
static String
vmin(double value)
static String
vmin(long value)
static String
vw(double value)
static String
vw(long value)
static String
xHeight(double value)
static String
xHeight(long value)
-
-
-
Method Detail
-
cap
public static String cap(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#CAP
.
-
cap
public static String cap(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#CAP
.
-
capitalHeight
public static String capitalHeight(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#CAPITAL_HEIGHT
.
-
capitalHeight
public static String capitalHeight(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#CAPITAL_HEIGHT
.
-
centimeters
public static String centimeters(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#CENTIMETERS
.
-
centimeters
public static String centimeters(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#CENTIMETERS
.
-
ch
public static String ch(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#CH
.
-
ch
public static String ch(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#CH
.
-
characterUnit
public static String characterUnit(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#CHARACTER_UNIT
.
-
characterUnit
public static String characterUnit(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#CHARACTER_UNIT
.
-
cm
public static String cm(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#CM
.
-
cm
public static String cm(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#CM
.
-
declarationList
public static CssDeclarationListBuilder declarationList()
- Returns:
- A new empty stand-alone CSS declaration list builder.
-
deg
public static String deg(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#DEG
.
-
deg
public static String deg(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#DEG
.
-
degrees
public static String degrees(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#DEGREES
.
-
degrees
public static String degrees(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#DEGREES
.
-
dotsPerCentimeter
public static String dotsPerCentimeter(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#DOTS_PER_CENTIMETER
.
-
dotsPerCentimeter
public static String dotsPerCentimeter(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#DOTS_PER_CENTIMETER
.
-
dotsPerInch
public static String dotsPerInch(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#DOTS_PER_INCH
.
-
dotsPerInch
public static String dotsPerInch(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#DOTS_PER_INCH
.
-
dotsPerPixel
public static String dotsPerPixel(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#DOTS_PER_PIXEL
.
-
dotsPerPixel
public static String dotsPerPixel(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#DOTS_PER_PIXEL
.
-
dpcm
public static String dpcm(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#DPCM
.
-
dpcm
public static String dpcm(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#DPCM
.
-
dpi
public static String dpi(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#DPI
.
-
dpi
public static String dpi(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#DPI
.
-
dppx
public static String dppx(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#DPPX
.
-
dppx
public static String dppx(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#DPPX
.
-
dvh
public static String dvh(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#DVH
.
-
dvh
public static String dvh(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#DVH
.
-
dvw
public static String dvw(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#DVW
.
-
dvw
public static String dvw(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#DVW
.
-
dynamicViewportHeight
public static String dynamicViewportHeight(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#DYNAMIC_VIEWPORT_HEIGHT
.
-
dynamicViewportHeight
public static String dynamicViewportHeight(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#DYNAMIC_VIEWPORT_HEIGHT
.
-
dynamicViewportWidth
public static String dynamicViewportWidth(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#DYNAMIC_VIEWPORT_WIDTH
.
-
dynamicViewportWidth
public static String dynamicViewportWidth(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#DYNAMIC_VIEWPORT_WIDTH
.
-
em
public static String em(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#EM
.
-
em
public static String em(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#EM
.
-
ex
public static String ex(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#EX
.
-
ex
public static String ex(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#EX
.
-
fontSize
public static String fontSize(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#FONT_SIZE
.
-
fontSize
public static String fontSize(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#FONT_SIZE
.
-
grad
public static String grad(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#GRAD
.
-
grad
public static String grad(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#GRAD
.
-
gradians
public static String gradians(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#GRADIANS
.
-
gradians
public static String gradians(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#GRADIANS
.
-
hertz
public static String hertz(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#HERTZ
.
-
hertz
public static String hertz(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#HERTZ
.
-
hz
public static String hz(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#HZ
.
-
hz
public static String hz(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#HZ
.
-
ic
public static String ic(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#IC
.
-
ic
public static String ic(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#IC
.
-
in
public static String in(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#IN
.
-
in
public static String in(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#IN
.
-
inches
public static String inches(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#INCHES
.
-
inches
public static String inches(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#INCHES
.
-
internationalCharacterUnit
public static String internationalCharacterUnit(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#INTERNATIONAL_CHARACTER_UNIT
.
-
internationalCharacterUnit
public static String internationalCharacterUnit(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#INTERNATIONAL_CHARACTER_UNIT
.
-
khz
public static String khz(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#KHZ
.
-
khz
public static String khz(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#KHZ
.
-
kilohertz
public static String kilohertz(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#KILOHERTZ
.
-
kilohertz
public static String kilohertz(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#KILOHERTZ
.
-
largeViewportHeight
public static String largeViewportHeight(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#LARGE_VIEWPORT_HEIGHT
.
-
largeViewportHeight
public static String largeViewportHeight(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#LARGE_VIEWPORT_HEIGHT
.
-
largeViewportWidth
public static String largeViewportWidth(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#LARGE_VIEWPORT_WIDTH
.
-
largeViewportWidth
public static String largeViewportWidth(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#LARGE_VIEWPORT_WIDTH
.
-
lh
public static String lh(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#LH
.
-
lh
public static String lh(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#LH
.
-
lineHeight
public static String lineHeight(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#LINE_HEIGHT
.
-
lineHeight
public static String lineHeight(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#LINE_HEIGHT
.
-
lvh
public static String lvh(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#LVH
.
-
lvh
public static String lvh(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#LVH
.
-
lvw
public static String lvw(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#LVW
.
-
lvw
public static String lvw(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#LVW
.
-
millimeters
public static String millimeters(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#MILLIMETERS
.
-
millimeters
public static String millimeters(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#MILLIMETERS
.
-
milliseconds
public static String milliseconds(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#MILLISECONDS
.
-
milliseconds
public static String milliseconds(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#MILLISECONDS
.
-
mm
public static String mm(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#MM
.
-
mm
public static String mm(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#MM
.
-
ms
public static String ms(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#MS
.
-
ms
public static String ms(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#MS
.
-
pc
public static String pc(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#PC
.
-
pc
public static String pc(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#PC
.
-
percent
public static String percent(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#PERCENT
.
-
percent
public static String percent(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#PERCENT
.
-
picas
public static String picas(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#PICAS
.
-
picas
public static String picas(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#PICAS
.
-
pixels
public static String pixels(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#PIXELS
.
-
pixels
public static String pixels(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#PIXELS
.
-
points
public static String points(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#POINTS
.
-
points
public static String points(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#POINTS
.
-
pt
public static String pt(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#PT
.
-
pt
public static String pt(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#PT
.
-
px
public static String px(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#PX
.
-
px
public static String px(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#PX
.
-
q
public static String q(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#Q
.
-
q
public static String q(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#Q
.
-
quarterMillimeters
public static String quarterMillimeters(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#QUARTER_MILLIMETERS
.
-
quarterMillimeters
public static String quarterMillimeters(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#QUARTER_MILLIMETERS
.
-
rad
public static String rad(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#RAD
.
-
rad
public static String rad(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#RAD
.
-
radians
public static String radians(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#RADIANS
.
-
radians
public static String radians(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#RADIANS
.
-
rch
public static String rch(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#RCH
.
-
rch
public static String rch(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#RCH
.
-
rem
public static String rem(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#REM
.
-
rem
public static String rem(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#REM
.
-
rex
public static String rex(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#REX
.
-
rex
public static String rex(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#REX
.
-
ric
public static String ric(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#RIC
.
-
ric
public static String ric(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#RIC
.
-
rlh
public static String rlh(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#RLH
.
-
rlh
public static String rlh(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#RLH
.
-
rootCap
public static String rootCap(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#ROOT_CAP
.
-
rootCap
public static String rootCap(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#ROOT_CAP
.
-
rootCapitalHeight
public static String rootCapitalHeight(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#ROOT_CAPITAL_HEIGHT
.
-
rootCapitalHeight
public static String rootCapitalHeight(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#ROOT_CAPITAL_HEIGHT
.
-
rootCharacterUnit
public static String rootCharacterUnit(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#ROOT_CHARACTER_UNIT
.
-
rootCharacterUnit
public static String rootCharacterUnit(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#ROOT_CHARACTER_UNIT
.
-
rootFontSize
public static String rootFontSize(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#ROOT_FONT_SIZE
.
-
rootFontSize
public static String rootFontSize(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#ROOT_FONT_SIZE
.
-
rootInternationalCharacterUnit
public static String rootInternationalCharacterUnit(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#ROOT_INTERNATIONAL_CHARACTER_UNIT
.
-
rootInternationalCharacterUnit
public static String rootInternationalCharacterUnit(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#ROOT_INTERNATIONAL_CHARACTER_UNIT
.
-
rootLineHeight
public static String rootLineHeight(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#ROOT_LINE_HEIGHT
.
-
rootLineHeight
public static String rootLineHeight(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#ROOT_LINE_HEIGHT
.
-
rootXHeight
public static String rootXHeight(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#ROOT_X_HEIGHT
.
-
rootXHeight
public static String rootXHeight(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#ROOT_X_HEIGHT
.
-
ruleList
public static CssRuleListBuilder ruleList()
- Returns:
- A new empty rule list builder.
-
s
public static String s(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#S
.
-
s
public static String s(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#S
.
-
seconds
public static String seconds(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#SECONDS
.
-
seconds
public static String seconds(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#SECONDS
.
-
selector
public static CssSelectorBuilder selector()
- Returns:
- A new empty selector builder.
-
smallViewportHeight
public static String smallViewportHeight(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#SMALL_VIEWPORT_HEIGHT
.
-
smallViewportHeight
public static String smallViewportHeight(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#SMALL_VIEWPORT_HEIGHT
.
-
smallViewportWidth
public static String smallViewportWidth(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#SMALL_VIEWPORT_WIDTH
.
-
smallViewportWidth
public static String smallViewportWidth(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#SMALL_VIEWPORT_WIDTH
.
-
svh
public static String svh(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#SVH
.
-
svh
public static String svh(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#SVH
.
-
svw
public static String svw(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#SVW
.
-
svw
public static String svw(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#SVW
.
-
transformList
public static CssTransformListBuilder transformList()
- Returns:
- A new empty transform list builder.
-
turn
public static String turn(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#TURN
.
-
turn
public static String turn(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#TURN
.
-
turns
public static String turns(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#TURNS
.
-
turns
public static String turns(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#TURNS
.
-
vb
public static String vb(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#VB
.
-
vb
public static String vb(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#VB
.
-
vh
public static String vh(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#VH
.
-
vh
public static String vh(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#VH
.
-
vi
public static String vi(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#VI
.
-
vi
public static String vi(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#VI
.
-
viewportBlockAxis
public static String viewportBlockAxis(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#VIEWPORT_BLOCK_AXIS
.
-
viewportBlockAxis
public static String viewportBlockAxis(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#VIEWPORT_BLOCK_AXIS
.
-
viewportHeight
public static String viewportHeight(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#VIEWPORT_HEIGHT
.
-
viewportHeight
public static String viewportHeight(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#VIEWPORT_HEIGHT
.
-
viewportInlineAxis
public static String viewportInlineAxis(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#VIEWPORT_INLINE_AXIS
.
-
viewportInlineAxis
public static String viewportInlineAxis(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#VIEWPORT_INLINE_AXIS
.
-
viewportMax
public static String viewportMax(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#VIEWPORT_MAX
.
-
viewportMax
public static String viewportMax(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#VIEWPORT_MAX
.
-
viewportMin
public static String viewportMin(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#VIEWPORT_MIN
.
-
viewportMin
public static String viewportMin(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#VIEWPORT_MIN
.
-
viewportWidth
public static String viewportWidth(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#VIEWPORT_WIDTH
.
-
viewportWidth
public static String viewportWidth(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#VIEWPORT_WIDTH
.
-
vmax
public static String vmax(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#VMAX
.
-
vmax
public static String vmax(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#VMAX
.
-
vmin
public static String vmin(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#VMIN
.
-
vmin
public static String vmin(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#VMIN
.
-
vw
public static String vw(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#VW
.
-
vw
public static String vw(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#VW
.
-
xHeight
public static String xHeight(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#X_HEIGHT
.
-
xHeight
public static String xHeight(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
#X_HEIGHT
.
-
-