Class HideColumnPositionsEvent

    • Constructor Detail

      • HideColumnPositionsEvent

        public HideColumnPositionsEvent​(ILayer layer,
                                        Collection<Integer> columnPositions)
        Creates a new HideColumnPositionsEvent based on the given information.
        Parameters:
        layer - The ILayer to which the given column positions match.
        columnPositions - The positions of the columns that have changed.
      • HideColumnPositionsEvent

        public HideColumnPositionsEvent​(ILayer layer,
                                        int... columnPositions)
        Creates a new HideColumnPositionsEvent based on the given information.
        Parameters:
        layer - The ILayer to which the given column positions match.
        columnPositions - The positions of the columns that have changed.
        Since:
        2.0
      • HideColumnPositionsEvent

        public HideColumnPositionsEvent​(ILayer layer,
                                        Collection<Integer> columnPositions,
                                        Collection<Integer> columnIndexes)
        Creates a new HideColumnPositionsEvent based on the given information.
        Parameters:
        layer - The ILayer to which the given column positions match.
        columnPositions - The positions of the columns that have changed.
        columnIndexes - The indexes of the columns that have changed.
        Since:
        1.6
      • HideColumnPositionsEvent

        public HideColumnPositionsEvent​(ILayer layer,
                                        int[] columnPositions,
                                        int[] columnIndexes)
        Creates a new HideColumnPositionsEvent based on the given information.
        Parameters:
        layer - The ILayer to which the given column positions match.
        columnPositions - The positions of the columns that have changed.
        columnIndexes - The indexes of the columns that have changed.
        Since:
        2.0
      • HideColumnPositionsEvent

        protected HideColumnPositionsEvent​(HideColumnPositionsEvent event)
        Clone constructor.
        Parameters:
        event - The event to clone.
    • Method Detail

      • cloneEvent

        public HideColumnPositionsEvent cloneEvent()
        Returns:
        A cloned copy of the event. This cloned copy is provided to each listener.
      • convertToLocal

        public boolean convertToLocal​(ILayer localLayer)
        Description copied from interface: ILayerEvent
        Convert the column/row positions carried by the event to the layer about to handle the event.
        Specified by:
        convertToLocal in interface ILayerEvent
        Overrides:
        convertToLocal in class ColumnVisualChangeEvent
        Parameters:
        localLayer - layer about to receive the event
        Returns:
        TRUE if successfully converted, FALSE otherwise