public final void setDialogPreviewShape ( @ NonNull final PreviewShape previewShape ) { Condition . INSTANCE . ensureNotNull ( previewShape , "The preview shape may not be null" ) ; this . dialogPreviewShape = previewShape ; }
Sets the shape which should be used to preview colors in the preference s dialog .