Examples of applyProperties()


Examples of org.fcrepo.server.config.ServerConfiguration.applyProperties()

    try {
      FileInputStream fis = new FileInputStream(fcfgBase);
      ServerConfiguration config = new ServerConfigurationParser(fis)
          .parse();
      config.applyProperties(props);

      // If using akubra-fs, set the class of the module and clear params.
      if (usingAkubra()) {
        ModuleConfiguration mConfig = config
            .getModuleConfiguration("org.fcrepo.server.storage.lowlevel.ILowlevelStorage");
View Full Code Here

Examples of org.libreplan.web.common.components.Autocomplete.applyProperties()

     * @param row
     */
    private void appendAutocompleteType(final Row row) {
        final Autocomplete autocomplete = new Autocomplete();
        autocomplete.setAutodrop(true);
        autocomplete.applyProperties();
        autocomplete.setFinder("CostCategoryFinder");
        autocomplete.setConstraint("no empty:" + _("A category must be selected"));

        // Getter, show type selected
        if (getCostCategory(row) != null) {
View Full Code Here

Examples of org.libreplan.web.common.components.Autocomplete.applyProperties()

    }

    private Autocomplete appendAutocompleteType(final Treeitem row) {
        final Autocomplete autocomplete = new Autocomplete();
        autocomplete.setAutodrop(true);
        autocomplete.applyProperties();
        autocomplete.setFinder("CostCategoryFinder");

        // Getter, show type selected
        if (getCostCategory(row) != null) {
            autocomplete.setSelectedItem(getCostCategory(row));
View Full Code Here

Examples of org.libreplan.web.common.components.Autocomplete.applyProperties()

     */
    private void appendResourceInLines(final Row row) {
        final Autocomplete autocomplete = new Autocomplete();
        autocomplete.setWidth("200px");
        autocomplete.setAutodrop(true);
        autocomplete.applyProperties();
        autocomplete.setFinder("ResourceFinder");

        // Getter, show worker selected
        if (getResource(row) != null) {
            autocomplete.setSelectedItem(getResource(row));
View Full Code Here

Examples of org.zkoss.zk.ui.Component.applyProperties()

  }
  private Label autoFirstCell() {
    Component cell = getFirstChild();
    if (cell == null || cell instanceof Label) {
      if (cell == null) cell = new Label();
      cell.applyProperties();
      cell.setParent(this);
      return (Label)cell;
    }
    throw new UiException("Unsupported child for setLabel: "+cell);
  }
View Full Code Here

Examples of org.zkoss.zk.ui.Component.applyProperties()

    if (renderer instanceof RowRendererExt)
      cell = ((RowRendererExt)renderer).newCell(row);

    if (cell == null) {
      cell = newRenderLabel(null);
      cell.applyProperties();
    }
    cell.setParent(row);
    return cell;
  }
  /** Returns the label for the cell generated by the default renderer.
View Full Code Here

Examples of org.zkoss.zk.ui.Component.applyProperties()

  }
  private Label autoFirstCell() {
    Component cell = getFirstChild();
    if (cell == null || cell instanceof Label) {
      if (cell == null) cell = new Label();
      cell.applyProperties();
      cell.setParent(this);
      return (Label)cell;
    }
    throw new UiException("Unsupported child for setLabel: "+cell);
  }
View Full Code Here

Examples of org.zkoss.zk.ui.Component.applyProperties()

    final Component comp = compdef.newInstance(page, clsnm);

    if (parent != null) comp.setParent(parent);
    else comp.setPage(page);

    comp.applyProperties(); //including custom-attributes
    return comp;
  }

  /** Returns the page definition of the specified path, or null if not found.
   *
 
View Full Code Here

Examples of org.zkoss.zul.Group.applyProperties()

    Group group = null;
    if (renderer instanceof GroupRendererExt)
      group = ((GroupRendererExt)renderer).newGroup((Grid)getOwner());
    if (group == null) {
      group = new Group();
      group.applyProperties();
    }
    return group;
  }
  private Groupfoot newGroupfoot(RowRenderer renderer) {
    Groupfoot groupfoot = null;
View Full Code Here

Examples of org.zkoss.zul.Groupfoot.applyProperties()

    Groupfoot groupfoot = null;
    if (renderer instanceof GroupRendererExt)
      groupfoot = ((GroupRendererExt)renderer).newGroupfoot((Grid)getOwner());
    if (groupfoot == null) {
      groupfoot = new Groupfoot();
      groupfoot.applyProperties();
    }
    return groupfoot;
  }
  private Component newUnloadedCell(RowRenderer renderer, Row row) {
    Component cell = null;
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.