Package org.lobobrowser.html.style
Class HtmlLength
java.lang.Object
org.lobobrowser.html.style.HtmlLength
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HtmlLength[]
static final int
static final int
static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal void
divideBy
(int denominator) final int
getLength
(int availLength) final int
final int
final boolean
isPreferredOver
(HtmlLength otherLength)
-
Field Details
-
PIXELS
public static final int PIXELS- See Also:
-
LENGTH
public static final int LENGTH- See Also:
-
MULTI_LENGTH
public static final int MULTI_LENGTH- See Also:
-
EMPTY_ARRAY
-
-
Constructor Details
-
HtmlLength
-
HtmlLength
public HtmlLength(int pixels)
-
-
Method Details
-
getLengthType
public final int getLengthType()- Returns:
- Returns the lengthType.
-
getRawValue
public final int getRawValue()- Returns:
- Returns the spec.
-
getLength
public final int getLength(int availLength) -
divideBy
public final void divideBy(int denominator) -
isPreferredOver
-