Examples of MiniMap


Examples of com.drakulo.games.ais.ui.component.Minimap

    // End of to externalize zone

    final int pad = 10;
    final int minimapX = pad;
    final int minimapY = Settings.HEIGHT - pad - Minimap.HEIGHT.intValue();
    this.minimap = new Minimap(minimapX, minimapY);

    // Initialization of border scroll zones
    initializeScrollZones();

    // Progress bars
View Full Code Here

Examples of net.vektah.codeglance.render.Minimap

    addMouseListener(mouseListener);
    addMouseMotionListener(mouseListener);

    updateSize();
    for(int i = 0; i < Array.getLength(minimaps); i++) {
      minimaps[i] = new Minimap(configService.getState());
    }
    updateImage();
  }
View Full Code Here

Examples of net.vektah.codeglance.render.Minimap

    logger.debug(String.format("Rendering to buffer: %d", activeBuffer));
    if (activeBuffer >= 0) {
      paintSelection(g);

      Minimap minimap = minimaps[activeBuffer];

      Rectangle visibleArea = editor.getScrollingModel().getVisibleArea();

      double documentEndY = editor.logicalPositionToXY(editor.offsetToLogicalPosition(editor.getDocument().getTextLength() - 1)).getY();
View Full Code Here

Examples of org.apache.wicket.util.collections.MiniMap

  private MiniMap pageParametersToMiniMap(PageParameters parameters)
  {
    if (parameters != null)
    {
      MiniMap map = new MiniMap(parameters, parameters.keySet().size());
      return map;
    }
    else
    {
      return null;
View Full Code Here

Examples of org.apache.wicket.util.collections.MiniMap

    IModel model = new Model()
    {
      public Object getObject()
      {
        Map map = new MiniMap(2);
        map.put("msg1", MSG1);
        map.put("msg2", "Stooopid test 2");
        return map;
      }

    };
View Full Code Here

Examples of org.apache.wicket.util.collections.MiniMap

  private MiniMap pageParametersToMiniMap(PageParameters parameters)
  {
    if (parameters != null)
    {
      MiniMap map = new MiniMap(parameters, parameters.keySet().size());
      return map;
    }
    else
    {
      return null;
View Full Code Here

Examples of org.apache.wicket.util.collections.MiniMap

    IModel model = new Model()
    {
      public Object getObject()
      {
        Map map = new MiniMap(2);
        map.put("msg1", MSG1);
        map.put("msg2", "Stooopid test 2");
        return map;
      }

    };
View Full Code Here

Examples of org.apache.wicket.util.collections.MiniMap

  private MiniMap pageParametersToMiniMap(PageParameters parameters)
  {
    if (parameters != null)
    {
      MiniMap map = new MiniMap(parameters, parameters.keySet().size());
      return map;
    }
    else
    {
      return null;
View Full Code Here

Examples of org.apache.wicket.util.collections.MiniMap

   * @see org.wicketstuff.dojo11.push.cometd.CometdAbstractBehavior#getCometdInterceptorScript()
   */
  @Override
  public String getCometdInterceptorScript()
  {
    final MiniMap map = new MiniMap(3);
    map.put("markupId", isComponentIndependent() ? _behaviorId : getComponent().getMarkupId());
    map.put("url", isComponentIndependent() ? "" : getCallbackUrl().toString());
    map.put("callback", _callbackMethod);
    return new DojoPackagedTextTemplate(CometdBehavior.class, "CometdJavascriptBehaviorTemplate.js")
            .asString(map);
  }
View Full Code Here

Examples of org.apache.wicket.util.collections.MiniMap

        String contextPath = request.getContextPath();
        String loading_url = contextPath + LOADING_GIF_PATH;
        String closing_url = contextPath + CLOSING_GIF_PATH;

        // Create the template's substitution map...
        MiniMap params = new MiniMap(2);
        params.put("loading-gif", loading_url);
        params.put("close-label-gif", closing_url);

        // Run the substitutions through the template, and return the result...
        PackagedTextTemplate template = new PackagedTextTemplate(LightboxBehavior.class, LIGHTBOX_JS_TEMPLATE);
        return template.asString(params);
    }
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.