Save This Page
Home » poi-src-3.2-FINAL-20081019 » org.apache » poi » ddf » [javadoc | source]
org.apache.poi.ddf
public class: EscherSimpleProperty [javadoc | source]
java.lang.Object
   org.apache.poi.ddf.EscherProperty
      org.apache.poi.ddf.EscherSimpleProperty

Direct Known Subclasses:
    EscherRGBProperty, EscherShapePathProperty, EscherBoolProperty

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 org.apache.poi.ddf.EscherProperty:
id
Constructor:
 public EscherSimpleProperty(short id,
    int propertyValue) 
 public EscherSimpleProperty(short propertyNumber,
    boolean isComplex,
    boolean isBlipId,
    int propertyValue) 
Method from org.apache.poi.ddf.EscherSimpleProperty Summary:
equals,   getPropertyValue,   hashCode,   serializeComplexPart,   serializeSimplePart,   toString
Methods from org.apache.poi.ddf.EscherProperty:
getId,   getName,   getPropertyNumber,   getPropertySize,   isBlipId,   isComplex,   serializeComplexPart,   serializeSimplePart
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.poi.ddf.EscherSimpleProperty Detail:
 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. The fixed length part is serialized first.
 public int serializeSimplePart(byte[] data,
    int offset) 
    Serialize the simple part of the escher record.
 public String toString()