Package com.swtplus.widgets

Examples of com.swtplus.widgets.PGroup


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


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

  private void createPresentGroup() {
    IGroupStrategy groupStrategy = new RectangleGroupStrategy(
        new TwisteToggleStrategy(),
        RectangleGroupStrategy.PAINTIMAGEOUTOFBOUNDS
            | RectangleGroupStrategy.ROUNDED);
    presentPGroup = new PGroup(this, groupStrategy);
    presentPGroup.setText("Controle De Presen�a");
    presentPGroup.setBackground(new Color(null, 133, 147, 194));
    presentPGroup.setForeground(new Color(null, 255, 255, 255));
    presentPGroup.setImage(new Image(null,
        "img/trocaUsuarioGrupo_central.png"));
View Full Code Here

        updateTable(GROUP_STRING);
    }

    private void createChoseModeGroup() {
        IGroupStrategy groupStrategy = new RectangleGroupStrategy(new TwisteToggleStrategy(), RectangleGroupStrategy.PAINTIMAGEOUTOFBOUNDS | RectangleGroupStrategy.ROUNDED);
        choseModePGroup = new PGroup(this, groupStrategy);
        choseModePGroup.setText("Visualiza��o");
        choseModePGroup.setBackground(new Color(null, 133, 147, 194));
        choseModePGroup.setForeground(new Color(null, 255, 255, 255));
        choseModePGroup.setImage(new Image(null, "img/trocaUsuarioGrupo_central.png"));
View Full Code Here

        });
    }

    private void createOptionsGroup() {
        IGroupStrategy groupStrategy = new RectangleGroupStrategy(new TwisteToggleStrategy(), RectangleGroupStrategy.PAINTIMAGEOUTOFBOUNDS | RectangleGroupStrategy.ROUNDED);
        PGroup 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"));

        FormData data = new FormData();
        data.right = new FormAttachment(100, 0);
        data.top = new FormAttachment(choseModePGroup, 10);
        data.left = new FormAttachment(pGroupSecurityTable, 10);
        optionsPGroup.setLayoutData(data);
       
        groupBody = optionsPGroup.getBody();

        FormLayout formLayout = new FormLayout();
        formLayout.marginHeight = 5;
        formLayout.marginWidth = 1;
        groupBody.setLayout(formLayout);
View Full Code Here

    }

    private void createSecurityTable() {
        IGroupStrategy groupStrategy = new RectangleGroupStrategy(new TwisteToggleStrategy(), RectangleGroupStrategy.PAINTIMAGEOUTOFBOUNDS | RectangleGroupStrategy.ROUNDED);

        pGroupSecurityTable = new PGroup(this, groupStrategy);
        pGroupSecurityTable.setBackground(new Color(null, 133, 147, 194));
        pGroupSecurityTable.setForeground(new Color(null, 255, 255, 255));
        updateTitleSegurityTable(GRUPOS_STRING);

        Composite groupBody = pGroupSecurityTable.getBody();
View Full Code Here

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

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

  }
 

  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

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.