Package com.pointcliki.dizgruntled

Examples of com.pointcliki.dizgruntled.StringLogicProperty


  }
 
  @Override
  public void initProperties() {
    fProperties = new LogicProperty[] {
      new StringLogicProperty("mode") {
       
        @Override
        public String description() {
          return "The mode of the cause";
        }
       
        @Override
        public String value() {
          return MODES[fMode];
        }
       
        @Override
        public String[] choices() {
          return MODES;
        }
       
        @Override
        public void choice(int i) {
          fMode = i;
        }
      },
      new StringLogicProperty("group") {
       
        @Override
        public String description() {
          return "The group of the cause";
        }
       
        @Override
        public String value() {
          return fGroup;
        }
       
        @Override
        public String[] choices() {
          return null;
        }

        @Override
        public void value(String s) {
          fGroup = s;         
        }
      },
      new StringLogicProperty("siblings") {
       
        @Override
        public String description() {
          return "The siblings of the cause";
        }
       
        @Override
        public String value() {
          return siblingString();
        }
       
        @Override
        public String[] choices() {
          return null;
        }

        @Override
        public void value(String s) {
          fSiblings = s.split(" ");         
        }
      },
      new StringLogicProperty("item") {
       
        @Override
        public String description() {
          return "The requisite item for the cause";
        }
View Full Code Here

TOP

Related Classes of com.pointcliki.dizgruntled.StringLogicProperty

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.