Uses of Class
edu.cnu.mdi.item.Layer
Packages that use Layer
Package
Description
-
Uses of Layer in edu.cnu.mdi.container
Fields in edu.cnu.mdi.container declared as LayerModifier and TypeFieldDescriptionprotected LayerBaseContainer._annotationLayerAnnotation layer (protected; always drawn last).protected LayerBaseContainer._connectionLayerConnection layer (protected; always drawn first).protected LayerBaseContainer._defaultLayerDefault user content layer (drawn between connection and annotation layers).Fields in edu.cnu.mdi.container with type parameters of type LayerModifier and TypeFieldDescriptionBaseContainer._layersThe user-managed z-layers (does NOT include protected layers).Methods in edu.cnu.mdi.container that return LayerModifier and TypeMethodDescriptionBaseContainer.getAnnotationLayer()Get the annotation layer for this container.IContainer.getAnnotationLayer()Get the annotation layer for this container.BaseContainer.getConnectionLayer()Get the connection layer for this container.IContainer.getConnectionLayer()Get the connection layer for this container.BaseContainer.getDefaultLayer()Get the default user content layer.IContainer.getDefaultLayer()Get the default user content layer for this container.BaseContainer.getLayerByName(String name) Gets an z layer by name.IContainer.getLayerByName(String name) Gets an z layer by name.Methods in edu.cnu.mdi.container that return types with arguments of type LayerModifier and TypeMethodDescriptionBaseContainer.getAllLayers()Get all layers in draw order (bottom -> top), including protected layers.BaseContainer.getAllLayersForHitTesting()Get all layers in hit-test order (top -> bottom), including protected layers.Methods in edu.cnu.mdi.container with parameters of type LayerModifier and TypeMethodDescriptionvoidAdd a z layer for containing items rendered on this container..voidAdd a z layer for containing items rendered on this container..static AItemCreationSupport.createEllipseItem(Layer layer, Rectangle rect) From a given screen rectangle, create an ellipse item.static AItemCreationSupport.createLineItem(Layer layer, Point p0, Point p1) From two given screen points, create a line itemstatic AItemCreationSupport.createPolygonItem(Layer layer, Point[] pp) From a given screen polygon, create a polygon item.static AItemCreationSupport.createPolylineItem(Layer layer, Point[] pp) From a given screen polygon, create a polyline item.static AItemCreationSupport.createRadArcItem(Layer layer, Point pc, Point p1, Point p2) Create a radarc item from the given parameters, probably obtained by rubberbanding.static AItemCreationSupport.createRectangleItem(Layer layer, Rectangle b) From a given screen rectangle, create a rectangle item.static AItemCreationSupport.createTextItem(Layer layer, Point location) Create a text item at the given screen location.booleanBaseContainer.isProtectedLayer(Layer layer) Determine whether a layer is one of the protected layers.voidBaseContainer.itemChanged(Layer layer, AItem item, ItemChangeType type) Responds to item change events fired by layers owned by this container. -
Uses of Layer in edu.cnu.mdi.graphics.connection
Methods in edu.cnu.mdi.graphics.connection with parameters of type LayerModifier and TypeMethodDescriptionCreate and register a newConnectorItemif allowed.voidConnectionManager.itemChanged(Layer layer, AItem item, ItemChangeType type) Drawable list change callback. -
Uses of Layer in edu.cnu.mdi.item
Fields in edu.cnu.mdi.item declared as LayerMethods in edu.cnu.mdi.item that return LayerMethods in edu.cnu.mdi.item with parameters of type LayerModifier and TypeMethodDescriptionvoidItemChangeListener.itemChanged(Layer layer, AItem item, ItemChangeType type) One of the drawables in the set has changed.Constructors in edu.cnu.mdi.item with parameters of type LayerModifierConstructorDescriptionConstruct an item on the given layer, optionally configuring it from property key-value pairs, and immediately register it.ConnectorItem(Layer layer, AItem startItem, AItem endItem) Create a connector with a single elbow between two items.EllipseItem(Layer layer, double w, double h, double azimuth, Point2D.Double center) Create an ellipse.ImageItem(Layer layer, Rectangle2D.Double wr, BufferedImage image) Create a world image object.LineItem(Layer layer, Point2D.Double wp0, Point2D.Double wp1) Create a world line object.LineItem(Layer layer, Point2D.Double wp0, Point2D.Double wp1, Object... keyVals) Create a world line object.PathBasedItem(Layer layer) Create an object that is based on a java Path2D object.PathBasedItem(Layer layer, Object... keyVals) Create an object that is based on a java Path2D object.Constructor for a basic point item.PointItem(Layer layer, Point2D.Double location) Constructor for a basic point item.PointItem(Layer layer, Point2D.Double location, Object... keyVals) Constructor for a basic point item.Constructor for a basic point item.PolygonItem(Layer layer) Create a world polygon itemPolygonItem(Layer layer, Point2D.Double[] points) Create a world polygon itemPolygonItem(Layer layer, Point2D.Double[] points, Object... keyVals) Create a world polygon itemPolylineItem(Layer layer, Point2D.Double[] points) Create a world polyline itemPolylineItem(Layer layer, Point2D.Double[] points, Object... keyVals) Create a world polyline itemRadArcItem(Layer layer, Point2D.Double wpc, Point2D.Double wp1, double arcAngle) RectangleItem(Layer layer, Rectangle2D.Double wr) Create a world rectangle object.RectangleItem(Layer layer, Rectangle2D.Double wr, Object... keyVals) Create a world rectangle object.TextItem(Layer itemList, Point2D.Double location, Font font, String text, Color lineColor, Color fillColor, Color textColor) -
Uses of Layer in edu.cnu.mdi.mapping
Methods in edu.cnu.mdi.mapping that return LayerModifier and TypeMethodDescriptionMapView2D.getCityLayer()Returns the standard city layer.MapView2D.getCountryBoundaryLayer()Returns the country-boundary layer.MapView2D.getCountryFillLayer()Returns the country-fill layer.MapView2D.getEtopo5Layer()Returns the ETOPO5 layer.MapView2D.getGraticuleLayer()Returns the standard graticule layer.protected LayerMapView2D.installEtopo5Layer(Etopo5Loader loader, boolean initiallyShown) Installs ETOPO5 terrain and bathymetry into the standard ETOPO5 layer. -
Uses of Layer in edu.cnu.mdi.mapping.item
Constructors in edu.cnu.mdi.mapping.item with parameters of type LayerModifierConstructorDescriptionConstructs a new map item on the given layer.protectedAMapMultiPointItem(Layer layer, Point2D.Double[] latLons, Object... keyVals) MapLineItem(Layer layer, Point2D.Double startLatLon, Point2D.Double endLatLon) Creates a map-native great-circle line item.MapLineItem(Layer layer, Point2D.Double startLatLon, Point2D.Double endLatLon, Object... keyVals) Creates a map-native great-circle line item with optional item property key/value pairs.MapMilSymbolItem(Layer layer, Point2D.Double location, MilSymbolDescriptor descriptor, ImageIcon icon) Creates a new geolocated military symbol item.MapPointItem(Layer layer) Creates an unplaced map point item.MapPointItem(Layer layer, Point2D.Double location) Creates a map point item at the given geographic location.MapPointItem(Layer layer, Point2D.Double location, Object... keyVals) Creates a map point item at the given geographic location, with optional property key/value pairs.MapPointItem(Layer layer, Point2D.Double location, ImageIcon icon) Creates a map point item that displays an icon.MapPolygonItem(Layer layer, Point2D.Double[] latLons) Creates a map-native spherical polygon.MapPolygonItem(Layer layer, Point2D.Double[] latLons, Object... keyVals) Creates a map-native spherical polygon with optional property key/value pairs.MapPolylineItem(Layer layer, Point2D.Double[] latLons) Creates a map-native great-circle polyline.MapPolylineItem(Layer layer, Point2D.Double[] latLons, Object... keyVals) Creates a map-native great-circle polyline with optional property key/value pairs.MapTextItem(Layer layer, Point2D.Double location, Font font, String text, Color lineColor, Color fillColor, Color textColor) Creates a map-native text label. -
Uses of Layer in edu.cnu.mdi.mapping.layer
Subclasses of Layer in edu.cnu.mdi.mapping.layerModifier and TypeClassDescriptionclassLayer that renders and edits city markers and labels.classLayer that renders country political boundaries.classLayer that renders country polygon interiors.classLayer that renders ETOPO5 terrain and bathymetry.classLayer that renders and edits the standard map graticule.classMDI layer that hosts one shapefile renderer. -
Uses of Layer in edu.cnu.mdi.view
Methods in edu.cnu.mdi.view that return LayerModifier and TypeMethodDescriptionBaseView.getAnnotationLayer()Helper method to the the annotation layer from the container, if available.BaseView.getConnectionLayer()Helper method to the get the connection layer from the container, if available.BaseView.getDefaultLayer()Helper method to the get the default layer from the container, if available. -
Uses of Layer in edu.cnu.mdi.view.demo.layout
Methods in edu.cnu.mdi.view.demo.layout that return LayerModifier and TypeMethodDescriptionNetworkLayoutDemoView.getDeviceLayer()Get the device layer where device items are placed.Methods in edu.cnu.mdi.view.demo.layout with parameters of type LayerModifier and TypeMethodDescriptionstatic DeviceItemDeviceItem.createDeviceItem(Layer layer, Point p, EDeviceSymbol symbol) Create a device item centered at given point in local container coordinatesConstructors in edu.cnu.mdi.view.demo.layout with parameters of type LayerModifierConstructorDescriptionDeviceItem(Layer layer, Point2D.Double location, EDeviceSymbol symbol) Create a device item with the given symbol and world location.