Class RMGroup.Running

  • All Implemented Interfaces:
    RMKey.ValueForKey, RMKey.ValueForKeyChain, java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.List, java.util.RandomAccess
    Enclosing class:
    RMGroup

    public static class RMGroup.Running
    extends RMGroup
    This RMGroup subclass/inner-class represents a subset of a group up to the given endGroup. The only difference between this and a normal subgroup is (a) it ignores the startGroup and (b) the "Up" key points back to the original group instead of the parent and (c) it supports a "Page" key which returns a subgroup that does take the startGroup into account.
    See Also:
    Serialized Form
    • Constructor Detail

      • Running

        public Running​(RMGroup sourceGroup,
                       RMGroup startGroup,
                       RMGroup endGroup)
        Creates a Running group for parent group and start/end groups on page.
    • Method Detail

      • valueForKey

        public java.lang.Object valueForKey​(java.lang.String aKey)
        Overrides default valueForKey to handle Page and Running keys.
        Specified by:
        valueForKey in interface RMKey.ValueForKey
        Overrides:
        valueForKey in class RMGroup