FileDocCategorySizeDatePackage
EscherBoolProperty.javaAPI DocApache Poi 3.0.12200Mon Jan 01 12:39:40 GMT 2007org.apache.poi.ddf

EscherBoolProperty

public class EscherBoolProperty extends EscherSimpleProperty
Represents a boolean property. The actual utility of this property is in doubt because many of the properties marked as boolean seem to actually contain special values. In other words they're not true booleans.
author
Glen Stampoultzis
see
EscherSimpleProperty
see
EscherProperty

Fields Summary
Constructors Summary
public EscherBoolProperty(short propertyNumber, int value)
Create an instance of an escher boolean property.

param
propertyNumber The property number (or id)
param
value The 32 bit value of this bool property

        super(propertyNumber, value);
    
Methods Summary
public booleanisFalse()
Whether this boolean property is false

        return propertyValue == 0;
    
public booleanisTrue()
Whether this boolean property is true

        return propertyValue != 0;