Package net.sourceforge.ztail.ui.wrappers

Examples of net.sourceforge.ztail.ui.wrappers.TextInputWrapper


   
    UXPushButton closeBtn = UXButtonFactory.factoryCloseButton(shell);
    UXFormLayoutUtil.setTop(closeBtn, findBtn, 5, SWT.BOTTOM);
    UXFormLayoutUtil.setRight(closeBtn, 100);
   
    TextInputWrapper in_1 = new TextInputWrapper(shell);
    in_1.labelCaption = "Search for:";
    in_1.buildUp();
    LayoutUtils.setTop(in_1.getContainer(), 0);
    LayoutUtils.setLeft(in_1.getContainer(), 0);
    LayoutUtils.setRight(in_1.getContainer(), findBtn.getContainer(), -5, SWT.LEFT);
    input = in_1.getText();
    input.setFocus();
   
    directionGroup = new RadioButtonsGroup(shell);
    directionGroup.labelCaption = "Direction:";
    directionGroup.addButton("Up");
    directionGroup.addButton("Down");
    directionGroup.buildUp();
    directionGroup.getByName("Down").setSelection(true);
    LayoutUtils.setTop(directionGroup.getContainer(), in_1.getContainer(), 5, SWT.BOTTOM);
    LayoutUtils.setLeft(directionGroup.getContainer(), 0);
   
    isRegsBtn = new UXCheckButton(shell);
    isRegsBtn.setCaption("Is regular expresion");
    UXFormLayoutUtil.setTop(isRegsBtn.getContainer(), directionGroup.getContainer(), 5, SWT.BOTTOM);
View Full Code Here

TOP

Related Classes of net.sourceforge.ztail.ui.wrappers.TextInputWrapper

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.