Examples of UXPushButton


Examples of net.sourceforge.ztail.swtux.widgets.buttons.UXPushButton

    uri.setLabelWidth(50);
   
    treeWidget = new BookmarkTreeComp(shell,
        BookmarkTreeComp.MENU_NEWFOLDER);
   
    UXPushButton closeBtn = UXButtonFactory.factoryCloseButton(shell);
    saveBtn = UXButtonFactory.factorySaveButton(shell);
   
    UXFormLayoutUtil.enableLayout(this, 5);
   
    UXFormLayoutUtil.setTop(name, 0);
View Full Code Here

Examples of net.sourceforge.ztail.swtux.widgets.buttons.UXPushButton

    shell.setText("About");
    shell.setSize(300, 200);
    UXWindowsUtil.screenCenter(this);
    UXFormLayoutUtil.enableLayout(this, 10);
   
    UXPushButton okBtn = UXButtonFactory.factoryOkButton(shell);
    okBtn.setClickAction(new UXAbstractAction() {
      public void doAction() {
        shell.dispose();
      }
    });
    UXFormLayoutUtil.setPosition(okBtn, null, 100, 100, null);
View Full Code Here

Examples of net.sourceforge.ztail.swtux.widgets.buttons.UXPushButton

    linesSpinner.setLabel("Number of lines:");
    UXFormLayoutUtil.setTop(linesSpinner, filep, 5, SWT.BOTTOM);
    UXFormLayoutUtil.setLeft(linesSpinner, 0);
    linesSpinner.setSelectionBounds(1, 10000);
   
    UXPushButton closeButton = UXButtonFactory.factoryCloseButton(shell);
    UXFormLayoutUtil.setRight(closeButton, 100);
    UXFormLayoutUtil.setBottom(closeButton, 100);
   
    openButton = UXButtonFactory.factoryOpenButton(shell);
    UXFormLayoutUtil.setRight(openButton, closeButton, -5, SWT.LEFT);
View Full Code Here

Examples of net.sourceforge.ztail.swtux.widgets.buttons.UXPushButton

    UXFormLayoutUtil.setTop(filepathInput, passwordInput, 5, SWT.BOTTOM);
    UXFormLayoutUtil.setLeft(linesSpinner, filepathInput, 5, SWT.RIGHT);
    UXFormLayoutUtil.setRight(linesSpinner, 100);
    UXFormLayoutUtil.setVerticalCentredOf(linesSpinner, filepathInput);
   
    UXPushButton closeBtn = UXButtonFactory.factoryCloseButton(shell);
    UXFormLayoutUtil.setPosition(closeBtn, null, 100, 100, null);
   
    openBtn = UXButtonFactory.factoryOpenButton(shell);
    UXFormLayoutUtil.setRight(openBtn, closeBtn, -5, SWT.LEFT);
    UXFormLayoutUtil.setVerticalCentredOf(openBtn, closeBtn);
View Full Code Here

Examples of net.sourceforge.ztail.swtux.widgets.buttons.UXPushButton

    shell.setImage(UXIconsUtil.getInstance().get16Icon(UXIconsUtil.ICON_FIND));
   
    UXFormLayoutUtil.enableLayout(shell, 10);
    UXWindowsUtil.screenCenter(this);
   
    findBtn = new UXPushButton(shell);
    findBtn.setCaption("Find");
    findBtn.setIcon(UXIconsUtil.getInstance().get16Icon(UXIconsUtil.ICON_FIND));
    UXFormLayoutUtil.setTop(findBtn, 0);
    UXFormLayoutUtil.setRight(findBtn, 100);
   
    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:";
View Full Code Here

Examples of net.sourceforge.ztail.swtux.widgets.buttons.UXPushButton

    shell.setText("Filter");
    shell.setSize(400, 130);
    UXWindowsUtil.screenCenter(this);
    UXFormLayoutUtil.enableLayout(this, 10);
   
    filterBtn = new UXPushButton(shell);
    filterBtn.setCaption("Filter");
    filterBtn.setIcon(UXIconsUtil.getInstance().get16Icon(UXIconsUtil.ICON_FILTER));
   
    clearBtn = new UXPushButton(shell);
    clearBtn.setCaption("Clear");
    clearBtn.setIcon(UXIconsUtil.getInstance().get16Icon(UXIconsUtil.ICON_CLEAR));
   
    UXPushButton closeBtn = UXButtonFactory.factoryCloseButton(shell);
   
    UXFormLayoutUtil.setTop(filterBtn, 0);
    UXFormLayoutUtil.setRight(filterBtn, 100);
    UXFormLayoutUtil.setTop(clearBtn, filterBtn, 5, SWT.BOTTOM);
    UXFormLayoutUtil.setRight(clearBtn, 100);
View Full Code Here

Examples of net.sourceforge.ztail.swtux.widgets.buttons.UXPushButton

    UXLabel messageLabel = new UXLabel(shell);
    messageLabel.setLabel(message);
    UXFormLayoutUtil.setTop(messageLabel, 0);
    UXFormLayoutUtil.setLeft(messageLabel, 0);
   
    UXPushButton closeBtn = UXButtonFactory.factoryNoButton(shell);
    UXFormLayoutUtil.setRight(closeBtn, 100);
    UXFormLayoutUtil.setBottom(closeBtn, 100);
   
    okBtn = UXButtonFactory.factoryYesButton(shell);
    UXFormLayoutUtil.setRight(okBtn, closeBtn, -5, SWT.LEFT);
View Full Code Here

Examples of net.sourceforge.ztail.swtux.widgets.buttons.UXPushButton

    input = new UXTextInput(shell);
    UXFormLayoutUtil.setTop(input, messageLabel, 5, SWT.BOTTOM);
    UXFormLayoutUtil.setLeft(input, 0);
    UXFormLayoutUtil.setRight(input, 100);
   
    UXPushButton closeBtn = UXButtonFactory.factoryCloseButton(shell);
    UXFormLayoutUtil.setRight(closeBtn, 100);
    UXFormLayoutUtil.setBottom(closeBtn, 100);
   
    okBtn = UXButtonFactory.factoryOkButton(shell);
    UXFormLayoutUtil.setRight(okBtn, closeBtn, -5, SWT.LEFT);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.