Package com.bitmovers.maui.engine.constraints

Examples of com.bitmovers.maui.engine.constraints.MInputDescriptor


    super(aInitializer, "TestApplication");
   
    //SelectListConstraint selectListConstraint = new SelectListConstraint({"dave@bitmovers.com","ian@bitmovers.com"}, );
    //TextFieldConstraint textFieldConstraint = new TextFieldConstraint(new MMatchAllDescriptor());
   
    MInputDescriptor hasKeyboard = new MInputDescriptor();
    hasKeyboard.setHasKeyboard(true);
    TextFieldConstraint textFieldConstraint = new TextFieldConstraint(hasKeyboard);
   
    MInputDescriptor hasNoKeyboard = new MInputDescriptor();
    hasNoKeyboard.setHasKeyboard(true);
    SelectListConstraint selectListConstraint = new SelectListConstraint(hasNoKeyboard);
   
    addConstraint(textFieldConstraint, "recipientField");
    addConstraint(selectListConstraint, "recipientField");
   
View Full Code Here

TOP

Related Classes of com.bitmovers.maui.engine.constraints.MInputDescriptor

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.