public class Length extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
FIXED |
static int |
MAX_WIDTH |
static int |
PERCENT |
static int |
VARIABLE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isFixed() |
boolean |
isPercent() |
boolean |
isVariable() |
long |
minWidth(int maxWidth) |
void |
setType(int type) |
void |
setValue(long value) |
String |
toString() |
int |
type() |
long |
value() |
long |
width(int maxWidth) |
public static final int MAX_WIDTH
public static final int VARIABLE
public static final int FIXED
public static final int PERCENT
public void setValue(long value)
public long value()
public void setType(int type)
public int type()
public boolean isVariable()
public boolean isFixed()
public boolean isPercent()
public long width(int maxWidth)
public long minWidth(int maxWidth)
Copyright © 2018. All rights reserved.