1 2 17 18 package org.apache.poi.ddf; 19 20 29 public class EscherBoolProperty 30 extends EscherSimpleProperty 31 { 32 38 public EscherBoolProperty( short propertyNumber, int value ) 39 { 40 super( propertyNumber, false, false, value ); 41 } 42 43 46 public boolean isTrue() 47 { 48 return propertyValue != 0; 49 } 50 51 54 public boolean isFalse() 55 { 56 return propertyValue == 0; 57 } 58 59 67 } 68 | Popular Tags |