net.refractions.udig.project.ui.render.glass
Class GlassPaneSite

java.lang.Object
  extended by AbstractContextImpl
      extended by net.refractions.udig.project.ui.render.glass.GlassPaneSite

public class GlassPaneSite
extends AbstractContextImpl

This class tracks the context of the glass pane. This include the map associated with the pane, the render manager, and includes some functions for converting to world coordinates to screen coordinates.

Since:
1.2.0
Author:
Emily Gouge (Refractions Research, Inc.)

Constructor Summary
GlassPaneSite(RenderManager manger, Map map)
          Creates a new GlassPaneSite from the given render manager and map.
 
Method Summary
 IAbstractContext copy()
          Creates a copy of the current context using the map and render manager of the current context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlassPaneSite

public GlassPaneSite(RenderManager manger,
                     Map map)
Creates a new GlassPaneSite from the given render manager and map.

Parameters:
manger - RenderManager responsible for rendering the map
map - the map the glass pane is drawn on
Method Detail

copy

public IAbstractContext copy()
Creates a copy of the current context using the map and render manager of the current context.