public static class ResourceTypes.Res_value extends Object
Constructor | Description |
---|---|
Res_value() |
|
Res_value(byte dataType,
int data) |
|
Res_value(ByteBuffer buf,
int offset) |
|
Res_value(ResourceTypes.Res_value other) |
Modifier and Type | Method | Description |
---|---|---|
ResourceTypes.Res_value |
copy() |
|
String |
toString() |
|
ResourceTypes.Res_value |
withData(int data) |
|
ResourceTypes.Res_value |
withType(byte dataType) |
|
static void |
write(ByteBuffer buf,
int dataType,
int data) |
public static final int TYPE_NULL
public static final int TYPE_REFERENCE
public static final int TYPE_ATTRIBUTE
public static final int TYPE_STRING
public static final int TYPE_FLOAT
public static final int TYPE_DIMENSION
public static final int TYPE_FRACTION
public static final int TYPE_DYNAMIC_REFERENCE
public static final int TYPE_DYNAMIC_ATTRIBUTE
public static final int TYPE_FIRST_INT
public static final int TYPE_INT_DEC
public static final int TYPE_INT_HEX
public static final int TYPE_INT_BOOLEAN
public static final int TYPE_FIRST_COLOR_INT
public static final int TYPE_INT_COLOR_ARGB8
public static final int TYPE_INT_COLOR_RGB8
public static final int TYPE_INT_COLOR_ARGB4
public static final int TYPE_INT_COLOR_RGB4
public static final int TYPE_LAST_COLOR_INT
public static final int TYPE_LAST_INT
public final byte dataType
public static final int COMPLEX_UNIT_SHIFT
public static final int COMPLEX_UNIT_MASK
public static final int COMPLEX_UNIT_PX
public static final int COMPLEX_UNIT_DIP
public static final int COMPLEX_UNIT_SP
public static final int COMPLEX_UNIT_PT
public static final int COMPLEX_UNIT_IN
public static final int COMPLEX_UNIT_MM
public static final int COMPLEX_UNIT_FRACTION
public static final int COMPLEX_UNIT_FRACTION_PARENT
public static final int COMPLEX_RADIX_SHIFT
public static final int COMPLEX_RADIX_MASK
public static final int COMPLEX_RADIX_23p0
public static final int COMPLEX_RADIX_16p7
public static final int COMPLEX_RADIX_8p15
public static final int COMPLEX_RADIX_0p23
public static final int COMPLEX_MANTISSA_SHIFT
public static final int COMPLEX_MANTISSA_MASK
public static final int DATA_NULL_UNDEFINED
public static final int DATA_NULL_EMPTY
public static final ResourceTypes.Res_value NULL_VALUE
public final int data
public Res_value()
public Res_value(ByteBuffer buf, int offset)
public Res_value(ResourceTypes.Res_value other)
public Res_value(byte dataType, int data)
public static void write(ByteBuffer buf, int dataType, int data)
public ResourceTypes.Res_value withType(byte dataType)
public ResourceTypes.Res_value withData(int data)
public ResourceTypes.Res_value copy()