Class PickedObjectList

    • Field Summary

      • Fields inherited from class java.util.AbstractList

        modCount
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<?> getAllTopObjects()
      Returns a list of all objects associated with a picked object in this list who's onTop flag is set to true.
      java.util.List<PickedObject> getAllTopPickedObjects()
      Returns a list of all picked objects in this list who's onTop flag is set to true.
      PickedObject getMostRecentPickedObject()  
      PickedObject getTerrainObject()  
      java.lang.Object getTopObject()  
      PickedObject getTopPickedObject()  
      boolean hasNonTerrainObjects()  
      • Methods inherited from class java.util.ArrayList

        add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
      • Methods inherited from class java.util.AbstractCollection

        containsAll, toString
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Collection

        parallelStream, stream, toArray
      • Methods inherited from interface java.util.List

        containsAll
    • Constructor Detail

      • PickedObjectList

        public PickedObjectList()
    • Method Detail

      • getTopPickedObject

        public PickedObject getTopPickedObject()
      • getTopObject

        public java.lang.Object getTopObject()
      • getMostRecentPickedObject

        public PickedObject getMostRecentPickedObject()
      • getAllTopPickedObjects

        public java.util.List<PickedObject> getAllTopPickedObjects()
        Returns a list of all picked objects in this list who's onTop flag is set to true. This returns null if this list is empty, or does not contain any picked objects marked as on top.
        Returns:
        a new list of the picked objects marked as on top, or null if nothing is marked as on top.
      • getAllTopObjects

        public java.util.List<?> getAllTopObjects()
        Returns a list of all objects associated with a picked object in this list who's onTop flag is set to true. This returns null if this list is empty, or does not contain any picked objects marked as on top.
        Returns:
        a new list of the objects associated with a picked object marked as on top, or null if nothing is marked as on top.
      • hasNonTerrainObjects

        public boolean hasNonTerrainObjects()