1 / 10

MapPanel

MapPanel. CORKServlet. Wrapper component for a map (Map is subclass of MapPanel). MapServlet. SpotServlet. Map. for rendering a map as a gif image. for rendering spots into HTML. Inherits from Swing & AWT. MouseAdapter.

denver
Download Presentation

MapPanel

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. MapPanel CORKServlet Wrapper component for a map (Map is subclass of MapPanel) MapServlet SpotServlet Map for rendering a map as a gif image. for rendering spots into HTML. Inherits from Swing & AWT MouseAdapter Manager for MapTools: tracks the current state of the user interaction and makes it available to the current MapTool, also delegates mouse events to the current tool. MapToolManager Abstract superclass for tools that operate on the map, e.g. for navigation or content editing MapTool Inherits: java.util.EventListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener & manager from MapTool Key Blue = nav dir Green = render dir Yellow = place dir Pink = map/builder dir extends or implements Creation Tool Deletion Tool MapTool implementation for creating/deleting structures and spots.

  2. *public interface RenderableSet Interface for sets of objects that can be rendered for a given viewpoint, sets typically obtained from a RenderableSetFactory. SelectedShapeArcFactory RenderableSetFactory implements extends java.lang.Object,generates a set of ShapeArcs at (under) a specific coordinate. Direct Known Subclasses: BuildingPointSelectionHandler, BuildingSelectionHandler Interface for factory objects that create RenderableSets* for a given Viewpoint. More documentation on this class (and related classes) is in linc/docs/design/CVEData.html ObjectComponentSource ShapeArcRenderer ShapefileCache ObjectRenderer implements extends java.lang.Object Cache for instances of ShapefileRenderableSetFactory. extends java.lang.Object, implementation that knows how to draw ShapeArcs to a graphics object. implements extends java.lang.Object, implements ObjectRenderer for FloatRects. This is (initially) intended as a means for rendering viewpoints (e.g. of other users). FloatRectangleRenderer ShapefileRenderableSetFactory implementation of RenderableSetFactory that loads data from one or more Shapefiles. FloatRectangle extends java.lang.Object implements java.io.Serializable, Variation of an AWT Rect that uses floats instead of ints. LazyRenderableSetFactory

  3. SpotComponentSource ObjectComponentSource ObjectRenderer implements extends java.lang.Object, produces components for MOOsburg Spot instances. These are then rendered on a ZoomableRenderer. Interface for objects that know how to construct and layout components for a specific kind of renderable object onto an awt Container for a given Viewpoint. extends java.lang.Object, implementation that knows how to draw ShapeArcs to a graphics object. ShapeArcRenderer subclass that knows how to extract ShapeArcs from structures ShapeArcRenderer JPanel ToolBar Toolbar component that is placed next to the zoom slider, implements java.awt.event.ActionListener, java.beans.PropertyChangeListener. StructureShapeArcRenderer Thumbnail LazyRenderableSetFactory implements java.awt.event.MouseListener, MouseMotionListener Component that produces a thumbnail of another rendered view extends java.lang.Object implements RenderableSetFactory - implementation that supports splitting a large dataset into smaller chunks, loaded on demand. Direct Known Subclasses: Region implements TranslatedRenderableSetFactory RenderableSetFactory implements Interface for factory objects that create RenderableSets* for a given Viewpoint. ????

  4. ZoomSlider JSlider ChangeListener extends implements Slider for controlling the zoom on a ZoomableRenderer. implements javax.swing.event.ChangeListener ZoomableRenderer JComponent extends Generic gui component for rendering objects that support zooming and panning. Note that for simplicity this class does NOT handle insets. (So don't use setBorder(...) on it.) More documentation on this class (and related classes) is in linc/docs/design/CVEData.html in the CVS repository. extends java.lang.Object DefaultCoordinateTranslator Representation of the user's viewport. We are taking a much simpler approach to viewport than would be needed in (e.g.) an immersive 3D environment, as we assume a flat rendering. In this model, the viewpoint is defined by two rectangles: one that describes the bounds of the (2D) world coordinate system (which may be a projection of 3D data) and one that describes the bounds of the user's view of the world. Viewpoint also provides the dimensions of the rendered view. More documentation on this class (and related classes) is in linc/docs/design/CVEData.html in the CVS repository. implements CoordinateTranslator implements java.io.Serializable Viewpoint implements Interface for objects that implement translation between two coordinate systems, linear translation from one rectangle to another one.

  5. extends java.lang.Object, RenderableSet implementation that uses a Vector for storing renderable objects DefaultRenderableSet represents the 2-dimensional vector with real (double) coordinates computes a convex of a point set on a 2-dimensional plane R2Vector R2Convex implements Interface for sets of objects that can be rendered for a given viewpoint. These are typically obtained from a RenderableSetFactory RenderableSet implements Object DuplicateRenderableSet ??? RenderableSetFactory (also on previous page) LazyRenderableSetFactory (See javadocs for subtree) implements Interface for factory objects that create RenderableSets for a given Viewpoint. More documentation on this class (and related classes) is in linc/docs/design/CVEData.html in the CVS repository. extends java.lang.Object, Abstract RenderableSetFactory implementation that supports splitting a large dataset into smaller chunks, loaded on demand. More documentation on (and related classes) is in linc/docs/design/CVEData.html in the CVS repository. implements DuplicateRenderableRemover extends java.lang.Object, Abstract RenderableSetFactory implementation that supports splitting a large dataset into smaller chunks, loaded on demand. More documentation on this class (and related classes) is in linc/docs/design/CVEData.html in the CVS repository.

  6. TestRegion Test class for a Region whose data is stored in Vectors. SharedRegion Region LazyRenderableSetFactory Object uses replicated SharedChunk objects to store spot and structure data. Region implements java.io.Serializable, Representation of a 2-dimensional region containing spots and structures (More documentation on this class (and related classes) is in linc/docs/design/CVEData.html in the CVS repository. ) Trivial subclass of SharedListReplicator that replicates properties of things that get added to it. WebView for rendering a room RoomView SharedChunkReplicator Object SharedListReplicator Room implements java.io.Serializable, A simple MOO-like "room" landmark with a name, a description, and an image implements java.io.Serializable, generic sharable list implementation. See SharedListModelWrapper for a class that can be used with a JList. (CORK) Trivial subclass of SharedList for storing Spot and Structure object ids. SharedChunk SharedList Object

  7. implements SharedSpot Spot Object implements the Bridge EmbeddedObjectDescriptor interface, making it easier to use spots to refer to replicated content objects. implements java.io.Serializable, Representation of a single, dimensionless point to which the user can navigate. Structure Object implements java.io.Serializable, Representation of a structure (building, ship, etc...) More documentation on this class (and related classes) is in linc/docs/design/CVEData.html in the CVS repository.

  8. Configuration panel for Shapefile layers implements java.awt.event.MouseListener, javax.swing.event.ChangeListener, java.beans.PropertyChangeListener ShapefileLayerComponentView MapComponentView LayerConfigComponentView Implements cove.nav.NavigationControl, NavigationListener, implementation that presents a map based on a MapConfig object. This currently includes a fair bit of knowledge about the format of the layer definitions created by various LayerConfigPanel objects in map.builder. If we end up with more than a few of these we should abstract this better. Abstract class for configuration panels for different kinds of map layers. SharedRegionComponentView DefaultComponentView implements java.awt.event.MouseListener, java.beans.PropertyChangeListener Configuration panel for editable SharedRegion objects containing Spots and Structures. edu.vt.cs.collab.bridge.DefaultComponentView GeneralConfigPanel Jpanel (swing) Builder implements java.awt.event.ActionListener, Configuration panel for general map properties: name, bounds and scroll modes. implements java.awt.event.ActionListener Configuration panel for a map. Includes panels for general map configuration and configuration of layers. Jcomponent (swing) Abstract class for configuration panels for different kinds of map layers. LayerList LayerConfigPanel Panel containing an editable list of layers. All Implemented Interfaces: javax.accessibility.Accessible, java.awt.event.ActionListener, java.util.EventListener, java.awt.image.ImageObserver, javax.swing.event.ListSelectionListener, java.io.Serializable, java.awt.MenuContainer Container (awt) Component (awt) ShapefileLayerPanel SharedRegionLayerPanel Configuration panel for Shapefile layers Configuration panel for editable SharedRegion objects containing Spots and Structures. Object (lang)

  9. implements edu.vt.chci.cove.nav.NavigationControl, java.beans.PropertyChangeListener implements java.io.Serializable Shared representation of a static (shapefile) map layer. GISMapHelper ShapeFileLayer Object Object implements collab.bridge.WebView, WebView for rendering a gif for a MapConfig. MapWebView Replicable configuration object describing a set of data to be displayed on a map. It contains some general map meta-data, along with a list of layer descriptions. MapConfig MapConfigCopier WebSite (Bridge) collab.bridge.apps.web.WebSite implements collab.bridge.apps.text.SiteTemplateSource ReplicatedObjectCopier implementation that handles copying SharedRegions referenced by a MapConfig. collab.bridge.apps.linear.ObjectRecordList (implements collab.bridge.EmbeddedObjectSet) ObjectRecordList (Bridge) DefaultReplicatedObjectCopier cork.util.ReplicatedObjectCopyUtility.DefaultReplicatedObjectCopier (implements edu.vt.cs.collab.cork.util.ReplicatedObjectCopier) SharedList (Bridge) implements java.io.Serializable Object Object

  10. MapConfigReplicator Trivial subclass of SharedListReplicator for replicating a MapConfig object. • Subclass of SharedListStorageHandler for storing a MapConfig object. All Implemented Interfaces: edu.vt.cs.collab.cork.storage.StorageHandler ObjectRecordListReplicator MapConfigStorageHandler collab.bridge.apps.linear.ObjectRecordListReplicator SharedListReplicator SharedListStorageHandler collab.cork.models.sharedlist.SharedListReplicator collab.cork.models.sharedlist.SharedListStorageHandler implements edu.vt.cs.collab.cork.storage.StorageHandle Object Object

More Related