Class ArrayDisplayEnclosure

    • Constructor Detail

      • ArrayDisplayEnclosure

        public ArrayDisplayEnclosure()
    • Method Detail

      • canEnclose

        protected boolean canEnclose​(StateContainer state)
        Checks whether this enclose suggestion is available.
        Specified by:
        canEnclose in class AbstractEncloseActor
        Parameters:
        state - the current state
        Returns:
        true if enclosing is possible
      • encloseInArrayDisplay

        protected void encloseInArrayDisplay​(StateContainer state)
        Encloses the specified actor in a DisplayPanelManager actor.
        Parameters:
        state - the current state
      • enclose

        public JMenuItem enclose​(StateContainer state)
        Returns a menu item that will perform the enclosing if selected.
        Specified by:
        enclose in class AbstractEncloseActor
        Parameters:
        state - the current state
        Returns:
        the list of potential swaps