Package com.swtplus.widgets

Examples of com.swtplus.widgets.PGroup


      });
    }

    private void createReportGroup() {
        IGroupStrategy groupStrategy = new RectangleGroupStrategy(new TwisteToggleStrategy(), RectangleGroupStrategy.PAINTIMAGEOUTOFBOUNDS|RectangleGroupStrategy.ROUNDED);
        reportsPGroup = new PGroup(this, groupStrategy);
        reportsPGroup.setText("Relat�rios");
        reportsPGroup.setBackground(new Color(null, 133,147,194));
        reportsPGroup.setForeground(new Color(null, 255,255,255));
        reportsPGroup.setImage(new Image(null, "img/relatorio_central.png"));       
       
View Full Code Here


    }

    private void createStudentTable() {
        IGroupStrategy groupStrategy = new RectangleGroupStrategy(new TwisteToggleStrategy(), RectangleGroupStrategy.PAINTIMAGEOUTOFBOUNDS|RectangleGroupStrategy.ROUNDED);
       
        pGroupStudentTable = new PGroup(this, groupStrategy);
        pGroupStudentTable.setText("Alunos");
        pGroupStudentTable.setBackground(new Color(null, 133,147,194));
        pGroupStudentTable.setForeground(new Color(null, 255,255,255));
        pGroupStudentTable.setImage(new Image(null, "img/icoCadFuncionarios_central.png"));    
       
View Full Code Here

        updateTable();
    }
   
    private void createSearchGroup() {
        IGroupStrategy groupStrategy = new RectangleGroupStrategy(new TwisteToggleStrategy(), RectangleGroupStrategy.PAINTIMAGEOUTOFBOUNDS|RectangleGroupStrategy.ROUNDED);
        PGroup searchPGroup = new PGroup(this, groupStrategy);
        searchPGroup.setText("Pesquisar");
        searchPGroup.setBackground(new Color(null, 133,147,194));
        searchPGroup.setForeground(new Color(null, 255,255,255));
        searchPGroup.setImage(new Image(null, "img/searchEmployee_central.png"));       
       
        FormData data = new FormData();
        data.right = new FormAttachment(100, 0);
        data.top = new FormAttachment(optionsPGroup, 10);
        data.left = new FormAttachment(pGroupStudentTable, 10);
        searchPGroup.setLayoutData(data);

        searchPGroupComposite = searchPGroup.getBody();
        searchPGroupComposite.setLayout(new GridLayout());

        createSearchMessageLabel();
        createSearchText();
        createSearchButton();
View Full Code Here

        createSearchButton();
    }

    private void createOptionsGroup() {
        IGroupStrategy groupStrategy = new RectangleGroupStrategy(new TwisteToggleStrategy(), RectangleGroupStrategy.PAINTIMAGEOUTOFBOUNDS|RectangleGroupStrategy.ROUNDED);
        optionsPGroup = new PGroup(this, groupStrategy);
        optionsPGroup.setText("Op��es");
        optionsPGroup.setBackground(new Color(null, 133,147,194));
        optionsPGroup.setForeground(new Color(null, 255,255,255));
        optionsPGroup.setImage(new Image(null, "img/opcoes_central.png"));       
       
View Full Code Here

    }

    private void createStudentTable() {
        IGroupStrategy groupStrategy = new RectangleGroupStrategy(new TwisteToggleStrategy(), RectangleGroupStrategy.PAINTIMAGEOUTOFBOUNDS|RectangleGroupStrategy.ROUNDED);
       
        pGroupStudentTable = new PGroup(this, groupStrategy);
        pGroupStudentTable.setText("Salas");
        pGroupStudentTable.setBackground(new Color(null, 133,147,194));
        pGroupStudentTable.setForeground(new Color(null, 255,255,255));
        pGroupStudentTable.setImage(new Image(null, "img/icoCadFuncionarios_central.png"));    
       
View Full Code Here

        updateTable();
    }
   
    private void createSearchGroup() {
        IGroupStrategy groupStrategy = new RectangleGroupStrategy(new TwisteToggleStrategy(), RectangleGroupStrategy.PAINTIMAGEOUTOFBOUNDS|RectangleGroupStrategy.ROUNDED);
        searchPGroup = new PGroup(this, groupStrategy);
        searchPGroup.setText("Pesquisar");
        searchPGroup.setBackground(new Color(null, 133,147,194));
        searchPGroup.setForeground(new Color(null, 255,255,255));
        searchPGroup.setImage(new Image(null, "img/searchEmployee_central.png"));       
       
View Full Code Here

        createSearchButton();
    }
   
    private void createOptionsGroup() {
        IGroupStrategy groupStrategy = new RectangleGroupStrategy(new TwisteToggleStrategy(), RectangleGroupStrategy.PAINTIMAGEOUTOFBOUNDS|RectangleGroupStrategy.ROUNDED);
        optionsPGroup = new PGroup(this, groupStrategy);
        optionsPGroup.setText("Op��es");
        optionsPGroup.setBackground(new Color(null, 133,147,194));
        optionsPGroup.setForeground(new Color(null, 255,255,255));
        optionsPGroup.setImage(new Image(null, "img/opcoes_central.png"));       
       
View Full Code Here

        messange.setBackground(searchPGroupComposite.getBackground());
    }

    private void createReportGroup() {
        IGroupStrategy groupStrategy = new RectangleGroupStrategy(new TwisteToggleStrategy(), RectangleGroupStrategy.PAINTIMAGEOUTOFBOUNDS|RectangleGroupStrategy.ROUNDED);
        PGroup reportsPGroup = new PGroup(this, groupStrategy);
        reportsPGroup.setText("Relat�rios");
        reportsPGroup.setBackground(new Color(null, 133,147,194));
        reportsPGroup.setForeground(new Color(null, 255,255,255));
        reportsPGroup.setImage(new Image(null, "img/relatorio_central.png"));       
       
        FormData data = new FormData();
        data.right = new FormAttachment(100, 0);
        data.top = new FormAttachment(searchPGroup, 10);
        data.left = new FormAttachment(pGroupEmployeeTable, 10);
        reportsPGroup.setLayoutData(data);

        Composite groupBody = reportsPGroup.getBody();
        groupBody.setLayout(new GridLayout());
       
        Link simpleEmployeePaymentReport = new Link(groupBody, SWT.NONE);
        simpleEmployeePaymentReport.setText("<A>Holerite</A>");
        simpleEmployeePaymentReport.setBackground(groupBody.getBackground());
View Full Code Here

    }

    private void createEmployeeTable() {
        IGroupStrategy groupStrategy = new RectangleGroupStrategy(new TwisteToggleStrategy(), RectangleGroupStrategy.PAINTIMAGEOUTOFBOUNDS|RectangleGroupStrategy.ROUNDED);
       
        pGroupEmployeeTable = new PGroup(this, groupStrategy);
        pGroupEmployeeTable.setText("Funcion�rios");
        pGroupEmployeeTable.setBackground(new Color(null, 133,147,194));
        pGroupEmployeeTable.setForeground(new Color(null, 255,255,255));
        pGroupEmployeeTable.setImage(new Image(null, "img/icoCadFuncionarios_central.png"));    
       
View Full Code Here

TOP

Related Classes of com.swtplus.widgets.PGroup

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.