Examples of UXTextInput


Examples of net.sourceforge.ztail.swtux.widgets.input.UXTextInput

    super(pShell);
    shell.setText("Local file bookmark");
    shell.setSize(400, 400);
    UXWindowsUtil.screenCenter(this);
   
    name = new UXTextInput(shell);
    name.setLabel("Name:");
    name.setLabelWidth(50);
   
    uri = new UXTextInput(shell);
    uri.setLabel("URI:");
    uri.setLabelWidth(50);
   
    treeWidget = new BookmarkTreeComp(shell,
        BookmarkTreeComp.MENU_NEWFOLDER);
View Full Code Here

Examples of net.sourceforge.ztail.swtux.widgets.input.UXTextInput

   
    shell.setText("Open via SSH");
    shell.setSize(490, 190);
    UXFormLayoutUtil.enableLayout(shell, 10);
   
    hostInput = new UXTextInput(shell);
    hostInput.setLabel("Host name:");
    hostInput.setLabelWidth(55);
   
    portInput = new UXTextInput(shell);
    portInput.setLabel("Port:");
    portInput.setInput(Configurer.application.getString("reader.remote.defaultPort"));
   
    UXFormLayoutUtil.setLeft(hostInput, 0);
    UXFormLayoutUtil.setRight(hostInput, 80);
    UXFormLayoutUtil.setTop(hostInput, 0);
    UXFormLayoutUtil.setLeft(portInput, hostInput, 5, SWT.RIGHT);
    UXFormLayoutUtil.setRight(portInput, 100);
    UXFormLayoutUtil.setVerticalCentredOf(portInput, hostInput);
   
    usernameInput = new UXTextInput(shell);
    usernameInput.setLabel("Username:");
    usernameInput.setLabelWidth(55);
   
    passwordInput = new UXPasswordInput(shell);
    passwordInput.setLabel("Password:");
    passwordInput.setLabelWidth(55);
   
    UXFormLayoutUtil.setLeft(usernameInput, 0);
    UXFormLayoutUtil.setRight(usernameInput, 50);
    UXFormLayoutUtil.setTop(usernameInput, hostInput, 5, SWT.BOTTOM);
   
    UXFormLayoutUtil.setLeft(passwordInput, 0);
    UXFormLayoutUtil.setRight(passwordInput, 50);
    UXFormLayoutUtil.setTop(passwordInput, usernameInput, 5, SWT.BOTTOM);
   
    filepathInput = new UXTextInput(shell);
    filepathInput.setLabel("Filepath:");
    filepathInput.setLabelWidth(55);
   
    linesSpinner = new UXSpinner(shell);
    linesSpinner.setLabel("Number of lines:");
View Full Code Here

Examples of net.sourceforge.ztail.swtux.widgets.input.UXTextInput

    UXFormLayoutUtil.setTop(clearBtn, filterBtn, 5, SWT.BOTTOM);
    UXFormLayoutUtil.setRight(clearBtn, 100);
    UXFormLayoutUtil.setTop(closeBtn, clearBtn, 5, SWT.BOTTOM);
    UXFormLayoutUtil.setRight(closeBtn, 100);
   
    input = new UXTextInput(shell);
    input.setLabel("Filter:");
    UXFormLayoutUtil.setTop(input, 0);
    UXFormLayoutUtil.setLeft(input, 0);
    UXFormLayoutUtil.setRight(input, filterBtn, -5, SWT.LEFT);
   
View Full Code Here

Examples of net.sourceforge.ztail.swtux.widgets.input.UXTextInput

    UXLabel messageLabel = new UXLabel(shell);
    messageLabel.setLabel(message);
    UXFormLayoutUtil.setTop(messageLabel, 0);
    UXFormLayoutUtil.setLeft(messageLabel, 0);
   
    input = new UXTextInput(shell);
    UXFormLayoutUtil.setTop(input, messageLabel, 5, SWT.BOTTOM);
    UXFormLayoutUtil.setLeft(input, 0);
    UXFormLayoutUtil.setRight(input, 100);
   
    UXPushButton closeBtn = UXButtonFactory.factoryCloseButton(shell);
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.