Examples of VectorGroup


Examples of org.geomajas.puregwt.client.map.gfx.VectorGroup

    // Attach a DrawingArea inside the clipping area (used for vector rendering):
    drawingArea = new DrawingArea(100, 100);
    add(drawingArea, 0, 0);

    // First child within the vector drawing area is a group for the map to render it's non-HTML layers:
    layerVectorContainer = new VectorGroup();
    drawingArea.add(layerVectorContainer);

    // Second child within the vector drawing area is a group for screen and world containers:
    userVectorContainer = new VectorGroup();
    drawingArea.add(userVectorContainer);

    // Third child within the vector drawing area is a group for map gadget containers:
    gadgetVectorContainer = new VectorGroup();
    drawingArea.add(gadgetVectorContainer);

    // Firefox and Chrome allow for DnD of images. This default behavior is not wanted.
    addMouseDownHandler(new MouseDownHandler() {
View Full Code Here

Examples of org.geomajas.puregwt.client.map.gfx.VectorGroup

    }
    return false;
  }

  public VectorContainer getMapGadgetContainer() {
    VectorGroup container = new VectorGroup();
    gadgetVectorContainer.add(container);
    return container;
  }
View Full Code Here

Examples of org.geomajas.puregwt.client.map.gfx.VectorGroup

  private VectorContainer getVectorContainer(Layer<?> layer) {
    if (vectorLayerContainers.containsKey(layer)) {
      return vectorLayerContainers.get(layer);
    }
    VectorGroup container = new VectorGroup();
    //container.setSize(viewPort.getMapWidth() + "px", viewPort.getMapHeight() + "px");
    vectorContainer.add(container);
    vectorLayerContainers.put(layer, container);
    return container;
  }
View Full Code Here

Examples of water.fvec.Vec.VectorGroup

            assert _run_local || vecs[i].chunkKey(_lo).home()
              : "Chunk="+_lo+" v0="+v0+", k="+v0.chunkKey(_lo)+"   v["+i+"]="+vecs[i]+", k="+vecs[i].chunkKey(_lo);
            bvs[i] = vecs[i].chunkForChunkIdx(_lo);
          }
        if(_noutputs > 0){
          final VectorGroup vg = vecs[0].group();
          _appendables = new AppendableVec[_noutputs];
          appendableChunks = new NewChunk[_noutputs];
          for(int i = 0; i < _appendables.length; ++i){
            _appendables[i] = new AppendableVec(vg.vecKey(_vid+i));
            appendableChunks[i] = _appendables[i].chunkForChunkIdx(_lo);
          }
        }
        // Call all the various map() calls that apply
        _profile._userstart = System.currentTimeMillis();
View Full Code Here

Examples of water.fvec.Vec.VectorGroup

  // Top-level parser driver
  private static void parse_impl(ParseDataset2 job, Key[] fkeys, ParseSetup setup, boolean delete_on_done) {
    assert setup._ncols > 0;
    if( fkeys.length == 0) { job.cancel()return}

    VectorGroup vg = getByteVec(fkeys[0]).group();
    MultiFileParseTask mfpt = job._mfpt = new MultiFileParseTask(vg,setup,job._key,fkeys,delete_on_done);
    mfpt.doAll(fkeys);
    EnumUpdateTask eut = null;
    // Calculate enum domain
    int n = 0;
View Full Code Here

Examples of water.fvec.Vec.VectorGroup

  // Top-level parser driver
  private static void parse_impl(ParseDataset2 job, Key[] fkeys, ParseSetup setup, boolean delete_on_done) {
    assert setup._ncols > 0;
    if( fkeys.length == 0) { job.cancel()return}

    VectorGroup vg = getByteVec(fkeys[0]).group();
    MultiFileParseTask mfpt = job._mfpt = new MultiFileParseTask(vg,setup,job._key,fkeys,delete_on_done);
    mfpt.doAll(fkeys);
    EnumUpdateTask eut = null;
    // Calculate enum domain
    int n = 0;
View Full Code Here

Examples of water.fvec.Vec.VectorGroup

            assert _run_local || vecs[i].chunkKey(_lo).home()
              : "Chunk="+_lo+" v0="+v0+", k="+v0.chunkKey(_lo)+"   v["+i+"]="+vecs[i]+", k="+vecs[i].chunkKey(_lo);
            bvs[i] = vecs[i].chunkForChunkIdx(_lo);
          }
        if(_noutputs > 0){
          final VectorGroup vg = vecs[0].group();
          _appendables = new AppendableVec[_noutputs];
          appendableChunks = new NewChunk[_noutputs];
          for(int i = 0; i < _appendables.length; ++i){
            _appendables[i] = new AppendableVec(vg.vecKey(_vid+i));
            appendableChunks[i] = _appendables[i].chunkForChunkIdx(_lo);
          }
        }
        // Call all the various map() calls that apply
        _profile._userstart = System.currentTimeMillis();
View Full Code Here

Examples of water.fvec.Vec.VectorGroup

  // Top-level parser driver
  private static void parse_impl(ParseDataset2 job, Key[] fkeys, ParseSetup setup, boolean delete_on_done) {
    assert setup._ncols > 0;
    if( fkeys.length == 0) { job.cancel()return}

    VectorGroup vg = getByteVec(fkeys[0]).group();
    MultiFileParseTask mfpt = job._mfpt = new MultiFileParseTask(vg,setup,job._key,fkeys,delete_on_done);
    mfpt.doAll(fkeys);
    EnumUpdateTask eut = null;
    // Calculate enum domain
    int n = 0;
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.