Uses of Class
edu.cnu.mdi.item.AItem
Packages that use AItem
Package
Description
-
Uses of AItem in edu.cnu.mdi.container
Fields in edu.cnu.mdi.container declared as AItemFields in edu.cnu.mdi.container with type parameters of type AItemMethods in edu.cnu.mdi.container that return AItemModifier and TypeMethodDescriptionstatic 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.BaseContainer.getItemAtPoint(Point pp) Find an item, if any, at the point.IContainer.getItemAtPoint(Point lp) Find an item, if any, at the point.Methods in edu.cnu.mdi.container that return types with arguments of type AItemModifier and TypeMethodDescriptionBaseContainer.getEnclosedItems(Rectangle rect) Obtain a collection of all enclosed items across all lists.IContainer.getEnclosedItems(Rectangle rect) Obtain a collection of all enclosed items across all lists.BaseContainer.getItemsAtPoint(Point lp) Find all items, if any, at the point.IContainer.getItemsAtPoint(Point lp) Find all items, if any, at the point.BaseContainer.getSelectedItems()Get all selected items, across all item lists.IContainer.getSelectedItems()Get all selected items, across all item lists.Methods in edu.cnu.mdi.container with parameters of type AItemModifier and TypeMethodDescriptionstatic voidCreationSupport.defaultConfigureItem(AItem item) Configure the given item with the default interaction properties used by everycreateXxxItemfactory in this class: right-clickable, draggable, selectable, resizable, rotatable, deletable, style-editable, and unlocked.voidBaseContainer.itemChanged(Layer layer, AItem item, ItemChangeType type) Responds to item change events fired by layers owned by this container. -
Uses of AItem in edu.cnu.mdi.graphics.connection
Methods in edu.cnu.mdi.graphics.connection that return types with arguments of type AItemModifier and TypeMethodDescriptionConnectionManager.getConnectedItems(AItem item) Get all items directly connected to the given item.Methods in edu.cnu.mdi.graphics.connection with parameters of type AItemModifier and TypeMethodDescriptionbooleanConnectionManager.canConnect(AItem item1, AItem item2) Determine whether two items can be connected.Create and register a newConnectorItemif allowed.ConnectionManager.getConnectedItems(AItem item) Get all items directly connected to the given item.booleanConnectionManager.hasConnection(AItem item1, AItem item2) Check whether a connection already exists between the two items.voidConnectionManager.itemChanged(Layer layer, AItem item, ItemChangeType type) Drawable list change callback. -
Uses of AItem in edu.cnu.mdi.item
Subclasses of AItem in edu.cnu.mdi.itemModifier and TypeClassDescriptionclassA connection between two connectable items, drawn as an open polyline with an editable elbow.classAn ellipse item represented internally as aPath2Dpolygonal approximation.classARectangleItemthat displays aBufferedImagescaled to its bounds, with no fill or outline drawn for the rectangle itself.classA simpleAItemrepresenting a world-coordinate line segment.classBase class for items whose geometry is aPath2D.Doublein world coordinates, stored in_path.classBasic point itemclassA closed, filled/stroked polygon defined in world coordinates.classAn open, stroked-only polyline defined in world coordinates.classclassA closed, four-vertexPolygonIteminitialized from a world-coordinate rectangle.classA drawable item that renders text with a rectangular background/border.Methods in edu.cnu.mdi.item that return AItemModifier and TypeMethodDescriptionConnectorItem.getEndItem()Return the item this connector terminates at.ItemModification.getItem()Get the item being modified.Layer.getItemAtPoint(IContainer container, Point screenPoint) Return the topmost visible item that contains the given screen point.ConnectorItem.getStartItem()Return the item this connector originates from.Methods in edu.cnu.mdi.item that return types with arguments of type AItemModifier and TypeMethodDescriptionLayer.getAllItems()Return a snapshot of all items on this layer, in draw order (bottom-to-top).Layer.getItemsAtPoint(IContainer container, Point screenPoint) Return all visible items that contain the given screen point, topmost first.Layer.getSelectedItems()Return a snapshot of all selected, visible items on this layer.Methods in edu.cnu.mdi.item with parameters of type AItemModifier and TypeMethodDescriptionvoidAdd an item to the top of this layer and notify listeners.booleanReturntrueif this layer contains the given item.voidLayer.deleteItem(AItem item) Delete a single item from this layer.static JMenuConvenience overload — equivalent toforItem(item, true).static JMenuCreate and return a fully configuredItemOrderingMenufor the given item.static JMenuItemOrderingMenu.getItemOrderingMenu(AItem item, boolean insertItemName) Deprecated.voidItemChangeListener.itemChanged(Layer layer, AItem item, ItemChangeType type) One of the drawables in the set has changed.voidLayer.notifyItemChangeListeners(AItem item, ItemChangeType type) Notify all registered listeners that an item changed.booleanRemove an item from this layer.voidLayer.selectAllItems(boolean select, AItem excludedItem) Select or deselect all items on this layer, optionally excluding one.voidLayer.selectItem(AItem item, boolean select) Select or deselect a single item and notify listeners.voidLayer.sendBackward(AItem item) Move an item one step toward the back (lower draw order).voidLayer.sendForward(AItem item) Move an item one step toward the front (higher draw order).voidLayer.sendToBack(AItem item) Send an item to the very back (bottom draw order) of this layer.voidLayer.sendToFront(AItem item) Bring an item to the very front (top draw order) of this layer.Method parameters in edu.cnu.mdi.item with type arguments of type AItemModifier and TypeMethodDescriptionvoidLayer.addEnclosedItems(IContainer container, ArrayList<AItem> dest, Rectangle rect) Append all visible items contained within the given rectangle todest.voidLayer.addItemsAtPoint(ArrayList<AItem> dest, IContainer container, Point screenPoint) Append all visible items at the given screen point todest.voidLayer.addSelectedItems(ArrayList<AItem> dest) Append all selected, visible items todest.Constructors in edu.cnu.mdi.item with parameters of type AItemModifierConstructorDescriptionConnectorItem(Layer layer, AItem startItem, AItem endItem) Create a connector with a single elbow between two items.ItemModification(AItem item, IContainer container, Point startMousePoint, Point currentMousePoint, boolean shift, boolean control) Create an ItemModification. -
Uses of AItem in edu.cnu.mdi.mapping.item
Subclasses of AItem in edu.cnu.mdi.mapping.itemModifier and TypeClassDescriptionclassAbstract base class for map-native items whose geometry is stored in geographic coordinates (longitude/latitude in radians) rather than in the container's affine-transform world coordinate system.classAbstract base for map-native items whose geometry is an ordered array of geographic vertices (longitude/latitude in radians).classA map-native line item defined by two geographic endpoints and rendered as a seam-aware great-circle route.classMap-native military symbol item.classA map-native point item whose location is stored as a geographic coordinate (longitude/latitude in radians) rather than a world-space point.classA map-native closed spherical polygon defined by an ordered array of geographic vertices, with every edge (including the closing edge from the last vertex back to the first) rendered as a great-circle arc.classA map-native open polyline defined by an ordered array of geographic vertices, with each consecutive segment rendered as a great-circle arc.classA map-native text label whose anchor is stored as a geographic coordinate (longitude/latitude in radians). -
Uses of AItem in edu.cnu.mdi.view
Subclasses of AItem in edu.cnu.mdi.viewModifier and TypeClassDescriptionclassA rectangle item, drawn on aVirtualView's annotation layer, that represents oneBaseView's thumbnail location within the virtual desktop. -
Uses of AItem in edu.cnu.mdi.view.demo.layout
Subclasses of AItem in edu.cnu.mdi.view.demo.layout
ItemOrderingMenu.forItem(AItem, boolean)