Class LwtPropertyPaletteRenderer

    • Constructor Detail

      • LwtPropertyPaletteRenderer

        public LwtPropertyPaletteRenderer()
        Creates a new renderer instance.
    • Method Detail

      • viewCanBeReused

        protected boolean viewCanBeReused​(IView<?,​?,​?> view,
                                          IViewModel oldViewModel,
                                          IViewModel newViewModel)
        Description copied from class: LwtRenderer
        Checks if the specified view associated with the oldViewModel can be reused for the given newViewModel.

        Default implementation always returns false.

        Overrides:
        viewCanBeReused in class LwtRenderer
        Parameters:
        view - the view associated with the oldViewModel, cannot be null.
        oldViewModel - the old view model, cannot be null.
        newViewModel - the new view model, cannot be null.
        Returns:
        true if the view can be reused for the newViewModel, false - otherwise.