Module org.arakhne.afc.gis.giscore
Package org.arakhne.afc.gis.tree
Class WeakGISTreeSetNode<P extends GISPrimitive>
- java.lang.Object
-
- org.arakhne.afc.math.tree.node.AbstractParentlessTreeNode<D,N>
-
- org.arakhne.afc.math.tree.node.AbstractTreeNode<D,N>
-
- org.arakhne.afc.math.tree.node.QuadTreeNode<D,N>
-
- org.arakhne.afc.math.tree.node.IcosepQuadTreeNode<P,N>
-
- org.arakhne.afc.gis.tree.AbstractGISTreeSetNode<P,WeakGISTreeSetNode<P>>
-
- org.arakhne.afc.gis.tree.WeakGISTreeSetNode<P>
-
- Type Parameters:
P- is the type of the user data inside the node.
- All Implemented Interfaces:
Serializable,Comparable<WeakGISTreeSetNode<P>>,EventListener,GISTreeBoundedArea,GISTreeNode<P,WeakGISTreeSetNode<P>>,IcosepTreeNodeContainer<WeakGISTreeSetNode<P>>,IterableNode<WeakGISTreeSetNode<P>>,TreeNode<P,WeakGISTreeSetNode<P>>,TreeNodeListener,ReferenceListener,JsonableObject
class WeakGISTreeSetNode<P extends GISPrimitive> extends AbstractGISTreeSetNode<P,WeakGISTreeSetNode<P>> implements ReferenceListener, TreeNodeListener
A node inside aWeakGISTreeSet.- Since:
- 14.0
- Version:
- 17.0 2020-01-04 14:41:53
- Author:
- Stéphane GALLAND
- Maven Group Id:
- org.arakhne.afc.gis
- Maven Artifact Id:
- giscore
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.arakhne.afc.math.tree.node.IcosepQuadTreeNode
IcosepQuadTreeNode.DefaultIcosepQuadTreeNode<D>, IcosepQuadTreeNode.IcosepQuadTreeZone
-
Nested classes/interfaces inherited from class org.arakhne.afc.math.tree.node.QuadTreeNode
QuadTreeNode.DefaultQuadTreeNode<D>, QuadTreeNode.QuadTreeZone
-
-
Field Summary
-
Fields inherited from class org.arakhne.afc.gis.tree.AbstractGISTreeSetNode
horizontalSplit, nodeHeight, nodeWidth, verticalSplit
-
Fields inherited from class org.arakhne.afc.math.tree.node.AbstractParentlessTreeNode
DEFAULT_COPY_USER_DATA, DEFAULT_LINK_LIST_USE, nodeListeners, notNullChildCount
-
-
Constructor Summary
Constructors Constructor Description WeakGISTreeSetNode(IcosepQuadTreeNode.IcosepQuadTreeZone zone, double boundsX, double boundsY, double boundsWidth, double boundsHeight)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidreferenceReleased(int released)Invoked when at least one reference was released.voidtreeNodeChildAdded(TreeNodeAddedEvent event)A child of the specified node was added.voidtreeNodeChildRemoved(TreeNodeRemovedEvent event)A child of the specified node was removed.voidtreeNodeDataChanged(TreeDataEvent event)The data associated to a node was changed.voidtreeNodeParentChanged(TreeNodeParentChangedEvent event)The parent of the specified node has changed.-
Methods inherited from class org.arakhne.afc.gis.tree.AbstractGISTreeSetNode
addUserData, calcBounds, clearBounds, clearBuffers, contains, distance, getAreaBounds, getBounds, getObjectBounds, getRegion, getZone, intersects, intersects, isIcosepHeuristicArea, removeAllUserData, removeUserData, setFirstChild, setFourthChild, setIcosepChild, setSecondChild, setThirdChild, setUserData, setUserDataAt, toJson
-
Methods inherited from class org.arakhne.afc.math.tree.node.IcosepQuadTreeNode
clear, getChildAt, getChildAt, getChildCount, getChildren, getHeights, getIcosepChild, getMaxHeight, getMinHeight, getPartitionEnumeration, indexOf, isLeaf, removeChild, setChildAt, setChildAtWithoutEventFiring
-
Methods inherited from class org.arakhne.afc.math.tree.node.QuadTreeNode
getChildAt, getFirstChild, getFourthChild, getNotNullChildCount, getSecondChild, getThirdChild, moveTo, moveTo, setChildAt, zoneOf
-
Methods inherited from class org.arakhne.afc.math.tree.node.AbstractTreeNode
children, firePropertyChildAdded, firePropertyChildRemoved, firePropertyParentChanged, getChildren, getDepth, getParentNode, isRoot, moveTo, removeDeeplyFromParent, removeFromParent
-
Methods inherited from class org.arakhne.afc.math.tree.node.AbstractParentlessTreeNode
addTreeNodeListener, addUserData, addUserData, addUserData, compareTo, firePropertyDataChanged, firePropertyDataChanged, getAllUserData, getAllUserData, getDeepNodeCount, getDeepUserDataCount, getHeights, getInternalDataStructureForUserData, getUserData, getUserDataAt, getUserDataCount, isEmpty, isValid, removeTreeNodeListener, removeUserData, removeUserData, setUserData, toN, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface org.arakhne.afc.math.tree.IterableNode
getChildAt, getChildCount, getNotNullChildCount, isLeaf, removeFromParent
-
Methods inherited from interface org.arakhne.afc.math.tree.TreeNode
addTreeNodeListener, addUserData, addUserData, addUserData, children, clear, getAllUserData, getAllUserData, getChildren, getChildren, getDeepNodeCount, getDeepUserDataCount, getDepth, getHeights, getMaxHeight, getMinHeight, getParentNode, getPartitionEnumeration, getUserData, getUserDataAt, getUserDataCount, indexOf, isEmpty, isRoot, isValid, moveTo, removeChild, removeDeeplyFromParent, removeTreeNodeListener, removeUserData, removeUserData, setChildAt, setUserData
-
-
-
-
Constructor Detail
-
WeakGISTreeSetNode
WeakGISTreeSetNode(IcosepQuadTreeNode.IcosepQuadTreeZone zone, double boundsX, double boundsY, double boundsWidth, double boundsHeight)
Constructor.- Parameters:
zone- is the zone enclosed by this node.boundsX- is the bounds of the scene.boundsY- is the bounds of the scene.boundsWidth- is the bounds of the scene.boundsHeight- is the bounds of the scene.
-
-
Method Detail
-
referenceReleased
public void referenceReleased(int released)
Description copied from interface:ReferenceListenerInvoked when at least one reference was released.No reference is given to avoid strong referencing of the released objects inside the listener's source code.
- Specified by:
referenceReleasedin interfaceReferenceListener- Parameters:
released- is the count of released objects.
-
treeNodeChildAdded
public void treeNodeChildAdded(TreeNodeAddedEvent event)
Description copied from interface:TreeNodeListenerA child of the specified node was added.- Specified by:
treeNodeChildAddedin interfaceTreeNodeListener- Parameters:
event- is the description of the addition event
-
treeNodeChildRemoved
public void treeNodeChildRemoved(TreeNodeRemovedEvent event)
Description copied from interface:TreeNodeListenerA child of the specified node was removed.- Specified by:
treeNodeChildRemovedin interfaceTreeNodeListener- Parameters:
event- is the description of the removal event
-
treeNodeDataChanged
public void treeNodeDataChanged(TreeDataEvent event)
Description copied from interface:TreeNodeListenerThe data associated to a node was changed.- Specified by:
treeNodeDataChangedin interfaceTreeNodeListener- Parameters:
event- is the description of the event
-
treeNodeParentChanged
public void treeNodeParentChanged(TreeNodeParentChangedEvent event)
Description copied from interface:TreeNodeListenerThe parent of the specified node has changed.- Specified by:
treeNodeParentChangedin interfaceTreeNodeListener- Parameters:
event- is the description of the event
-
-