Package org.geomajas.layer.feature.attribute

Examples of org.geomajas.layer.feature.attribute.ImageUrlAttribute


        break;
      case URL:
        result = new UrlAttribute((String) value);
        break;
      case IMGURL:
        result = new ImageUrlAttribute((String) value);
        break;
      default:
        throw new IllegalArgumentException("Cannot create primitive attribute of type " + getType());
    }
    return result;
View Full Code Here


      case DATE:
        return new DateAttribute((Date) value);
      case URL:
        return new UrlAttribute((String) value);
      case IMGURL:
        return new ImageUrlAttribute((String) value);
      default:
        throw new IllegalArgumentException("Cannot create primitive attribute of type " + info);
    }
  }
View Full Code Here

        break;
      case URL:
        attribute = new UrlAttribute();
        break;
      case IMGURL:
        attribute = new ImageUrlAttribute();
    }
    attribute.setEditable(info.isEditable());
    return attribute;
  }
View Full Code Here

      case DOUBLE:
        return new DoubleAttribute();
      case FLOAT:
        return new FloatAttribute();
      case IMGURL:
        return new ImageUrlAttribute();
      case INTEGER:
        return new IntegerAttribute();
      case LONG:
        return new LongAttribute();
      case SHORT:
View Full Code Here

          break;
        case URL:
          attribute = new UrlAttribute(value);
          break;
        case IMGURL:
          attribute = new ImageUrlAttribute(value);
          break;
      }
      this.attribute = new StringAttribute(value);
      this.info = new PrimitiveAttributeInfo(name, label, type);
    }
View Full Code Here

          case DATE:
            return new DateAttribute();
          case URL:
            return new UrlAttribute();
          case IMGURL:
            return new ImageUrlAttribute();
        }
        throw new IllegalArgumentException("Unknown primtive in test");
      } else {
        throw new IllegalArgumentException("Non primitives not supported by test");
      }
View Full Code Here

TOP

Related Classes of org.geomajas.layer.feature.attribute.ImageUrlAttribute

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.