Class SWCollaborationShareOptions

  • All Implemented Interfaces:
    NSCoding, NSCopying, NSSecureCoding, NSObject

    public class SWCollaborationShareOptions
    extends NSObject
    implements NSCopying, NSSecureCoding
    SWCollaborationShareOptions represents the state of the collaboration options for the document. SWCollaborationShareOptions contains the SWCollaborationOptionsGorups that are available for the collaboration as well as a string, provided by the client, that summarizes the state of the selected options. API-Since: 16.0
    • Constructor Detail

      • SWCollaborationShareOptions

        protected SWCollaborationShareOptions​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(@NotNull
                                                                   @NotNull java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(@NotNull
                                                                   @NotNull java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(@NotNull
                                                                                 @NotNull java.lang.Object aTarget,
                                                                                 @NotNull
                                                                                 @NotNull org.moe.natj.objc.SEL aSelector,
                                                                                 @Nullable
                                                                                 @Nullable java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        @NotNull
        public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        @NotNull
        public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
      • copyWithZone

        @NotNull
        public @NotNull java.lang.Object copyWithZone​(@Nullable
                                                      @Nullable org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        copyWithZone in interface NSCopying
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • initWithOptionsGroups

        public SWCollaborationShareOptions initWithOptionsGroups​(@NotNull
                                                                 @NotNull NSArray<? extends SWCollaborationOptionsGroup> optionsGroups)
        Initializes a shareOptions object to represent the available collaboration options for the document and the default summary string "Share Options"
        Parameters:
        optionsGroups - SWCollaborationOptionsGroups to customize how the collaboration will be shared
      • initWithOptionsGroupsSummary

        public SWCollaborationShareOptions initWithOptionsGroupsSummary​(@NotNull
                                                                        @NotNull NSArray<? extends SWCollaborationOptionsGroup> optionsGroups,
                                                                        @NotNull
                                                                        @NotNull java.lang.String summary)
        Initializes a shareOptions object to represent the available collaboration options for the document and a summary of the selected options
        Parameters:
        optionsGroups - SWCollaborationOptionsGroups to customize how the collaboration will be shared
        summary - localized string to summarize the selected collaboration options
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • optionsGroups

        @NotNull
        public @NotNull NSArray<? extends SWCollaborationOptionsGroup> optionsGroups()
        SWCollaborationOptionsGroups to customize how the collaboration will be shared
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setOptionsGroups

        public void setOptionsGroups​(@NotNull
                                     @NotNull NSArray<? extends SWCollaborationOptionsGroup> value)
        SWCollaborationOptionsGroups to customize how the collaboration will be shared
      • setSummary

        public void setSummary​(@NotNull
                               @NotNull java.lang.String value)
        Localized string to summarize the selected collaboration options. If nil, "Share Options" will be displayed by default.
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • shareOptionsWithOptionsGroups

        @NotNull
        public static @NotNull SWCollaborationShareOptions shareOptionsWithOptionsGroups​(@NotNull
                                                                                         @NotNull NSArray<? extends SWCollaborationOptionsGroup> optionsGroups)
        Creates a shareOptions object to represent the available collaboration options for the document and a summary of the selected options
        Parameters:
        optionsGroups - SWCollaborationOptionsGroups to customize how the collaboration will be shared
      • shareOptionsWithOptionsGroupsSummary

        @NotNull
        public static @NotNull SWCollaborationShareOptions shareOptionsWithOptionsGroupsSummary​(@NotNull
                                                                                                @NotNull NSArray<? extends SWCollaborationOptionsGroup> optionsGroups,
                                                                                                @NotNull
                                                                                                @NotNull java.lang.String summary)
        Creates a shareOptions object to represent the available collaboration options for the document and a summary of the selected options
        Parameters:
        optionsGroups - SWCollaborationOptionsGroups to customize how the collaboration will be shared
        summary - localized string to summarize the selected collaboration options
      • summary

        @NotNull
        public @NotNull java.lang.String summary()
        Localized string to summarize the selected collaboration options. If nil, "Share Options" will be displayed by default.
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • supportsSecureCoding

        public static boolean supportsSecureCoding()
      • _supportsSecureCoding

        public boolean _supportsSecureCoding()
        Description copied from interface: NSSecureCoding
        This property must return YES on all classes that allow secure coding. Subclasses of classes that adopt NSSecureCoding and override initWithCoder: must also override this method and return YES. The Secure Coding Guide should be consulted when writing methods that decode data.
        Specified by:
        _supportsSecureCoding in interface NSSecureCoding
      • version_static

        public static long version_static()
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.