Examples of addAttribute()


Examples of org.formulacompiler.spreadsheet.internal.excel.xlsx.xml.XmlNode.addAttribute()

  {
    final int baseStyleId = createBaseStyle();
    this.namedStyles.put( _name, baseStyleId );

    final XmlNode node = new XmlNode( XMLConstants.Main.NAMED_STYLE );
    node.addAttribute( XMLConstants.Main.FORMAT_STYLE_ID, Integer.toString( baseStyleId ) );
    node.addAttribute( XMLConstants.Main.NAMED_STYLE_NAME, _name );
    this.xmlCellStyles.add( node );

    return baseStyleId;
  }

Examples of org.freeplane.features.attribute.mindmapmode.MAttributeController.addAttribute()

          final Attribute attribute = holder.mAttribute;
          final int position = holder.mPosition;
          final MAttributeController attributeController = (MAttributeController) AttributeController
              .getController();
          if (attributeTableLength <= position) {
            attributeController.addAttribute(mNode, attribute);
          }
          else if (NodeAttributeTableModel.getModel(mNode).getAttribute(position).getValue() != attribute
              .getValue()) {
            attributeController.setAttribute(mNode, position, attribute);
          }

Examples of org.geotools.feature.TypeBuilder.addAttribute()

        AttributeType PROJECT_NO = builder.attribute();

        builder.setName("wq_plus");

        builder.cardinality(1, 1);
        builder.addAttribute("sitename", SITENAME);

        builder.cardinality(0, 1);
        builder.addAttribute("anzlic_no", ANZLIC_NO);

        builder.cardinality(0, 1);

Examples of org.geotools.gce.grassraster.core.color.AttributeTable.addAttribute()

                if (line.indexOf("0:no data") == -1) { //$NON-NLS-1$
                    JlsTokenizer tk = new JlsTokenizer(line, ":"); //$NON-NLS-1$
                    if (tk.countTokens() == 2) {
                        float f = Float.parseFloat(tk.nextToken());
                        String att = tk.nextToken().trim();
                        attTable.addAttribute(f, att);
                    } else if (tk.countTokens() == 3) {
                        float f0 = Float.parseFloat(tk.nextToken());
                        float f1 = Float.parseFloat(tk.nextToken());
                        String att = tk.nextToken().trim();
                        attTable.addAttribute(f0, f1, att);

Examples of org.geotools.xml.impl.NodeImpl.addAttribute()

            }
        }

        if ((attributes != null) && (attributes.length > 0)) {
            for (int i = 0; i < attributes.length; i++) {
                node.addAttribute(new NodeImpl(attributes[i], attValues[i]));
            }
        }

        return node;
    }

Examples of org.glassfish.security.services.api.authorization.AzAction.addAttribute()

      if (action == null)
          return null;
     
      AzAction aza = new AzActionImpl();
     
      aza.addAttribute("ACTION", action, false);
    return aza;
  }

    @Override
  public PolicyDeploymentContext findOrCreateDeploymentContext(

Examples of org.glassfish.security.services.api.authorization.AzResource.addAttribute()

          return null;
     
      String attName = URI.class.getSimpleName();
     
      AzResource azr = new AzResourceImpl();
      azr.addAttribute(attName, resource.toString(), false);
     
    return azr;
  }

    @Override

Examples of org.glassfish.security.services.api.authorization.AzSubject.addAttribute()

      Set<Principal> principals = subject.getPrincipals();

      String AttName = Principal.class.getSimpleName();
      for (Principal p : principals) {
          String pname = p.getName();
          azs.addAttribute(AttName, pname, false);
      }
     
    return azs;
  }

Examples of org.graphstream.graph.Edge.addAttribute()

    n2.setAttribute("ui.class", "delivery");

    if(renderShipments){
      Edge s = g.addEdge(shipment.getId(), makeId(shipment.getId(),shipment.getPickupLocationId()),
          makeId(shipment.getId(),shipment.getDeliveryLocationId()), true);
      s.addAttribute("ui.class", "shipment");
    }

  }

  private void sleep(long renderDelay_in_ms2) {

Examples of org.graphstream.graph.Graph.addAttribute()

   
    //result-panel
    JPanel resultPanel = createResultPanel();
    //graphstream-panel
    Graph g = new MultiGraph("g");
    g.addAttribute("ui.quality");
    g.addAttribute("ui.antialias");
    g.addAttribute("ui.stylesheet", styleSheet);

    JPanel graphStreamPanel = new JPanel();
    graphStreamPanel.setPreferredSize(new Dimension((int)(800*scaling),(int)(460*scaling)));
 
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.