Package com.sardak.antform.types

Examples of com.sardak.antform.types.TextProperty


    bp.setLabel("booleanproperty");
    bp.setProperty("booleanproperty");
    bp.setEditable(true);
    addConfiguredBooleanProperty(bp);
   
    TextProperty tp = new TextProperty();
    tp.setProject(project);
    tp.setLabel("textproperty");
    tp.setProperty("textproperty");
    tp.setColumns(30);
    tp.setEditable(true);
    tp.setPassword(false);
    tp.setRequired(false);
    addConfiguredTextProperty(tp);

    ButtonBar controlBar = new ButtonBar();
    controlBar.setProject(project);
    controlBar.addConfiguredButton(new Button("Save properties", null, ActionType.OK));
View Full Code Here


    bp.setLabel("Passive-mode connection:");
    bp.setProperty("pasv");
    bp.setEditable(true);
//    ValueHandle g1 = panel.addBooleanProperty("Passive-mode connection:", "pasv", true, null);
    bp.addToControlPanel(panel);
    TextProperty tp1 = new TextProperty();
    tp1.setLabel("Server address:");
    tp1.setProperty("serverAddress");
    tp1.setColumns(30);
    tp1.setEditable(true);
    tp1.setPassword(false);
    tp1.setRequired(false);
    tp1.addToControlPanel(panel);
//    ValueHandle g2 = panel.addTextProperty("Server address:", "serverAddress", 30, true, false, false, null);
    TextProperty tp2 = new TextProperty();
    tp2.setLabel("Server login:");
    tp2.setProperty("login");
    tp2.setColumns(30);
    tp2.setEditable(true);
    tp2.setPassword(false);
    tp2.setRequired(false);
    tp2.addToControlPanel(panel);
    TextProperty tp3 = new TextProperty();
    tp3.setLabel("Server password:");
    tp3.setProperty("password");
    tp3.setColumns(30);
    tp3.setEditable(true);
    tp3.setPassword(true);
    tp3.setRequired(false);
    tp3.addToControlPanel(panel);
   
    ButtonBar controlBar = new ButtonBar();
    controlBar.addConfiguredButton(new Button("Save properties", null, ActionType.OK));
    controlBar.addConfiguredButton(new Button("Reset form", null, ActionType.RESET));
    controlBar.setAlign(BorderLayout.EAST);
View Full Code Here

TOP

Related Classes of com.sardak.antform.types.TextProperty

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.