Examples of MapRenderer


Examples of com.volantis.mcs.protocols.widgets.renderers.MapRenderer

    public XDIMEResult callOpenOnProtocol(XDIMEContextInternal context, XDIMEAttributes attributes)
        throws XDIMEException {

        try {
            MapRenderer mapRenderer = null;
           
            // First get the widget module, which is a part of protocol
            // responsible for rendering widgets. Thec ask for renderer.
            WidgetModule widgetModule =  getWidgetModule(context);       
            if (null != widgetModule){
                mapRenderer = widgetModule.getMapRenderer();
            }
      
            if (null != mapRenderer){
                mapRenderer.renderMapView(getProtocol(context),
                        (WidgetAttributes)protocolAttributes);            
            }
        } catch (ProtocolException e) {
            logger.error("rendering-error", getTagName(), e);
   
View Full Code Here

Examples of mapwriter.map.MapRenderer

   
    public MwGui(Mw mw) {
      this.mw = mw;
      this.mapMode = new FullScreenMapMode(mw.config);
      this.mapView = new MapView(this.mw);
      this.map = new MapRenderer(this.mw, this.mapMode, this.mapView);
     
      this.mapView.setDimension(this.mw.miniMap.view.getDimension());
      this.mapView.setViewCentreScaled(this.mw.playerX, this.mw.playerZ, this.mw.playerDimension);
      this.mapView.setZoomLevel(0);
     
View Full Code Here

Examples of org.freezedry.persistence.keyvalue.renderers.MapRenderer

   */
  private Map< Class< ? >, PersistenceRenderer > createDefaultRenderers()
  {
    final Map< Class< ? >, PersistenceRenderer > renderers = new HashMap<>();
    renderers.put( Collection.class, new CollectionRenderer( this ) );
    renderers.put( Map.class, new MapRenderer( this ) );

    renderers.put( String.class, new LeafNodeRenderer( this ) );
   
    renderers.put( Integer.class, new LeafNodeRenderer( this ) );
    renderers.put( Long.class, new LeafNodeRenderer( this ) );
View Full Code Here

Examples of org.freezedry.persistence.keyvalue.renderers.MapRenderer

  private Map< Class< ? >, PersistenceRenderer > createDefaultRenderers()
  {
    final Map< Class< ? >, PersistenceRenderer > renderers = new HashMap<>();
    renderers.put( Collection.class, new CollectionRenderer( this ) );
//    renderers.put( Collection.class, new FlatteningCollectionRenderer( this ) );
    renderers.put( Map.class, new MapRenderer( this ) );

    renderers.put( String.class, new LeafNodeRenderer( this ) );
   
    renderers.put( Integer.class, new LeafNodeRenderer( this ) );
    renderers.put( Long.class, new LeafNodeRenderer( this ) );
View Full Code Here

Examples of org.freezedry.persistence.keyvalue.renderers.MapRenderer

  private Map< Class< ? >, PersistenceRenderer > createDefaultRenderers()
  {
    final Map< Class< ? >, PersistenceRenderer > renderers = new HashMap<>();
    renderers.put( Collection.class, new CollectionRenderer( this ) );
//    renderers.put( Collection.class, new FlatteningCollectionRenderer( this ) );
    renderers.put( Map.class, new MapRenderer( this ) );

    renderers.put( String.class, new LeafNodeRenderer( this ) );
   
    renderers.put( Integer.class, new LeafNodeRenderer( this ) );
    renderers.put( Long.class, new LeafNodeRenderer( this ) );
View Full Code Here

Examples of org.freezedry.persistence.keyvalue.renderers.MapRenderer

   */
  private Map< Class< ? >, PersistenceRenderer > createDefaultRenderers()
  {
    final Map< Class< ? >, PersistenceRenderer > renderers = new HashMap<>();
    renderers.put( Collection.class, new CollectionRenderer( this ) );
    renderers.put( Map.class, new MapRenderer( this ) );

    renderers.put( String.class, new LeafNodeRenderer( this ) );
   
    renderers.put( Integer.class, new LeafNodeRenderer( this ) );
    renderers.put( Long.class, new LeafNodeRenderer( this ) );
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.