1 19 20 26 27 package org.netbeans.modules.xml.schema.abe.nodes.properties; 28 29 import org.netbeans.modules.xml.axi.AXIComponent; 30 31 37 public class BooleanProperty extends BaseABENodeProperty { 38 39 50 public BooleanProperty(AXIComponent component, String property, 51 String dispName, String desc, boolean isDefaultFalse) 52 throws NoSuchMethodException { 53 super(component, 54 Object .class, 58 component.getClass().getMethod(BaseABENodeProperty. 60 firstLetterToUpperCase(property, "is"), new Class [0]), 61 component.getClass().getMethod(BaseABENodeProperty. 62 firstLetterToUpperCase(property, "set"), new Class []{Boolean .class}), 63 property, 64 dispName, 65 desc, 66 isDefaultFalse ? 67 BooleanDefaultFalseEditor.class : 68 BooleanEditor.class 69 ); 70 } 71 72 } 73 | Popular Tags |