Class RMGroup.Running

  • All Implemented Interfaces:
    RMKey.Get, RMKeyChain.Get, 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 aSourceGroup,
                       RMGroup thePageStartGroup,
                       RMGroup thePageEndGroup)
        Creates a Running group for parent group and start/end groups on page.
    • Method Detail

      • getKeyValue

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