Package com.luciad.view.gxy
package com.luciad.view.gxy
Provides two-dimensional views and components supporting the visualization of the former's representation.
This package defines ILcdGXYView, an ILcdView to visualize
two-dimensional object geometry, and its main implementations:
TLcdGXYViewJPanel, a fast general-purpose Swing component;TLcdGXYViewJPanelLightWeight, a memory-efficient Swing component for specific use cases;TLcdGXYViewCanvas, a fast general-purpose AWT component;TLcdGXYViewBufferedImage, an image based implementation for server-side rendering.
The package com.luciad.view.map provides subclasses of these implementations for viewing objects
in a map context.
Unless stated otherwise, the classes in this package are meant to be used in a single thread, which is often
the event dispatch thread. Multi-threaded painting can be enabled using the package
com.luciad.view.gxy.asynchronous.
- Since:
- 1.0
-
ClassDescriptionConvenience class to wrap an
ILcdGXYContext: one only has to overwrite those methods that are required.ALcdGXYEditoris an abstract class that can be used for implementing theILcdGXYEditorinterface.AnALcdGXYInteractiveLabelProvidercan provide ajava.awt.Componentthat can be shown to the user so he can modify the properties of the object.This listener can be used to be notified when interaction is started, stopped or cancelled.This class implements some of the functionality common to mostILcdGXYLabelPainter2s.AnALcdGXYLabelStampis an object that performs the actual painting of a label.ALcdGXYPainteris an abstract class that can be used for implementing theILcdGXYPainterinterface.BeanInfo class for ALcdGXYPainter.Provides default implementations for some of theILcdGXYPenmethods.Indicates the rendering quality of the pen.ILcdAWTPathis an interface defining a path in AWT coordinates.ILcdGeneralPathis an interface defining a general path in world coordinates.ILcdGXYContextdefines the context to be used by anILcdGXYPainter(respectively anILcdGXYEditor) for drawing (editing) on anILcdGXYViewanObjectbelonging to anILcdModel.Interprets user interaction on anILcdGXYView.This extension ofILcdGXYLayeradds extra methods to allow querying and changing what labels get painted and where the labels are placed.Handles editing of an object through interactions with the objects representations in anILcdGXYView.ILcdGXYEditorProvider<T extends ILcdGXYEditor>Provides anILcdGXYLayerwith anILcdGXYEditorto edit the objects in the layers model.Interface that models a label editor allowing the user to move the labels on the map, for example graphically by using his mouse.This is the interface for all classes that define how to get a validILcdGXYLabelEditorfor editing the labels of anObject.Provider ofTLcdGXYLabelObstacles: locations where label placement should be avoided.A label painter allows to paint and query the view bounds of a domain object's label representation.Extension ofILcdGXYMultiLabelPainterthat allows free label placement next to the discrete label placement offered by the super interface.This is the interface for all classes that define how to get a validILcdGXYLabelPainterfor painting the labels of anObject.A provider of label priorities.Provides the combined representation in anILcdGXYViewof all objects in anILcdModel.This interface models a decoder forILcdGXYLayerobjects.This interface models an encoder forILcdGXYLayerobjects.Deprecated.label algorithm providers offer more flexibility for labeling layersDeprecated.UseILcdLayerTreeNodeinsteadA layer subset list defines a set of domain objects that are present in one or more layers.AILcdGXYMultiLabelPaintercan paint multiple labels per object.A provider of label priorities that is able to distinguish between an object's labels and sublabels.Locates and paints the representation of an object on anILcdGXYView.ILcdGXYPainterProvider<T extends ILcdGXYPainter>Provides anILcdGXYLayerwith anILcdGXYPainterto represent the objects in the layers model.AnILcdGXYPainterStyletells anILcdGXYPainterhow to set up the drawing properties of aGraphics(e.g. Color, Stroke, etc) before painting anObjectin a given mode andILcdGXYContext.Provides low-level operations for painting and editing on anILcdGXYView.
SeeALcdGXYPen.create(com.luciad.model.ILcdModelReference)for default factory methods.Deprecated.as of version 3.0.AnILcdViewto visualize two-dimensional object geometry, based on AWTGraphicsand organized inILcdGXYLayerobjects.Deprecated.ILcdGXYViewLabelPlacer offers more powerful and flexible decluttering functionalityThis interface defines all transformations between model coordinates and AWT view coordinates.This interface defines all transformations between world coordinates and AWT (toolkit) view coordinates.Provides a validILcdGXYViewXYWorldTransformationfor anILcdGXYView.Marker interface indicating a layer whose labels should not be deconflicted byILcdViewimplementations.This interface defines a parametric representation of a path.AnILcdGXYViewthat supports rotation, adding it as an extra parameter (next to the scale and origin mapping) to the view-world transformation.This class provides an implementation of anILcdAWTPath.Specifies how the interior of a shape is determined for self-intersecting polygons, i.e. how to calculate whether a point is outside or inside the shape.Composite implementation ofILcdGXYLayerFactory.ILcdGXYLayerDecoder,ILcdGXYLayerEncoderandILcdGXYLayerFactoryforILcdGXYLayers whoseILcdModelcontains featured points (bothILcdPointandILcdFeatured).ILcdGXYLayerDecoder,ILcdGXYLayerEncoderandILcdGXYLayerFactoryforILcdGXYLayers whoseILcdModelcontains featured polygons (bothILcdPolygonandILcdFeatured).ILcdGXYLayerDecoder,ILcdGXYLayerEncoderandILcdGXYLayerFactoryforILcdGXYLayers whoseILcdModelcontains featured polylines (bothILcdPolylineandILcdFeatured).When triggered thisILcdActionchanges the origin and scale of a givenILcdGXYViewto either fit to the model bounds set or, in case the bounds set is null to fit to the combined bounds of all the objects contained in the layer set.Action to fit all selected objects of a view within the view clip.Implementation ofILcdGXYPainterStylethat represents a line style, with a color and line width that can be different in regular and selected mode.This class provides an implementation of anILcdGeneralPath.AStrokeimplementation that can be used to draw one or more patterns repetitively along a path.Composite implementation of theILcdGXYLabelObstacleProviderinterface.This is an implementation ofILcdGXYContext.This label location contains two extra fields used to identify the position of a label on an awt path.This label painter paints curved text strings along a path.Extension ofTLcdGXYLabelPainterthat retrieves the label content through theILcdDataObjectinterface instead of usingobject.toString().Extension ofTLcdGXYPolygonLabelPainterthat retrieves the label content through theILcdDataObjectinterface instead of usingobject.toString().Extension ofTLcdGXYPolylineLabelPainterthat retrieves the label content through theILcdDataObjectinterface instead of usingobject.toString().ThisILcdGXYLayeris a layer wrapper that paints the wrapped layer as color-coded densities.Deprecated.The functionality offered by this class has been replaced with a properILcdGXYLabelEditor.This is an implementation ofILcdGXYEditorProviderthat returns for anObjectanILcdGXYEditorthat has been registered for its class.Extension ofTLcdGXYLabelPainterthat retrieves the label content through theILcdFeaturedinterface instead of usingobject.toString().Extension ofTLcdGXYPolygonLabelPainterthat retrieves the label content through theILcdFeaturedinterface instead of usingobject.toString().Extension ofTLcdGXYPolylineLabelPainterthat retrieves the label content through theILcdFeaturedinterface instead of usingobject.toString().When triggered (execute) this command changes the origin and scale of a givenILcdGXYViewto fit into given world bounds.A label painter that adds halo effects to labels.An extension ofTLcdGXYHaloLabelPainterthat supportsILcdGXYLabelPainter2.ILcdGXYPainterStylethat fills areas by hatching them with a given line width and color.The fill pattern.An obstacle: a location where label placement should be avoided.TLcdGXYLabelPainteris an implementation ofILcdGXYLabelPainter2that paints textual labels.This aBeanInfofor theTLcdGXYLabelPainterclass.This is aPropertyEditorfor theTLcdGXYLabelPainterclass.Default implementation of theILcdGXYEditableLabelsLayerinterface.BeanInfo class for TLcdGXYLayer.A greedy layer label painter based on the label locations provided by each label'slabel painter.Deprecated.UseTLcdGXYLayerTreeNodeinsteadThis is an implementation of theILcdGXYLayerSubsetListinterface.AnILcdLayerTreeNodeforILcdGXYLayers.Layer factory to create layer nodes with sub-layers (ILcdLayerTreeNode's) for models with sub-models (ILcdModelTreeNode's).TLcdGXYMultiFontLabelPainteris an implementation ofILcdGXYLabelPainter2that paints textual labels using multiple fonts or colors.This is an implementation of theILcdGXYPainterStyleinterface.ThisILcdGXYPainterStyleapplies a given font, and either a color or a selectionColor.A painter provider that allowsregisteringpainters for specific types of shapes.
By default, the provider is empty.A BeanInfo for theTLcdGXYPainterProviderclass.This class can play the role of a Customizer, or the role of a custom editor for aTLcdGXYPainterProvider.APropertyEditorfor theTLcdGXYPainterProviderclass.ILcdGXYPenfor painting and editing elementary shapes defined in a geodetic model reference or grid reference with very high performance.TLcdGXYPolygonStampLabelPainterthat displays the polygon's toString() method as a text label.BeanInfo class forTLcdGXYPolygonLabelPainter.Polygon label painter and label editor that positions the center of labels inside the polygon.TLcdGXYPolylineStampLabelPainterthat displays a point list's toString() method as a text label.This aBeanInfofor theTLcdGXYPolylineLabelPainterclass.Point list label painter and label editor that positions labels on or along line segments.When triggered (actionPerformed), thisILcdActionsets a givenILcdGXYControlleron a givenILcdGXYView.This is aBeanInfofor theTLcdGXYSetControllerActionclass.A painter and editor for all supported shape types.This implementation ofILcdGXYLabelPainter2delegates the actual painting to aALcdGXYLabelStamp.ILcdGXYViewimplementation based on an off-screen image.
It does not depend on AWT or Swing components, and can be used on the server side (for example, in a Servlet) for generating images to be sent to light-weight clients.An implementation of theILcdGXYViewinterface as ajava.awt.Canvas.Makes the representations of all Objects that belong to one or moreILcdGXYLayers fit into the containingILcdGXYView.BeanInfo class forTLcdGXYViewFitAction.An implementation of theILcdGXYViewinterface as ajavax.swing.JPanel.ILcdGXYViewimplementation that consumes less memory thanTLcdGXYViewJPanel.Deprecated.ILcdGXYViewLabelPlacer offers more powerful and flexible decluttering functionalityThis aBeanInfofor theTLcdGXYViewLabelPainterclass.This an implementation of theILcdGXYViewModelTransformationinterface.This is aILcdAction(i.e. an ActionListener) for panning aILcdGXYViewof [deltaX,deltaY] in screen coordinates.An implementation of theILcdGXYViewinterface as ajava.awt.Panel.This PlanarImage implements an off-screen view.This an implementation of theILcdGXYViewXYWorldTransformationinterface.This is aILcdAction(i.e. an ActionListener) for zooming aILcdGXYViewof a given zoom factor.ILcdGXYLayerDecoder,ILcdGXYLayerEncoderandILcdGXYLayerFactoryforILcdGXYLayers whoseILcdModelcontains multi level rasters (ILcdMultilevelRaster).ILcdGXYLayerDecoder,ILcdGXYLayerEncoderandILcdGXYLayerFactoryforILcdGXYLayers whoseILcdModelcontains (single level) rasters (ILcdRaster).ThisILcdActionwill save the content of anILcdGXYViewset as a property into a GIF File.This is an implementation of theILcdGXYEditorProviderinterface that returns always the sameILcdGXYEditor.This is an implementation of theILcdGXYPainterProviderinterface that returns always the sameILcdGXYPainter.ILcdGXYPainterStylebased onjava.awt.Stroke.This line style builder makes it possible to create pre-defined stroke based line styles.Describes how lines are ended.Describes how segments are joined.