Interface Clipping

All Superinterfaces:
Figure, PropertyBean, StyleableBean, StyleablePropertyBean, TreeNode<Figure>
All Known Implementing Classes:
ClippingFigure

public interface Clipping extends Figure
Defines a clipping of a Drawing.

A clipping is used to hold a selection of figures, so that they can be read or written to the clipboard.

A clipping can not have a parent, and thus returns false in isSuitableParent(parent) for all parents except null.

Author:
Werner Randelshofer
  • Field Details

    • TYPE_SELECTOR

      static final String TYPE_SELECTOR
      The CSS type selector for a label object is "Clipping".
      See Also:
  • Method Details

    • isSelectable

      default boolean isSelectable()
      Clipping figures always return false for isSelectable.
      Specified by:
      isSelectable in interface Figure
      Returns:
      true if the user may select the figure
    • getTypeSelector

      default @NonNull String getTypeSelector()
      Specified by:
      getTypeSelector in interface StyleableBean