Package com.extjs.gxt.ui.client.widget

Examples of com.extjs.gxt.ui.client.widget.VerticalPanel


    relationWindowOption = RelationWindowOptionFactory.getInstance().getRelationWindowOption(key, this);
    relationWindowOption.setVisiblePanel();
  }
 
  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"); 
View Full Code Here


   
    vPanel.setVisible(Boolean.FALSE);
  }

  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)
View Full Code Here

    fromField = new ListField<D>();
    toField = new ListField<D>();
    setSize(200, 125);
    messages = new DualListFieldMessages();

    buttonBar = new VerticalPanel();
    buttonBar.setStyleAttribute("margin", "7px");
    buttonBar.setHorizontalAlign(HorizontalAlignment.CENTER);
    buttonAdapter = new AdapterField(buttonBar);

    add(fromField);
View Full Code Here

    addToolBar();
   
    TabPanel tabPanel = new TabPanel();
    TabItem tbtmDetalles = new TabItem("Detalles");
    VerticalPanel panel = new VerticalPanel();
    tabPanel.add(tbtmDetalles);
    tbtmDetalles.add(panel);
    tbtmDetalles.setHeight(DETAILS_HEIGTH.toString());

    panel.add(getPanelFields());
    panel.add(getPermissions());

    add(tabPanel, new RowData(WINDOW_WIDTH, Style.DEFAULT, new Margins()));
   
    addGrid();
View Full Code Here

  /**
   * Agrega los campos
   * @param verticalPanel
   */
  private VerticalPanel getPanelFields() {
    VerticalPanel verticalPanel = new VerticalPanel();
   
    verticalPanel.add(getFieldHorizontalLine(fldGroup, "Grupo LDAP", FIELD_WIDTH, LABEL_WIDTH));
    fldGroup.setAllowBlank(Boolean.FALSE);
    registerField(fldGroup);
   
    Map params = new HashMap<String, String>();
    params.put(ServiceNameConst.SERVICIO, ServiceNameConst.LIST_GROUPS);
View Full Code Here

   * @param tabPanel
   * @param tbtmDetalles
   * @param horizontalPanel
   */
  private VerticalPanel getPermissions() {
    VerticalPanel verticalPanel_1 = new VerticalPanel();

    LabelField labelField = new LabelField("Permisos");
    verticalPanel_1.add(labelField);
   
    ScrollPanel cptnpnlPermisos = new ScrollPanel();
    verticalPanel_1.add(cptnpnlPermisos);
    cptnpnlPermisos.setSize("295px", "150px");

   
    grupoChecks.setOrientation(Orientation.VERTICAL);
    cptnpnlPermisos.add(grupoChecks);
    cptnpnlPermisos.setTitle("Permisos");
    //cptnpnlPermisos.setContentWidget(grupoChecks);
    registerField(grupoChecks);
    grupoChecks.setAutoValidate(true);
    grupoChecks.setValidator(new ValidaMultiField());
    grupoChecks.setSize("180px", "150px");
    grupoChecks.setFieldLabel("Permisos");
    verticalPanel_1.setSize("290px", "150px");
   
    addCheck(fldGestionarPerfiles, "Gestionar perfiles");
    addCheck(fldGestionarEventos, "Gestionar eventos");
    addCheck(fldTareas, "Crear y modificar tareas");
    addCheck(fldTareasNoAsignadas, "Crear y modificar tareas no asignadas");
View Full Code Here

  @Override
  protected void onRender(Element target, int index) {
    boolean vertical = orientation == Orientation.VERTICAL;
    if (vertical) {
      lc = new VerticalPanel();
    } else {
      lc = new HorizontalPanel();
    }

    if (GXT.isIE) {
View Full Code Here

  private VerticalPanel vp;

  @Override
  protected void onRender(Element parent, int index) {
    super.onRender(parent, index);
    vp = new VerticalPanel();
    vp.setSpacing(10);
    createColumnForm();
    add(vp);
  }
View Full Code Here

  @Override
  protected void onRender(Element parent, int index) {
    super.onRender(parent, index);

    vp = new VerticalPanel();
    vp.setSpacing(10);
    vp.getFocusSupport().setIgnore(false);

    for (Category cat : Category.values()) {
      vp.add(formatHeader(cat.getText()));
View Full Code Here

          ListStore<Stock> store, Grid<Stock> grid) {
        return numberRenderer.render(null, property, model.get(property));
      }
    };

    vp = new VerticalPanel();
    vp.setSpacing(20);

    createGrid(false);
    createGrid(true);
View Full Code Here

TOP

Related Classes of com.extjs.gxt.ui.client.widget.VerticalPanel

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.