Class AbstractLayoutUpdater

    • Constructor Detail

      • AbstractLayoutUpdater

        public AbstractLayoutUpdater​(Layout layout)
        Creates a UpdateLayoutUpdater to manage the updates of the specified layout.
        Parameters:
        layout -
    • Method Detail

      • getLayout

        public Layout getLayout()
        Gets the layout whose updates this updater manages.
        Specified by:
        getLayout in interface LayoutUpdater
        Returns:
        the layout whose updates this updater manages.
      • setLayout

        public void setLayout​(Layout layout)
        Sets the layout whose updates this updater manages.
        Specified by:
        setLayout in interface LayoutUpdater
        Parameters:
        layout -
      • hasCondition

        protected boolean hasCondition​(LayoutUpdater.Condition... conditions)
        Parameters:
        conditions -
        Returns:
        true if the current set of conditions contains one of the specified conditions.
      • addTriggerCondition

        public void addTriggerCondition​(LayoutUpdater.Condition condition)
        Adds a trigger condition to the current set. This layout updater will update or not in response to whatever its current condition is.
        Specified by:
        addTriggerCondition in interface LayoutUpdater
        Parameters:
        condition -