| java.lang.Object org.apache.poi.ddf.EscherProperty org.apache.poi.ddf.EscherSimpleProperty
All known Subclasses: org.apache.poi.ddf.EscherRGBProperty, org.apache.poi.ddf.EscherShapePathProperty, org.apache.poi.ddf.EscherBoolProperty,
EscherSimpleProperty | public class EscherSimpleProperty extends EscherProperty (Code) | | 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.
author: Glen Stampoultzis (glens at apache.org) |
Constructor Summary | |
public | EscherSimpleProperty(short id, int propertyValue) The id is distinct from the actual property number. | public | EscherSimpleProperty(short propertyNumber, boolean isComplex, boolean isBlipId, int propertyValue) Constructs a new escher property. |
Method Summary | |
public boolean | equals(Object o) Returns true if one escher property is equal to another. | public int | getPropertyValue() | public int | hashCode() Returns a hashcode so that this object can be stored in collections that
require the use of such things. | public int | serializeComplexPart(byte[] data, int pos) Escher properties consist of a simple fixed length part and a complex variable length part. | public int | serializeSimplePart(byte[] data, int offset) Serialize the simple part of the escher record. | public String | toString() |
propertyValue | protected int propertyValue(Code) | | |
EscherSimpleProperty | public EscherSimpleProperty(short id, int propertyValue)(Code) | | The id is distinct from the actual property number. The id includes the property number the blip id
flag and an indicator whether the property is complex or not.
|
EscherSimpleProperty | public EscherSimpleProperty(short propertyNumber, boolean isComplex, boolean isBlipId, int propertyValue)(Code) | | Constructs a new escher property. The three parameters are combined to form a property
id.
|
equals | public boolean equals(Object o)(Code) | | Returns true if one escher property is equal to another.
|
getPropertyValue | public int getPropertyValue()(Code) | | Return the 32 bit value of this property. |
hashCode | public int hashCode()(Code) | | Returns a hashcode so that this object can be stored in collections that
require the use of such things.
|
serializeComplexPart | public int serializeComplexPart(byte[] data, int pos)(Code) | | Escher properties consist of a simple fixed length part and a complex variable length part.
The fixed length part is serialized first.
|
serializeSimplePart | public int serializeSimplePart(byte[] data, int offset)(Code) | | Serialize the simple part of the escher record.
the number of bytes serialized. |
toString | public String toString()(Code) | | the string representation of this property. |
Fields inherited from org.apache.poi.ddf.EscherProperty | protected short id(Code)(Java Doc)
|
|
|