Package org.zkoss.gmaps

Examples of org.zkoss.gmaps.Ginfo


    final Map data = request.getData();
    if (data == null)
      throw new UiException(MZk.ILLEGAL_REQUEST_WRONG_DATA,
          new Object[] {data, request});

        Ginfo info = (Ginfo) request.getDesktop().getComponentByUuidIfAny((String)data.get("info"));
        if (info != null && info.getParent() != comp) {
            info = null;
        }
    return new InfoChangeEvent(request.getCommand(), comp, info);
  }
View Full Code Here


  }
  @Command @NotifyChange({"miceData", "firstMarkersvm", "secondMarkersvm", "infovm"})
  public void infoChangeEvent(@ContextParam(ContextType.BIND_CONTEXT) BindContext ctx) {
    InfoChangeEvent event = (InfoChangeEvent)ctx.getTriggerEvent();
    _mapsvm.setMiceData(event);
    Ginfo info = event.getInfo();
    if (info instanceof Gmarker)
      _markersvmMap.get(info.getId()).setOpen(false);
    else
      _infovm.setOpen(false);
  }
View Full Code Here

TOP

Related Classes of org.zkoss.gmaps.Ginfo

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.