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
ECssUnit.CAP
.
-
cap
public static String cap(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.CAP
.
-
capitalHeight
public static String capitalHeight(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.CAPITAL_HEIGHT
.
-
capitalHeight
public static String capitalHeight(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.CAPITAL_HEIGHT
.
-
centimeters
public static String centimeters(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.CENTIMETERS
.
-
centimeters
public static String centimeters(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.CENTIMETERS
.
-
ch
public static String ch(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.CH
.
-
ch
public static String ch(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.CH
.
-
characterUnit
public static String characterUnit(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.CHARACTER_UNIT
.
-
characterUnit
public static String characterUnit(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.CHARACTER_UNIT
.
-
cm
public static String cm(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.CM
.
-
cm
public static String cm(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.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
ECssUnit.DEG
.
-
deg
public static String deg(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.DEG
.
-
degrees
public static String degrees(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.DEGREES
.
-
degrees
public static String degrees(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.DEGREES
.
-
dotsPerCentimeter
public static String dotsPerCentimeter(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.DOTS_PER_CENTIMETER
.
-
dotsPerCentimeter
public static String dotsPerCentimeter(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.DOTS_PER_CENTIMETER
.
-
dotsPerInch
public static String dotsPerInch(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.DOTS_PER_INCH
.
-
dotsPerInch
public static String dotsPerInch(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.DOTS_PER_INCH
.
-
dotsPerPixel
public static String dotsPerPixel(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.DOTS_PER_PIXEL
.
-
dotsPerPixel
public static String dotsPerPixel(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.DOTS_PER_PIXEL
.
-
dpcm
public static String dpcm(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.DPCM
.
-
dpcm
public static String dpcm(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.DPCM
.
-
dpi
public static String dpi(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.DPI
.
-
dpi
public static String dpi(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.DPI
.
-
dppx
public static String dppx(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.DPPX
.
-
dppx
public static String dppx(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.DPPX
.
-
dvh
public static String dvh(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.DVH
.
-
dvh
public static String dvh(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.DVH
.
-
dvw
public static String dvw(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.DVW
.
-
dvw
public static String dvw(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.DVW
.
-
dynamicViewportHeight
public static String dynamicViewportHeight(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.DYNAMIC_VIEWPORT_HEIGHT
.
-
dynamicViewportHeight
public static String dynamicViewportHeight(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.DYNAMIC_VIEWPORT_HEIGHT
.
-
dynamicViewportWidth
public static String dynamicViewportWidth(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.DYNAMIC_VIEWPORT_WIDTH
.
-
dynamicViewportWidth
public static String dynamicViewportWidth(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.DYNAMIC_VIEWPORT_WIDTH
.
-
em
public static String em(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.EM
.
-
em
public static String em(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.EM
.
-
ex
public static String ex(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.EX
.
-
ex
public static String ex(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.EX
.
-
fontSize
public static String fontSize(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.FONT_SIZE
.
-
fontSize
public static String fontSize(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.FONT_SIZE
.
-
grad
public static String grad(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.GRAD
.
-
grad
public static String grad(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.GRAD
.
-
gradians
public static String gradians(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.GRADIANS
.
-
gradians
public static String gradians(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.GRADIANS
.
-
hertz
public static String hertz(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.HERTZ
.
-
hertz
public static String hertz(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.HERTZ
.
-
hz
public static String hz(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.HZ
.
-
hz
public static String hz(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.HZ
.
-
ic
public static String ic(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.IC
.
-
ic
public static String ic(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.IC
.
-
in
public static String in(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.IN
.
-
in
public static String in(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.IN
.
-
inches
public static String inches(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.INCHES
.
-
inches
public static String inches(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.INCHES
.
-
internationalCharacterUnit
public static String internationalCharacterUnit(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.INTERNATIONAL_CHARACTER_UNIT
.
-
internationalCharacterUnit
public static String internationalCharacterUnit(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.INTERNATIONAL_CHARACTER_UNIT
.
-
khz
public static String khz(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.KHZ
.
-
khz
public static String khz(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.KHZ
.
-
kilohertz
public static String kilohertz(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.KILOHERTZ
.
-
kilohertz
public static String kilohertz(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.KILOHERTZ
.
-
largeViewportHeight
public static String largeViewportHeight(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.LARGE_VIEWPORT_HEIGHT
.
-
largeViewportHeight
public static String largeViewportHeight(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.LARGE_VIEWPORT_HEIGHT
.
-
largeViewportWidth
public static String largeViewportWidth(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.LARGE_VIEWPORT_WIDTH
.
-
largeViewportWidth
public static String largeViewportWidth(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.LARGE_VIEWPORT_WIDTH
.
-
lh
public static String lh(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.LH
.
-
lh
public static String lh(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.LH
.
-
lineHeight
public static String lineHeight(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.LINE_HEIGHT
.
-
lineHeight
public static String lineHeight(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.LINE_HEIGHT
.
-
lvh
public static String lvh(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.LVH
.
-
lvh
public static String lvh(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.LVH
.
-
lvw
public static String lvw(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.LVW
.
-
lvw
public static String lvw(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.LVW
.
-
millimeters
public static String millimeters(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.MILLIMETERS
.
-
millimeters
public static String millimeters(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.MILLIMETERS
.
-
milliseconds
public static String milliseconds(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.MILLISECONDS
.
-
milliseconds
public static String milliseconds(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.MILLISECONDS
.
-
mm
public static String mm(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.MM
.
-
mm
public static String mm(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.MM
.
-
ms
public static String ms(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.MS
.
-
ms
public static String ms(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.MS
.
-
pc
public static String pc(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.PC
.
-
pc
public static String pc(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.PC
.
-
percent
public static String percent(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.PERCENT
.
-
percent
public static String percent(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.PERCENT
.
-
picas
public static String picas(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.PICAS
.
-
picas
public static String picas(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.PICAS
.
-
pixels
public static String pixels(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.PIXELS
.
-
pixels
public static String pixels(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.PIXELS
.
-
points
public static String points(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.POINTS
.
-
points
public static String points(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.POINTS
.
-
pt
public static String pt(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.PT
.
-
pt
public static String pt(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.PT
.
-
px
public static String px(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.PX
.
-
px
public static String px(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.PX
.
-
q
public static String q(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.Q
.
-
q
public static String q(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.Q
.
-
quarterMillimeters
public static String quarterMillimeters(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.QUARTER_MILLIMETERS
.
-
quarterMillimeters
public static String quarterMillimeters(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.QUARTER_MILLIMETERS
.
-
rad
public static String rad(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.RAD
.
-
rad
public static String rad(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.RAD
.
-
radians
public static String radians(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.RADIANS
.
-
radians
public static String radians(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.RADIANS
.
-
rch
public static String rch(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.RCH
.
-
rch
public static String rch(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.RCH
.
-
rem
public static String rem(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.REM
.
-
rem
public static String rem(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.REM
.
-
rex
public static String rex(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.REX
.
-
rex
public static String rex(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.REX
.
-
ric
public static String ric(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.RIC
.
-
ric
public static String ric(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.RIC
.
-
rlh
public static String rlh(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.RLH
.
-
rlh
public static String rlh(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.RLH
.
-
rootCap
public static String rootCap(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.ROOT_CAP
.
-
rootCap
public static String rootCap(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.ROOT_CAP
.
-
rootCapitalHeight
public static String rootCapitalHeight(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.ROOT_CAPITAL_HEIGHT
.
-
rootCapitalHeight
public static String rootCapitalHeight(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.ROOT_CAPITAL_HEIGHT
.
-
rootCharacterUnit
public static String rootCharacterUnit(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.ROOT_CHARACTER_UNIT
.
-
rootCharacterUnit
public static String rootCharacterUnit(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.ROOT_CHARACTER_UNIT
.
-
rootFontSize
public static String rootFontSize(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.ROOT_FONT_SIZE
.
-
rootFontSize
public static String rootFontSize(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.ROOT_FONT_SIZE
.
-
rootInternationalCharacterUnit
public static String rootInternationalCharacterUnit(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.ROOT_INTERNATIONAL_CHARACTER_UNIT
.
-
rootInternationalCharacterUnit
public static String rootInternationalCharacterUnit(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.ROOT_INTERNATIONAL_CHARACTER_UNIT
.
-
rootLineHeight
public static String rootLineHeight(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.ROOT_LINE_HEIGHT
.
-
rootLineHeight
public static String rootLineHeight(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.ROOT_LINE_HEIGHT
.
-
rootXHeight
public static String rootXHeight(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.ROOT_X_HEIGHT
.
-
rootXHeight
public static String rootXHeight(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.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
ECssUnit.S
.
-
s
public static String s(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.S
.
-
seconds
public static String seconds(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.SECONDS
.
-
seconds
public static String seconds(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.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
ECssUnit.SMALL_VIEWPORT_HEIGHT
.
-
smallViewportHeight
public static String smallViewportHeight(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.SMALL_VIEWPORT_HEIGHT
.
-
smallViewportWidth
public static String smallViewportWidth(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.SMALL_VIEWPORT_WIDTH
.
-
smallViewportWidth
public static String smallViewportWidth(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.SMALL_VIEWPORT_WIDTH
.
-
svh
public static String svh(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.SVH
.
-
svh
public static String svh(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.SVH
.
-
svw
public static String svw(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.SVW
.
-
svw
public static String svw(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.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
ECssUnit.TURN
.
-
turn
public static String turn(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.TURN
.
-
turns
public static String turns(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.TURNS
.
-
turns
public static String turns(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.TURNS
.
-
vb
public static String vb(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.VB
.
-
vb
public static String vb(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.VB
.
-
vh
public static String vh(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.VH
.
-
vh
public static String vh(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.VH
.
-
vi
public static String vi(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.VI
.
-
vi
public static String vi(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.VI
.
-
viewportBlockAxis
public static String viewportBlockAxis(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.VIEWPORT_BLOCK_AXIS
.
-
viewportBlockAxis
public static String viewportBlockAxis(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.VIEWPORT_BLOCK_AXIS
.
-
viewportHeight
public static String viewportHeight(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.VIEWPORT_HEIGHT
.
-
viewportHeight
public static String viewportHeight(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.VIEWPORT_HEIGHT
.
-
viewportInlineAxis
public static String viewportInlineAxis(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.VIEWPORT_INLINE_AXIS
.
-
viewportInlineAxis
public static String viewportInlineAxis(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.VIEWPORT_INLINE_AXIS
.
-
viewportMax
public static String viewportMax(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.VIEWPORT_MAX
.
-
viewportMax
public static String viewportMax(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.VIEWPORT_MAX
.
-
viewportMin
public static String viewportMin(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.VIEWPORT_MIN
.
-
viewportMin
public static String viewportMin(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.VIEWPORT_MIN
.
-
viewportWidth
public static String viewportWidth(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.VIEWPORT_WIDTH
.
-
viewportWidth
public static String viewportWidth(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.VIEWPORT_WIDTH
.
-
vmax
public static String vmax(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.VMAX
.
-
vmax
public static String vmax(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.VMAX
.
-
vmin
public static String vmin(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.VMIN
.
-
vmin
public static String vmin(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.VMIN
.
-
vw
public static String vw(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.VW
.
-
vw
public static String vw(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.VW
.
-
xHeight
public static String xHeight(double value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.X_HEIGHT
.
-
xHeight
public static String xHeight(long value)
- Parameters:
value
- Numerical value.- Returns:
- The value together with the unit
ECssUnit.X_HEIGHT
.
-
-