Interface ViewItem

    • Method Detail

      • copyTo

        default void copyTo​(ViewItem item,
                            View referenceView)
        Copy the current view item in the given one. If the view item is an accessor, its view items are copied only if they are not already present in the reference view
        Parameters:
        item - the copy
        referenceView - the reference view
      • copyTo

        void copyTo​(ViewItem item)
        Copy the current view item in the given one. If the view item is an accessor, its view items are not copied
        Parameters:
        item - the copy
      • equals

        boolean equals​(Object obj,
                       boolean checkDetails)
        Indicates whether some other object is "equal to" this one.
        Parameters:
        obj - the reference object with which to compare.
        checkDetails - true to check the view item's details during comparison (label, description, ...)
        Returns:
        true if this object is the same as the given obj, false otherwise.