Class PropertyUpdateEvent<T>

    • Constructor Detail

      • PropertyUpdateEvent

        public PropertyUpdateEvent​(ILayer layer,
                                   T sourceBean,
                                   String propertyName,
                                   Object oldValue,
                                   Object newValue)
    • Method Detail

      • cloneEvent

        public ILayerEvent cloneEvent()
        Specified by:
        cloneEvent in interface ILayerEvent
        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
        Parameters:
        localLayer - layer about to receive the event
        Returns:
        TRUE if successfully converted, FALSE otherwise
      • getChangedPositionRectangles

        public Collection<org.eclipse.swt.graphics.Rectangle> getChangedPositionRectangles()
        Specified by:
        getChangedPositionRectangles in interface IVisualChangeEvent
        Returns:
        the position rectangles that have changed and need to be redrawn. If no rectangles are returned, then the receiver should assume that the entire layer is changed and will need to be redrawn.
      • getLayer

        public ILayer getLayer()
        Specified by:
        getLayer in interface IVisualChangeEvent
        Returns:
        the layer that the visible change event is originating from.
      • getSourceBean

        public T getSourceBean()
      • getPropertyName

        public String getPropertyName()
      • getNewValue

        public Object getNewValue()
      • getOldValue

        public Object getOldValue()