Examples of Value


Examples of org.graphstream.ui.graphicGraph.stylesheet.Value

    if (style.getStrokeMode() != StyleConstants.StrokeMode.NONE
        && style.getStrokeWidth().value != 0) {
      GraphMetrics metrics = camera.getMetrics();
      Rectangle2D rect = new Rectangle2D.Double();
      double px1 = metrics.px1;
      Value stroke = style.getShadowWidth();

      rect.setFrame(metrics.lo.x, metrics.lo.y + px1,
          metrics.size.data[0] - px1, metrics.size.data[1] - px1);
      g.setStroke(new BasicStroke((float) metrics.lengthToGu(stroke)));
      g.setColor(graph.getStyle().getStrokeColor(0));
View Full Code Here

Examples of org.h2.value.Value

    }

    public void test() throws SQLException {
        testCompare();
        for (int i = 0; i < Value.TYPE_COUNT; i++) {
            Value v = create(i);
            String s = "type: " + v.getType() +
                    " calculated: " + v.getMemory() +
                    " real: " + MemoryFootprint.getObjectSize(v) + " " +
                    v.getClass().getName() + ": " + v.toString();
            trace(s);
        }
        for (int i = 0; i < Value.TYPE_COUNT; i++) {
            assertEquals(i, create(i).getType());
            testType(i);
View Full Code Here

Examples of org.hibernate.mapping.Value

         */
        if (pc == null)
          throw new MappingException("dotted notation in <return-join> or <load_collection> not yet supported");
        int dotIndex = name.lastIndexOf( '.' );
        String reducedName = name.substring( 0, dotIndex );
        Value value = pc.getRecursiveProperty( reducedName ).getValue();
        Iterator parentPropIter;
        if ( value instanceof Component ) {
          Component comp = (Component) value;
          parentPropIter = comp.getPropertyIterator();
        }
View Full Code Here

Examples of org.hibernate.metamodel.relational.Value

    }

    // VERSION

    if ( entityBinding.isVersioned() ) {
      final Value versioningValue = entityBinding.getHierarchyDetails().getVersioningAttributeBinding().getValue();
      if ( ! org.hibernate.metamodel.relational.Column.class.isInstance( versioningValue ) ) {
        throw new AssertionFailure( "Bad versioning attribute binding : " + versioningValue );
      }
      org.hibernate.metamodel.relational.Column versionColumn = org.hibernate.metamodel.relational.Column.class.cast( versioningValue );
      versionColumnName = versionColumn.getColumnName().encloseInQuotesIfQuoted( factory.getDialect() );
View Full Code Here

Examples of org.jacorb.ir.gui.typesystem.Value

     */
    public String description()
    {
    String result = super.description();

        Value base = getBaseValue();
        if (base != null)
            result = result + "\nBase-Value:\t "
                            + ((IRValue)base).getAbsoluteName();
    else
            result = result + "\nBase-Value:\t:none";
View Full Code Here

Examples of org.jboss.reflect.spi.Value

      MethodInfo[] attributes = annotation.getAnnotationType().getDeclaredMethods();
      if (attributes != null)
      {
         for (int i = 0 ; i < attributes.length ; i++)
         {
            Value value = annotation.getValue(attributes[i].getName());

            if (value instanceof AnnotationValue)
            {
               getDependenciesForAnnotation(topLevelAnnotationName, (AnnotationValue)value, dependencies);
            }
View Full Code Here

Examples of org.jclouds.dynect.v3.domain.RecordSet.Value

      public boolean equals(Object obj) {
         if (this == obj)
            return true;
         if (obj == null || getClass() != obj.getClass())
            return false;
         Value that = Value.class.cast(obj);
         return equal(this.label, that.label) && equal(this.weight, that.weight) && equal(this.rdata, that.rdata);
      }
View Full Code Here

Examples of org.jnode.configure.PropertySet.Value

    }

    @Override
    public Value fromInput(String token) {
        if (token.equals(emptyToken)) {
            return new Value(token, "");
        } else {
            return fromValue(token);
        }
    }
View Full Code Here

Examples of org.jogger.http.Value

public class Messages {

  private RoutingEngine routingEngine;

  public void connections(Request request, Response response) throws JSONException {
    Value to = request.getParameter("recipient");
    Value status = request.getParameter("status");
    Value numRecords = request.getParameter("numRecords");

    Collection<Message> messages = listMessages(Direction.TO_CONNECTIONS, "to", to, status, numRecords);

    boolean htmlResponse = request.getHeader("Accept").contains("text/html");
    if (htmlResponse) {
View Full Code Here

Examples of org.jresearch.flexess.models.expression.Value

  public static OperationCall createBooleanOperation(EOperation operation, Expression... args) {    
    return createOperationCall(null, operation, Arrays.asList(args));
 

  public static Value createValue(EObject source) {
    Value result = ExpressionFactory.eINSTANCE.createValue();
    result.setSource(source);
    return result;
  }
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.