public class TextProp extends Object implements Cloneable
Modifier and Type | Field and Description |
---|---|
protected int |
dataValue |
protected int |
maskInHeader |
protected String |
propName |
protected int |
sizeOfDataBlock |
Constructor and Description |
---|
TextProp(int sizeOfDataBlock,
int maskInHeader,
String propName)
Generate the definition of a given type of text property.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Clone, eg when you want to actually make use of one of these.
|
int |
getMask()
Mask in the paragraph or character "contains" header field
that indicates that this text property is present.
|
String |
getName()
Name of the text property
|
int |
getSize()
Size of the data section of the text property (2 or 4 bytes)
|
int |
getValue()
Fetch the value of the text property (meaning is specific to
each different kind of text property)
|
int |
getWriteMask()
Get the mask that's used at write time.
|
void |
setValue(int val)
Set the value of the text property.
|
protected int sizeOfDataBlock
protected String propName
protected int dataValue
protected int maskInHeader
public TextProp(int sizeOfDataBlock, int maskInHeader, String propName)
public String getName()
public int getSize()
public int getMask()
public int getWriteMask()
public int getValue()
public void setValue(int val)
Copyright © 2020. All rights reserved.