Package com.reportmill.shape
Class RMShapeAnim.RecordList
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList
com.reportmill.shape.RMShapeAnim.RecordList
- All Implemented Interfaces:
- Serializable,- Cloneable,- Iterable,- Collection,- List,- RandomAccess
- Enclosing class:
- RMShapeAnim
An inner class to represent a List of Records for a given attribute.
- See Also:
- 
Field SummaryFields inherited from class java.util.AbstractListmodCount
- 
Constructor SummaryConstructorsConstructorDescriptionRecordList(RMShapeAnim anAnim, String anAttr) Creates a new record list for anim and attribute name.
- 
Method SummaryModifier and TypeMethodDescriptionvoidAdds a new time/value pair.voidaddRecord(RMShapeAnim.Record aRec, boolean ensurePrevious) Adds a new time/value pair, installing a preview value if needed.booleanStandard equals implementation.getAnim()Returns the anim for this record list.Returns the attribute name for this record list.getRecord(int anIndex) Returns the specific record at the given index.getRecordAtTime(float aTime) Returns the specific record at the given time.getShape()Returns the shape for this attribute record list.remove(int anIndex) Removes the specific record at the given index.voidremoveRecordAtTime(float aTime) Removes the specific record at a given time (if it exists).voidremoveRecordsBetweenTimes(float startTime, float endTime, boolean inclusive) Removes any records between the given two times (not inclusive).voidscaleRecords(float start, float length, float newLength) This method scales all records from a given start time through a length to a new length.voidsetTime(float aTime) Updates the record list shape for the given time.voidshiftRecords(float fromTime, float byTime) This method shifts all records at or beyond a given time by the given amount.Methods inherited from class java.util.ArrayListadd, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class java.util.AbstractCollectioncontainsAll, toStringMethods inherited from class java.lang.Objectfinalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.CollectionparallelStream, stream, toArrayMethods inherited from interface java.util.ListcontainsAll
- 
Constructor Details- 
RecordListCreates a new record list for anim and attribute name.
 
- 
- 
Method Details- 
getShapeReturns the shape for this attribute record list.
- 
getAnimReturns the anim for this record list.
- 
getAttributeReturns the attribute name for this record list.
- 
getRecordReturns the specific record at the given index.
- 
getRecordAtTimeReturns the specific record at the given time.
- 
addRecordAdds a new time/value pair.
- 
addRecordAdds a new time/value pair, installing a preview value if needed.
- 
removeRemoves the specific record at the given index.
- 
removeRecordAtTimepublic void removeRecordAtTime(float aTime) Removes the specific record at a given time (if it exists).
- 
removeRecordsBetweenTimespublic void removeRecordsBetweenTimes(float startTime, float endTime, boolean inclusive) Removes any records between the given two times (not inclusive).
- 
shiftRecordspublic void shiftRecords(float fromTime, float byTime) This method shifts all records at or beyond a given time by the given amount.
- 
scaleRecordspublic void scaleRecords(float start, float length, float newLength) This method scales all records from a given start time through a length to a new length.
- 
setTimepublic void setTime(float aTime) Updates the record list shape for the given time.
- 
equalsStandard equals implementation.
 
-