Package org.geomajas.gwt.client.gfx.paintable

Examples of org.geomajas.gwt.client.gfx.paintable.Composite


    VLayout column2 = new VLayout();
    column2.setMembersMargin(10);
    VLayout column3 = new VLayout();
    column3.setMembersMargin(10);

    final Composite group1 = new Composite("some-group");
    final Composite group2 = new Composite("another-group");

    // Button1: Draw circle
    IButton button1 = new IButton(I18nProvider.getSampleMessages().renderingDrawCircle());
    button1.addClickHandler(new ClickHandler() {
View Full Code Here


  // -------------------------------------------------------------------------

  /** Render the legend, without actually resizing the widget. */
  private void renderWithoutResize() {
    graphics.deleteGroup(parentGroup);
    parentGroup = new Composite("legend-group");
    graphics.drawGroup(null, parentGroup);

    // Then go over all layers, to draw styles:
    int lineCount = 0;
    int y = 5;
View Full Code Here

    DOM.setElementAttribute(rootNode, "viewBox", "0 0 " + sWidth + " " + sHeight);
    DOM.setElementAttribute(rootNode, "xml:base", GWT.getHostPageBaseURL());
    helper = new DomHelper(rootNode, Namespace.SVG);

    // Point style definitions:
    defsGroup = new Composite("style_defs");
    defs = helper.drawGroup(null, defsGroup, "defs");

    // Append to parent: we need a top div or the svg is blocked by any peer div !!!
    Element divNode = DOM.createElementNS(DOM.NS_HTML, "div");
    DOM.setStyleAttribute(divNode, "position", "absolute");
View Full Code Here

TOP

Related Classes of org.geomajas.gwt.client.gfx.paintable.Composite

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.