List of usage examples for com.jgoodies.forms.layout CellConstraints xywh
public CellConstraints xywh(int col, int row, int colSpan, int rowSpan)
Examples:
cc.xywh(1, 3, 2, 1); cc.xywh(1, 3, 7, 3);
From source file:com.zeroc.IceGridGUI.Application.CommunicatorSubEditor.java
License:Open Source License
void appendProperties(DefaultFormBuilder builder) { builder.append("Description"); builder.nextLine();/* w ww. j av a 2 s . c o m*/ builder.append(""); builder.nextRow(-2); CellConstraints cc = new CellConstraints(); JScrollPane scrollPane = new JScrollPane(_description); builder.add(scrollPane, cc.xywh(builder.getColumn(), builder.getRow(), 3, 3)); builder.nextRow(2); builder.nextLine(); builder.append("Property Sets"); builder.append(_propertySets, 3); builder.nextLine(); builder.append("Properties"); builder.nextLine(); builder.append(""); builder.nextLine(); builder.append(""); builder.nextLine(); builder.append(""); builder.nextRow(-6); scrollPane = new JScrollPane(_properties); builder.add(scrollPane, cc.xywh(builder.getColumn(), builder.getRow(), 3, 7)); builder.nextRow(6); builder.nextLine(); builder.append("Log files"); builder.nextLine(); builder.append(""); builder.nextLine(); builder.append(""); builder.nextRow(-4); scrollPane = new JScrollPane(_logFiles); builder.add(scrollPane, cc.xywh(builder.getColumn(), builder.getRow(), 3, 5)); builder.nextRow(4); builder.nextLine(); }
From source file:com.zeroc.IceGridGUI.Application.DbEnvEditor.java
License:Open Source License
@Override protected void appendProperties(DefaultFormBuilder builder) { builder.append("Name"); builder.append(_name, 3);//from w w w. j a v a 2 s.c om builder.nextLine(); builder.append("Description"); builder.nextLine(); builder.append(""); builder.nextRow(-2); CellConstraints cc = new CellConstraints(); JScrollPane scrollPane = new JScrollPane(_description); builder.add(scrollPane, cc.xywh(builder.getColumn(), builder.getRow(), 3, 3)); builder.nextRow(2); builder.nextLine(); builder.append("DB Home"); builder.append(_dbHome, 3); builder.nextLine(); builder.append("Properties"); builder.nextLine(); builder.append(""); builder.nextLine(); builder.append(""); builder.nextLine(); builder.append(""); builder.nextRow(-6); scrollPane = new JScrollPane(_properties); builder.add(scrollPane, cc.xywh(builder.getColumn(), builder.getRow(), 3, 7)); builder.nextRow(6); builder.nextLine(); }
From source file:com.zeroc.IceGridGUI.Application.NodeEditor.java
License:Open Source License
@Override protected void appendProperties(DefaultFormBuilder builder) { builder.append("Name"); builder.append(_name, 3);// w w w . j a v a2s . co m builder.nextLine(); builder.append("Description"); builder.nextLine(); builder.append(""); builder.nextRow(-2); CellConstraints cc = new CellConstraints(); JScrollPane scrollPane = new JScrollPane(_description); builder.add(scrollPane, cc.xywh(builder.getColumn(), builder.getRow(), 3, 3)); builder.nextRow(2); builder.nextLine(); builder.append("Variables"); builder.nextLine(); builder.append(""); builder.nextLine(); builder.append(""); builder.nextLine(); builder.append(""); builder.nextRow(-6); scrollPane = new JScrollPane(_variables); builder.add(scrollPane, cc.xywh(builder.getColumn(), builder.getRow(), 3, 7)); builder.nextRow(6); builder.nextLine(); builder.append("Load Factor"); builder.append(_loadFactor, 3); builder.nextLine(); }
From source file:com.zeroc.IceGridGUI.Application.PropertySetEditor.java
License:Open Source License
@Override protected void appendProperties(DefaultFormBuilder builder) { builder.append(_idLabel);//from w w w. j ava 2s . com builder.append(getIdComponent(), 3); builder.nextLine(); builder.append("Property Sets"); builder.append(_propertySets, 3); builder.nextLine(); builder.append("Properties"); builder.nextLine(); builder.append(""); builder.nextLine(); builder.append(""); builder.nextLine(); builder.append(""); builder.nextRow(-6); JScrollPane scrollPane = new JScrollPane(_properties); CellConstraints cc = new CellConstraints(); builder.add(scrollPane, cc.xywh(builder.getColumn(), builder.getRow(), 3, 7)); builder.nextRow(6); builder.nextLine(); }
From source file:com.zeroc.IceGridGUI.Application.ReplicaGroupEditor.java
License:Open Source License
@Override protected void appendProperties(DefaultFormBuilder builder) { builder.append("Replica Group ID"); builder.append(_id, 3);// ww w. jav a2 s.c o m builder.nextLine(); builder.append("Description"); builder.nextLine(); builder.append(""); builder.nextRow(-2); CellConstraints cc = new CellConstraints(); JScrollPane scrollPane = new JScrollPane(_description); builder.add(scrollPane, cc.xywh(builder.getColumn(), builder.getRow(), 3, 3)); builder.nextRow(2); builder.nextLine(); builder.append("Proxy Options"); builder.append(_proxyOptions, 3); builder.nextLine(); builder.append("Filter"); builder.append(_filter, 3); builder.nextLine(); builder.append("Well-known Objects"); builder.nextLine(); builder.append(""); builder.nextLine(); builder.append(""); builder.nextLine(); builder.append(""); builder.nextRow(-6); scrollPane = new JScrollPane(_objects); builder.add(scrollPane, cc.xywh(builder.getColumn(), builder.getRow(), 3, 7)); builder.nextRow(6); builder.nextLine(); builder.append("Load Balancing Policy"); builder.append(_loadBalancing, 3); builder.nextLine(); builder.append("How many Adapters? (0 = all)"); builder.append(_nReplicas, 3); builder.nextLine(); _loadSampleLabel = builder.append("Load Sample"); builder.append(_loadSample, 3); builder.nextLine(); }
From source file:com.zeroc.IceGridGUI.Application.ServerInstanceEditor.java
License:Open Source License
@Override protected void appendProperties(DefaultFormBuilder builder) { builder.append("Template", _template); builder.append(_templateButton);/*from w w w. j a v a2 s .co m*/ builder.nextLine(); builder.append("Parameters"); builder.nextLine(); builder.append(""); builder.nextLine(); builder.append(""); builder.nextLine(); builder.append(""); builder.nextRow(-6); JScrollPane scrollPane = new JScrollPane(_parameters); CellConstraints cc = new CellConstraints(); builder.add(scrollPane, cc.xywh(builder.getColumn(), builder.getRow(), 3, 7)); builder.nextRow(6); builder.nextLine(); builder.append("Property Sets"); builder.append(_propertySets, 3); builder.nextLine(); builder.append("Properties"); builder.nextLine(); builder.append(""); builder.nextLine(); builder.append(""); builder.nextLine(); builder.append(""); builder.nextRow(-6); scrollPane = new JScrollPane(_properties); builder.add(scrollPane, cc.xywh(builder.getColumn(), builder.getRow(), 3, 7)); builder.nextRow(6); builder.nextLine(); }
From source file:com.zeroc.IceGridGUI.Application.ServerSubEditor.java
License:Open Source License
@Override void appendProperties(DefaultFormBuilder builder) { builder.append("Server ID"); builder.append(_id, 3);/* w w w .j av a 2 s. c om*/ builder.nextLine(); // // Add Communicator fields // super.appendProperties(builder); builder.appendSeparator("Activation"); builder.append("Path to Executable"); builder.append(_exe, 3); builder.nextLine(); builder.append("Ice Version"); builder.append(_iceVersion, 3); builder.nextLine(); builder.append("Working Directory"); builder.append(_pwd, 3); builder.nextLine(); builder.append("Command Arguments"); builder.append(_options, 3); builder.nextLine(); builder.append("Run as"); builder.append(_user, 3); builder.nextLine(); builder.append("Environment Variables"); builder.nextLine(); builder.append(""); builder.nextLine(); builder.append(""); builder.nextLine(); builder.append(""); builder.nextRow(-6); CellConstraints cc = new CellConstraints(); JScrollPane scrollPane = new JScrollPane(_envs); builder.add(scrollPane, cc.xywh(builder.getColumn(), builder.getRow(), 3, 7)); builder.nextRow(6); builder.nextLine(); builder.append("Activation Mode"); builder.append(_activation, 3); builder.nextLine(); builder.append("Activation Timeout"); builder.append(_activationTimeout, 3); builder.nextLine(); builder.append("Deactivation Timeout"); builder.append(_deactivationTimeout, 3); builder.nextLine(); builder.append("", _allocatable); builder.nextLine(); JComponent c = builder.appendSeparator("Distribution"); c.setToolTipText("Files specific to this server"); builder.append("", _applicationDistrib); builder.nextLine(); builder.append("IcePatch2 Proxy"); builder.append(_distrib, 3); builder.nextLine(); builder.append("Directories"); builder.append(_distribDirs, 3); builder.nextLine(); }
From source file:com.zeroc.IceGridGUI.Application.TemplateEditor.java
License:Open Source License
@Override protected void appendProperties(DefaultFormBuilder builder) { builder.append("Template ID"); builder.append(_template, 3);//from w w w . j av a2s .c o m builder.nextLine(); builder.append("Parameters"); builder.nextLine(); builder.append(""); builder.nextLine(); builder.append(""); builder.nextLine(); builder.append(""); builder.nextRow(-6); JScrollPane scrollPane = new JScrollPane(_parameters); CellConstraints cc = new CellConstraints(); builder.add(scrollPane, cc.xywh(builder.getColumn(), builder.getRow(), 3, 7)); builder.nextRow(6); builder.nextLine(); }
From source file:com.zeroc.IceGridGUI.LiveDeployment.AdapterEditor.java
License:Open Source License
@Override protected void appendProperties(DefaultFormBuilder builder) { builder.appendSeparator("Runtime Status"); builder.append("Status"); builder.append(_currentStatus, 3);//from w w w .ja v a 2 s . c o m builder.nextLine(); builder.append("Published Endpoints"); builder.append(_currentEndpoints, 3); builder.nextLine(); builder.appendSeparator("Configuration"); builder.append("Description"); builder.nextLine(); builder.append(""); builder.nextRow(-2); CellConstraints cc = new CellConstraints(); JScrollPane scrollPane = new JScrollPane(_description); builder.add(scrollPane, cc.xywh(builder.getColumn(), builder.getRow(), 3, 3)); builder.nextRow(2); builder.nextLine(); builder.append("Adapter ID"); builder.append(_id, 3); builder.nextLine(); builder.append("Replica Group"); builder.append(_replicaGroupId, 3); builder.nextLine(); builder.append("Priority"); builder.append(_priority, 3); builder.nextLine(); builder.append("Endpoints"); builder.append(_endpoints, 3); builder.nextLine(); builder.append("Published Endpoints"); builder.append(_publishedEndpoints, 3); builder.nextLine(); builder.append("", _registerProcess); builder.nextLine(); builder.append("", _serverLifetime); builder.nextLine(); builder.append("Well-known Objects"); builder.nextLine(); builder.append(""); builder.nextLine(); builder.append(""); builder.nextLine(); builder.append(""); builder.nextRow(-6); scrollPane = new JScrollPane(_objects); builder.add(scrollPane, cc.xywh(builder.getColumn(), builder.getRow(), 3, 7)); builder.nextRow(6); builder.nextLine(); builder.append("Allocatable Objects"); builder.nextLine(); builder.append(""); builder.nextLine(); builder.append(""); builder.nextLine(); builder.append(""); builder.nextRow(-6); scrollPane = new JScrollPane(_allocatables); builder.add(scrollPane, cc.xywh(builder.getColumn(), builder.getRow(), 3, 7)); builder.nextRow(6); builder.nextLine(); }
From source file:com.zeroc.IceGridGUI.LiveDeployment.CommunicatorEditor.java
License:Open Source License
@Override protected void appendProperties(DefaultFormBuilder builder) { builder.append("Description"); builder.nextLine();//from w w w. ja va 2 s .c om builder.append(""); builder.nextRow(-2); CellConstraints cc = new CellConstraints(); JScrollPane scrollPane = new JScrollPane(_description); builder.add(scrollPane, cc.xywh(builder.getColumn(), builder.getRow(), 3, 3)); builder.nextRow(2); builder.nextLine(); builder.append("Properties"); builder.nextLine(); builder.append(""); builder.nextLine(); builder.append(""); builder.nextLine(); builder.append(""); builder.nextRow(-6); scrollPane = new JScrollPane(_properties); builder.add(scrollPane, cc.xywh(builder.getColumn(), builder.getRow(), 3, 7)); builder.nextRow(6); builder.nextLine(); }