Class AbstractRegionSwitch

    • Constructor Detail

      • AbstractRegionSwitch

        public AbstractRegionSwitch()
    • Method Detail

      • isSwitchingObject

        public boolean isSwitchingObject​(java.lang.Object o)
        Defines the state of this switch for the given object. The object is casted to a Region object and forwarded to the abstract isSwitchingRegion() method. If the object is no region, false is returned.
        Specified by:
        isSwitchingObject in class AbstractSwitch
      • isSwitchingRegion

        public abstract boolean isSwitchingRegion​(Region region)
        Returns the Switch state for the given region. A value of true tells the switch to skip some definition elements.