|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.poi.ddf.EscherProperty
org.apache.poi.ddf.EscherSimpleProperty
public class EscherSimpleProperty
A simple property is of fixed length and as a property number in addition to a 32-bit value. Properties that can't be stored in only 32-bits are stored as EscherComplexProperty objects.
| Field Summary | |
|---|---|
protected int |
propertyValue
|
| Fields inherited from class org.apache.poi.ddf.EscherProperty |
|---|
id |
| Constructor Summary | |
|---|---|
EscherSimpleProperty(short propertyNumber,
boolean isComplex,
boolean isBlipId,
int propertyValue)
Constructs a new escher property. |
|
EscherSimpleProperty(short id,
int propertyValue)
The id is distinct from the actual property number. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Returns true if one escher property is equal to another. |
int |
getPropertyValue()
|
int |
hashCode()
Returns a hashcode so that this object can be stored in collections that require the use of such things. |
int |
serializeComplexPart(byte[] data,
int pos)
Escher properties consist of a simple fixed length part and a complex variable length part. |
int |
serializeSimplePart(byte[] data,
int offset)
Serialize the simple part of the escher record. |
java.lang.String |
toString()
|
| Methods inherited from class org.apache.poi.ddf.EscherProperty |
|---|
getId, getName, getPropertyNumber, getPropertySize, isBlipId, isComplex |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected int propertyValue
| Constructor Detail |
|---|
public EscherSimpleProperty(short id,
int propertyValue)
public EscherSimpleProperty(short propertyNumber,
boolean isComplex,
boolean isBlipId,
int propertyValue)
| Method Detail |
|---|
public int serializeSimplePart(byte[] data,
int offset)
serializeSimplePart in class EscherProperty
public int serializeComplexPart(byte[] data,
int pos)
serializeComplexPart in class EscherPropertypublic int getPropertyValue()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||