Package | Description |
---|---|
com.helger.css.propertyvalue | |
com.helger.css.utils |
Modifier and Type | Method and Description |
---|---|
CSSSimpleValueWithUnit |
CSSSimpleValueWithUnit.add(BigDecimal aDelta)
Get a new object with the same unit but an added value.
|
CSSSimpleValueWithUnit |
CSSSimpleValueWithUnit.add(double dDelta)
Get a new object with the same unit but an added value.
|
CSSSimpleValueWithUnit |
CSSSimpleValueWithUnit.divide(BigDecimal aDivisor)
Get a new object with the same unit but an divided value.
|
CSSSimpleValueWithUnit |
CSSSimpleValueWithUnit.divide(BigDecimal aDivisor,
int nScale,
RoundingMode eRoundingMode)
Get a new object with the same unit but an divided value.
|
CSSSimpleValueWithUnit |
CSSSimpleValueWithUnit.divide(double dDivisor)
Get a new object with the same unit but an divided value.
|
CSSSimpleValueWithUnit |
CSSSimpleValueWithUnit.multiply(BigDecimal aValue)
Get a new object with the same unit but a multiplied value.
|
CSSSimpleValueWithUnit |
CSSSimpleValueWithUnit.multiply(double dValue)
Get a new object with the same unit but a multiplied value.
|
CSSSimpleValueWithUnit |
CSSSimpleValueWithUnit.setUnit(ECSSUnit eUnit)
Set the unit type.
|
CSSSimpleValueWithUnit |
CSSSimpleValueWithUnit.setValue(BigDecimal aValue)
Set the numerical value.
|
CSSSimpleValueWithUnit |
CSSSimpleValueWithUnit.setValue(double dValue)
Set the numerical value.
|
CSSSimpleValueWithUnit |
CSSSimpleValueWithUnit.substract(BigDecimal aDelta)
Get a new object with the same unit but a subtracted value.
|
CSSSimpleValueWithUnit |
CSSSimpleValueWithUnit.substract(double dDelta)
Get a new object with the same unit but a subtracted value.
|
Modifier and Type | Method and Description |
---|---|
static CSSSimpleValueWithUnit |
CSSNumberHelper.getValueWithUnit(String sCSSValue)
Convert the passed string value with unit into a structured
CSSSimpleValueWithUnit . |
static CSSSimpleValueWithUnit |
CSSNumberHelper.getValueWithUnit(String sCSSValue,
boolean bWithPerc)
Convert the passed string value with unit into a structured
CSSSimpleValueWithUnit . |
Copyright © 2014–2020 Philip Helger. All rights reserved.