Examples of CaptionPanel


Examples of com.google.gwt.user.client.ui.CaptionPanel

 
  @SuppressWarnings({"unchecked"})
  private void initializeLDAPPanel() {
    VerticalPanel vPanel = this.vPanelLDAP;

    CaptionPanel caption = new CaptionPanel("LDAP");
    vPanel.add(caption);
    caption.setSize(ESPECIFIC_PANEL_WIDTH.toString(), ESPECIFIC_PANEL_HEIGTH.toString());
   
    VerticalPanel bodyCaption = new VerticalPanel();
    caption.add(bodyCaption);
   
    Map params = new HashMap<String, String>();
    params.put(ServiceNameConst.SERVICIO, ServiceNameConst.LIST_USERS);
    DispatcherUtil.getDispatcher().execute(params,
        new AsyncCallback() {
View Full Code Here

Examples of com.google.gwt.user.client.ui.CaptionPanel

  }

  private void initializePatronPanel() {
    VerticalPanel vPanel = this.vPanelPatron;

    CaptionPanel caption = new CaptionPanel("Patron en Logs");
    vPanel.add(caption);
    vPanel.setVisible(Boolean.FALSE);
    caption.setSize(ESPECIFIC_PANEL_WIDTH.toString(), ESPECIFIC_PANEL_HEIGTH.toString());
   
    VerticalPanel bodyCaption = new VerticalPanel();
    caption.add(bodyCaption);
   
    bodyCaption.add(getFieldHorizontalLine(fldPathLogs, btnPathLogs, "Ruta", FIELD_WIDTH, LABEL_WIDTH));
    fldPath.setAllowBlank(Boolean.FALSE);
    btnPathLogs.addSelectionListener(new SelectionListener<ButtonEvent>() {
      @Override
View Full Code Here

Examples of com.google.gwt.user.client.ui.CaptionPanel

  @SuppressWarnings({"unchecked"})
  private void initializeArchivosPanel() {
    VerticalPanel vPanel = this.vPanelArchivos;

    CaptionPanel caption = new CaptionPanel("Archivos");
    vPanel.add(caption);
    caption.setSize(ESPECIFIC_PANEL_WIDTH.toString(), ESPECIFIC_PANEL_HEIGTH.toString());

    VerticalPanel bodyCaption = new VerticalPanel();
    caption.add(bodyCaption);
   
    bodyCaption.add(getFieldHorizontalLine(fldControlType, "Tipo de Control", FIELD_WIDTH, LABEL_WIDTH));
    fldControlType.setAllowBlank(Boolean.FALSE);
    ListStore listStore = new ListStore();
    listStore.add(getModelData("1", "Creacion"));
View Full Code Here

Examples of com.google.gwt.user.client.ui.CaptionPanel

  

  private void initializeServiciosPanel() {
    VerticalPanel vPanel = this.vPanelServicios;

    CaptionPanel caption = new CaptionPanel("Servicios");
    vPanel.add(caption);
    caption.setSize(ESPECIFIC_PANEL_WIDTH.toString(), ESPECIFIC_PANEL_HEIGTH.toString());

    VerticalPanel bodyCaption = new VerticalPanel();
    bodyCaption.add(getFieldHorizontalLine(fldHost, "Direccion del servidor", FIELD_WIDTH, LABEL_WIDTH));
    bodyCaption.add(getFieldHorizontalLine(fldPort, "Puerto", FIELD_WIDTH, LABEL_WIDTH));
    caption.add(bodyCaption);

    fldHost.setAllowBlank(Boolean.FALSE);
    fldPort.setAllowBlank(Boolean.FALSE);
   
    vPanel.setVisible(Boolean.FALSE);
View Full Code Here

Examples of com.google.gwt.user.client.ui.CaptionPanel

  }
 
  private void initializeCreatePanel() {
    VerticalPanel vPanel = this.vPanelCreateTask;

    CaptionPanel caption = new CaptionPanel("Creacion de Tareas");
    vPanel.add(caption);
    caption.setSize(ESPECIFIC_PANEL_WIDTH.toString(), ESPECIFIC_PANEL_HEIGTH.toString());
   
    VerticalPanel bodyCaption = new VerticalPanel();
    bodyCaption.add(getFieldHorizontalLine(fldName, "Nombre de la tarea", FIELD_WIDTH, LABEL_WIDTH));
    fldName.setAllowBlank(Boolean.FALSE);
    bodyCaption.add(getFieldHorizontalLine(fldUser, "Usuario responsable", FIELD_WIDTH, LABEL_WIDTH));
    fldUser.setAllowBlank(Boolean.FALSE);
    addResponsable();

    /*fldDescription.setPreventScrollbars(true); 
    fldDescription.setFieldLabel("Descripcion"); 
    bodyCaption.add(fldDescription);
    */
    caption.add(bodyCaption);
   
    vPanel.setVisible(Boolean.FALSE);
  }
 
View Full Code Here

Examples of com.google.gwt.user.client.ui.CaptionPanel

  }

  private void initializeModifyStatusPanel() {
    VerticalPanel vPanel = this.vPanelModifyStatus;

    CaptionPanel caption = new CaptionPanel("Modificar Estado");
    vPanel.add(caption);
    caption.setSize(ESPECIFIC_PANEL_WIDTH.toString(), ESPECIFIC_PANEL_HEIGTH.toString());

    ListStore listStoreState = new ListStore();
    listStoreState.add(getModelData(StatusConst.PENDIENTE, StatusConst.PENDIENTE));
    listStoreState.add(getModelData(StatusConst.EN_CURSO, StatusConst.EN_CURSO));
    listStoreState.add(getModelData(StatusConst.FINALIZADA, StatusConst.FINALIZADA));
    listStoreState.add(getModelData(StatusConst.SUSPENDIDA, StatusConst.SUSPENDIDA));
   

    VerticalPanel bodyCaption = new VerticalPanel();
    bodyCaption.add(getFieldHorizontalLine(fldFromState, "Estado inicial", FIELD_WIDTH, LABEL_WIDTH));
    fldFromState.setAllowBlank(Boolean.FALSE);
    fldFromState.setStore(listStoreState);
    fldFromState.setEditable(Boolean.FALSE);
    fldFromState.setTypeAhead(true)
    fldFromState.setTriggerAction(TriggerAction.ALL);
   
    bodyCaption.add(getFieldHorizontalLine(fldToState, "Nuevo Estado", FIELD_WIDTH, LABEL_WIDTH));
    fldToState.setAllowBlank(Boolean.FALSE);
    fldToState.setAllowBlank(Boolean.FALSE);
    fldToState.setStore(listStoreState);
    fldToState.setEditable(Boolean.FALSE);
    fldToState.setTypeAhead(true)
    fldToState.setTriggerAction(TriggerAction.ALL);

    caption.add(bodyCaption);
   
    vPanel.setVisible(Boolean.FALSE);
  }
View Full Code Here

Examples of com.google.gwt.user.client.ui.CaptionPanel

   
    FlexTable flexTable = new FlexTable();
    decoratedTabPanel_1.add(flexTable, "System status", false);
    flexTable.setSize("", "");
   
    CaptionPanel cptnpnlResponderLoadLevels = new CaptionPanel("Responder load levels");
    flexTable.setWidget(0, 0, cptnpnlResponderLoadLevels);
   
   
    LoadLevelWidget loadLevelWidget = new LoadLevelWidget();
    cptnpnlResponderLoadLevels.setContentWidget(loadLevelWidget);
    loadLevelWidget.setSize("7cm", "8cm");
   
    CaptionPanel cptnpnlNotificationTopics = new CaptionPanel("Notification topics");
    flexTable.setWidget(0, 1, cptnpnlNotificationTopics);
    cptnpnlNotificationTopics.setSize("", "");
   
    TopicListWidget topicListWidget = new TopicListWidget();
    cptnpnlNotificationTopics.setContentWidget(topicListWidget);
    topicListWidget.setSize("7cm", "8cm");
   
    MessageListWidget messageListWidget = new MessageListWidget();
    decoratedTabPanel_1.add(messageListWidget, "Messages", false);
    messageListWidget.setSize("10cm", "20cm");
View Full Code Here

Examples of com.google.gwt.user.client.ui.CaptionPanel

      endsPanel.add( radioButtonsPanel );
      endsPanel.add( blockoutEndTimePicker );
      endsPanel.add( durationPanel );

      // Blockout period
      CaptionPanel blockoutStartCaptionPanel = new CaptionPanel( Messages.getString( "schedule.startTime" ) );
      HorizontalPanel blockoutStartPanel = new HorizontalPanel();
      blockoutStartPanel.add( getStartTimePicker() );
      timeZonePicker = new ListBox();
      timeZonePicker.setStyleName( "timeZonePicker" );
      timeZonePicker.setVisibleItemCount( 1 );
      blockoutStartPanel.add( timeZonePicker );
      timeZonePicker.getElement().getParentElement().getStyle().setPaddingTop( 5, Unit.PX );

      blockoutStartCaptionPanel.add( blockoutStartPanel );
      populateTimeZonePicker();

      // Ends Caption Panel
      CaptionPanel endCaptionPanel = new CaptionPanel( Messages.getString( "schedule.endsCaptionTitle" ) );
      endCaptionPanel.add( endsPanel );

      VerticalPanel blockoutPanel = new VerticalPanel();
      blockoutPanel.setWidth( "100%" ); //$NON-NLS-1$
      blockoutPanel.add( blockoutStartCaptionPanel );
      blockoutPanel.add( endCaptionPanel );
View Full Code Here

Examples of com.google.gwt.user.client.ui.CaptionPanel

      blockoutEndTimePicker.setTimeOfDay( isPM ? TimeOfDay.PM : TimeOfDay.AM );
    }
  }

  protected Widget createStartTimePanel() {
    CaptionPanel startTimeGB = new CaptionPanel( Messages.getString( "schedule.startTime" ) );
    startTimeGB.setStyleName( SCHEDULE_EDITOR_CAPTION_PANEL );

    startTimeGB.add( getStartTimePicker() );

    return startTimeGB;
  }
View Full Code Here

Examples of com.google.gwt.user.client.ui.CaptionPanel

    setTemporalState( currentVal );
  }

  private Widget createRecurrencePanel() {

    CaptionPanel recurrenceGB = new CaptionPanel( Messages.getString( "schedule.recurrencePattern" ) );
    recurrenceGB.setStyleName( SCHEDULE_EDITOR_CAPTION_PANEL );

    deckPanel = new DeckPanel();
    recurrenceGB.add( deckPanel );

    secondlyEditor = new SecondlyRecurrenceEditor();
    minutelyEditor = new MinutelyRecurrenceEditor();
    hourlyEditor = new HourlyRecurrenceEditor();
    dailyEditor = new DailyRecurrenceEditor();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.