public class TextProp
extends java.lang.Object
implements java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
protected int |
dataValue |
protected int |
maskInHeader |
protected java.lang.String |
propName |
protected int |
sizeOfDataBlock |
Constructor and Description |
---|
TextProp(int sizeOfDataBlock,
int maskInHeader,
java.lang.String propName)
Generate the definition of a given type of text property.
|
Modifier and Type | Method and Description |
---|---|
java.lang.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.
|
java.lang.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 java.lang.String propName
protected int dataValue
protected int maskInHeader
public TextProp(int sizeOfDataBlock, int maskInHeader, java.lang.String propName)
public java.lang.String getName()
public int getSize()
public int getMask()
public int getWriteMask()
public int getValue()
public void setValue(int val)
public java.lang.Object clone()
clone
in class java.lang.Object
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.