⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 testline3.java

📁 A translator that converts Qt Designer UI files into SWT java classes. Use the power of Qt Designer
💻 JAVA
字号:
//
// This file was generated by the ui2swt tool (http://ui2swt.sourceforge.net/)
//
// Date:
//   Sun Jun 17 17:26:29 EST 2007
//
// Source:
//   file:/C:/Documents and Settings/James and Louisa/My Documents/Development/workspace/ui2swt/src/test/ui/TestLine3.ui
//

package ui2swt.test;

import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Label;

public class TestLine3 extends Composite
{
    public Composite layout4;
    public Label textLabel19;
    public Label line2;
    public Label textLabel21;
    public Label line1;
    public Composite layout5;
    public Label textLabel20;
    public Label line3;
    public Label textLabel22;

    public TestLine3( Composite iParent, int iStyle )
    {
        super(iParent, iStyle);
        this.setSize(187,71);
        GridLayout l_gridLayout;
        l_gridLayout = new GridLayout();
        this.setLayout(l_gridLayout);
        l_gridLayout.numColumns = 3;
        l_gridLayout.marginLeft = 5;
        l_gridLayout.marginTop = 5;
        l_gridLayout.marginRight = 5;
        l_gridLayout.marginBottom = 5;
        l_gridLayout.horizontalSpacing = 5;
        l_gridLayout.verticalSpacing = 5;
        this.layout4 = new Composite(this,SWT.NONE);
        l_gridLayout = new GridLayout();
        this.layout4.setLayout(l_gridLayout);
        l_gridLayout.numColumns = 1;
        l_gridLayout.marginLeft = 5;
        l_gridLayout.marginTop = 5;
        l_gridLayout.marginRight = 5;
        l_gridLayout.marginBottom = 5;
        l_gridLayout.horizontalSpacing = 5;
        l_gridLayout.verticalSpacing = 5;
        this.textLabel19 = new Label(this.layout4,SWT.NONE);
        this.textLabel19.setText("Top Left");
        this.line2 = new Label(this.layout4,SWT.SEPARATOR|SWT.HORIZONTAL);
        this.textLabel21 = new Label(this.layout4,SWT.NONE);
        this.textLabel21.setText("Bottom Left");
        GridData l_gridData;
        l_gridData = new GridData();
        l_gridData.horizontalAlignment = GridData.FILL;
        l_gridData.grabExcessHorizontalSpace = true;
        l_gridData.verticalAlignment = GridData.CENTER;
        l_gridData.grabExcessVerticalSpace = true;
        this.textLabel19.setLayoutData(l_gridData);
        l_gridData = new GridData();
        l_gridData.horizontalAlignment = GridData.FILL;
        l_gridData.grabExcessHorizontalSpace = true;
        l_gridData.verticalAlignment = GridData.CENTER;
        l_gridData.grabExcessVerticalSpace = false;
        this.line2.setLayoutData(l_gridData);
        l_gridData = new GridData();
        l_gridData.horizontalAlignment = GridData.FILL;
        l_gridData.grabExcessHorizontalSpace = true;
        l_gridData.verticalAlignment = GridData.CENTER;
        l_gridData.grabExcessVerticalSpace = true;
        this.textLabel21.setLayoutData(l_gridData);
        this.line1 = new Label(this,SWT.SEPARATOR|SWT.VERTICAL);
        this.layout5 = new Composite(this,SWT.NONE);
        l_gridLayout = new GridLayout();
        this.layout5.setLayout(l_gridLayout);
        l_gridLayout.numColumns = 1;
        l_gridLayout.marginLeft = 5;
        l_gridLayout.marginTop = 5;
        l_gridLayout.marginRight = 5;
        l_gridLayout.marginBottom = 5;
        l_gridLayout.horizontalSpacing = 5;
        l_gridLayout.verticalSpacing = 5;
        this.textLabel20 = new Label(this.layout5,SWT.NONE);
        this.textLabel20.setText("Top Right");
        this.line3 = new Label(this.layout5,SWT.SEPARATOR|SWT.HORIZONTAL);
        this.textLabel22 = new Label(this.layout5,SWT.NONE);
        this.textLabel22.setText("Bottom Right");
        l_gridData = new GridData();
        l_gridData.horizontalAlignment = GridData.FILL;
        l_gridData.grabExcessHorizontalSpace = true;
        l_gridData.verticalAlignment = GridData.CENTER;
        l_gridData.grabExcessVerticalSpace = true;
        this.textLabel20.setLayoutData(l_gridData);
        l_gridData = new GridData();
        l_gridData.horizontalAlignment = GridData.FILL;
        l_gridData.grabExcessHorizontalSpace = true;
        l_gridData.verticalAlignment = GridData.CENTER;
        l_gridData.grabExcessVerticalSpace = false;
        this.line3.setLayoutData(l_gridData);
        l_gridData = new GridData();
        l_gridData.horizontalAlignment = GridData.FILL;
        l_gridData.grabExcessHorizontalSpace = true;
        l_gridData.verticalAlignment = GridData.CENTER;
        l_gridData.grabExcessVerticalSpace = true;
        this.textLabel22.setLayoutData(l_gridData);
        l_gridData = new GridData();
        l_gridData.horizontalAlignment = GridData.FILL;
        l_gridData.grabExcessHorizontalSpace = true;
        l_gridData.verticalAlignment = GridData.FILL;
        l_gridData.grabExcessVerticalSpace = true;
        this.layout4.setLayoutData(l_gridData);
        l_gridData = new GridData();
        l_gridData.horizontalAlignment = GridData.BEGINNING;
        l_gridData.grabExcessHorizontalSpace = false;
        l_gridData.verticalAlignment = GridData.FILL;
        l_gridData.grabExcessVerticalSpace = true;
        this.line1.setLayoutData(l_gridData);
        l_gridData = new GridData();
        l_gridData.horizontalAlignment = GridData.FILL;
        l_gridData.grabExcessHorizontalSpace = true;
        l_gridData.verticalAlignment = GridData.FILL;
        l_gridData.grabExcessVerticalSpace = true;
        this.layout5.setLayoutData(l_gridData);
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -