Package br.com.procempa.modus.ui

Examples of br.com.procempa.modus.ui.SearchTableColumn


    visitaButton.setAction(actionVisita);
    visitaButton.setText("Registrar Visita");
    visitaButton.setToolTipText("Registrar Visita");
    addToolBarButton(visitaButton);

    addTableColumn(new SearchTableColumn("rg", "RG"));
    addTableColumn(new SearchTableColumn("nome", "Nome"));
    addTableColumn(new SearchTableColumn("email", "Email"));
    addTableColumn(new SearchTableColumn("endereco","Endere�o"));
    addTableColumn(new SearchTableColumn("telefone","Telefone"));


    // Define Listeners para os TextField
    Action actionRG = new AbstractAction() {
      private static final long serialVersionUID = -5333661004696063131L;
View Full Code Here


        rotuloField = new JTextField();
    }

    @Override
    public void build() {
        addTableColumn(new SearchTableColumn("rotulo", "R�tulo"));
        addTableColumn(new SearchTableColumn("marca", "Marca"));
        addTableColumn(new SearchTableColumn("processador", "Processador"));
        addTableColumn(new SearchTableColumn("discoRigido","Disco R�gido"));
        addTableColumn(new SearchTableColumn("memoria","Mem�ria"));
       
        Action actionRotulo = new AbstractAction() {
            private static final long serialVersionUID = -1009802912211411495L;

            public void actionPerformed(ActionEvent e) {
View Full Code Here

        JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
  }

  @Override
  public void build() {
    addTableColumn(new SearchTableColumn("id", "Id"));
    addTableColumn(new SearchTableColumn("exception", "Exce��o"));
    addTableColumn(new SearchTableColumn("timestamp", "Timestamp"));
    addTableColumn(new SearchTableColumn("user", "Usu�rio"));
    addTableColumn(new SearchTableColumn("telecentro", "Telecentro"));

    Action actionExceptionMessage = new AbstractAction() {

      private static final long serialVersionUID = -8363703753150419558L;
View Full Code Here

    return builder.getPanel();
  }
 
  public void build() { 
    addTableColumn(new SearchTableColumn("id", "Id"));
    addTableColumn(new SearchTableColumn("usuario.nome", "Nome"));
    addTableColumn(new SearchTableColumn("dataInicio", "Data In�cio"));
    addTableColumn(new SearchTableColumn("dataFim","Data Fim"));
    addTableColumn(new SearchTableColumn("equipamento.rotulo","Equipamento"));
    addTableColumn(new SearchTableColumn("observacao","Observa��o"));
   
    Action actionNome = new AbstractAction() {

      private static final long serialVersionUID = -8363703753150419558L;
View Full Code Here

    addEnabledButtons(inscreveButton);
  }

  @Override
  public void build() {
    addTableColumn(new SearchTableColumn("curso.nome", "Curso/Oficina"));
    addTableColumn(new SearchTableColumn("nome", "Turma"));
    addTableColumn(new SearchTableColumn("periodo", "Per�odo"));
    addTableColumn(new SearchTableColumn("horario", "Hor�rio"));
    addTableColumn(new SearchTableColumn("vagas", "Vagas"));

    Action actionInscreve = new AbstractAction("", IconFactory
        .createVisitaAtiva16()) {

      private static final long serialVersionUID = 0L;
View Full Code Here

    return builder.getPanel();
  }

  public void build() {
    addTableColumn(new SearchTableColumn("usuario.rg", "RG"));
    addTableColumn(new SearchTableColumn("usuario.nome", "Nome"));
    addTableColumn(new SearchTableColumn("dataInicio", "Data In�cio"));
    addTableColumn(new SearchTableColumn("dataFim", "Data Fim"));
    addTableColumn(new SearchTableColumn("equipamento.rotulo",
        "Equipamento"));
    addTableColumn(new SearchTableColumn("observacao", "Observa��o"));
   
    Action actionNome = new AbstractAction() {

      private static final long serialVersionUID = -8363703753150419558L;
View Full Code Here

    view.add(panel);
    SwingUtils.center(view);
  }

  protected Component createTable() {
    SearchTableColumn nomeColumn = new SearchTableColumn("usuario.nome",
        "Usu�rio");
    SearchTableColumn equipamentoColumn = new SearchTableColumn(
        "equipamento.rotulo", "Equipamento");
    SearchTableColumn dataInicioColumn = new SearchTableColumn(
        "dataInicio", "In�cio");
    SearchTableColumn clckColumn = new SearchTableColumn("", "Tempo");

    DefaultTableColumnModelExt columnModel = new DefaultTableColumnModelExt();
    columnModel.addColumn(nomeColumn);
    columnModel.addColumn(equipamentoColumn);
    columnModel.addColumn(dataInicioColumn);
View Full Code Here

    return panel;
 
 
  @Override
  public void build() {
    addTableColumn(new SearchTableColumn("turma.nome", "Turma"));
    addTableColumn(new SearchTableColumn("usuario.rg", "RG"));
    addTableColumn(new SearchTableColumn("usuario.nome", "Usu�rio"));
    addTableColumn(new SearchTableColumn("timestamp", "Data Inscri��o"));
   
    filtroLabel.setText("Filtrar por turma: ");
    addToolBarLabel(filtroLabel);
   
    actionFilter = new AbstractAction() {
View Full Code Here

    view.add(panel);
    SwingUtils.center(view);
  }

  protected Component createTable() {
    SearchTableColumn nomeColumn = new SearchTableColumn("usuario.nome",
        "Usu�rio");
    SearchTableColumn dataInicioColumn = new SearchTableColumn(
        "dataInicio", "In�cio");
    SearchTableColumn equipamentoColumn = new SearchTableColumn(
        "equipamento.rotulo", "Equipamento");
    SearchTableColumn clckColumn = new SearchTableColumn("", "Tempo");

    DefaultTableColumnModelExt columnModel = new DefaultTableColumnModelExt();
    columnModel.addColumn(nomeColumn);
    columnModel.addColumn(dataInicioColumn);
    columnModel.addColumn(equipamentoColumn);
View Full Code Here

    return panel;
  }

  @Override
  public void build() {
    addTableColumn(new SearchTableColumn("inscricao.usuario.nome", "Nome"));
    List<Encontro> encontroList;
    try {
      encontroList = EncontroDataServices.getList(turma);
      for (Encontro encontro : encontroList) {
        addTableColumn(new SearchTableColumn("presente", encontro
            .getData()));
      }

    } catch (Exception e) {
      // TODO Auto-generated catch block
View Full Code Here

TOP

Related Classes of br.com.procempa.modus.ui.SearchTableColumn

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.