org.rococoa.cocoa.foundation
Class NSScriptClassDescription

java.lang.Object
  extended by org.rococoa.cocoa.foundation.NSObject
      extended by org.rococoa.cocoa.foundation.NSClassDescription
          extended by org.rococoa.cocoa.foundation.NSScriptClassDescription
All Implemented Interfaces:
NSObject, ObjCObject

public abstract class NSScriptClassDescription
extends NSClassDescription

This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.


Nested Class Summary
static class NSScriptClassDescription._class_
           
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject
NSObject._static_
 
Constructor Summary
NSScriptClassDescription()
           
 
Method Summary
static NSScriptClassDescription alloc()
           
abstract  int appleEventCode()
          Return the primary four character code used to identify the described class in Apple events.
abstract  int appleEventCodeForKey(NSString key)
          Return the four character code that identifies the keyed attribute, to-one relationship, or to-many relationship in Apple events.
 NSDeprecated as_NSScriptClassDescription_NSDeprecated()
           
static NSScriptClassDescription classDescriptionForClass(ObjCClass aClass)
          Return the class description for a class or, if it is not scriptable, the first superclass that is.
abstract  NSScriptClassDescription classDescriptionForKey(NSString key)
          Return the class description for the keyed attribute, to-one relationship, or to-many relationship.
abstract  NSString className()
          Original signature : -(NSString*)className
native declaration : NSScriptClassDescription.h:36
static NSScriptClassDescription createWithSuiteName_className_dictionary(NSString suiteName, NSString className, NSDictionary classDeclaration)
          Factory method
abstract  NSString defaultSubcontainerAttributeKey()
          Return the value of the DefaultSubcontainerAttribute entry of the class declaration dictionary provided when the receiver was instantiated, or nil if there was no such entry.
static NSScriptClassDescription._class_ getNSClass()
           
abstract  boolean hasOrderedToManyRelationshipForKey(NSString key)
          Original signature : -(BOOL)hasOrderedToManyRelationshipForKey:(NSString*)
native declaration : NSScriptClassDescription.h:99
abstract  boolean hasPropertyForKey(NSString key)
          Return whether the described class has a property identified by the key, whether it's a to-many relationship, whether it's readable, or whether it's writable, respectively.
abstract  boolean hasReadablePropertyForKey(NSString key)
          Original signature : -(BOOL)hasReadablePropertyForKey:(NSString*)
native declaration : NSScriptClassDescription.h:100
abstract  boolean hasWritablePropertyForKey(NSString key)
          Original signature : -(BOOL)hasWritablePropertyForKey:(NSString*)
native declaration : NSScriptClassDescription.h:101
abstract  NSString implementationClassName()
          Return the name of the Objective-C that implements the described scriptable class.
abstract  NSScriptClassDescription initWithSuiteName_className_dictionary(NSString suiteName, NSString className, NSDictionary classDeclaration)
          Initialize, given a scripting suite name, class name, and class declaration dictionary of the sort that is valid in .scriptSuite property list files.
abstract  boolean isLocationRequiredToCreateForKey(NSString toManyRelationshipKey)
          Return YES if creation of objects for the relationship specified by the key, in containers of the class described by the receiver, requires an explicitly specified insertion location.
abstract  NSString keyWithAppleEventCode(int appleEventCode)
          Given a four character code used to identify a property or element class in Apple events, return the key identifying the corresponding attribute, to-one relationship or to-many relationship.
abstract  boolean matchesAppleEventCode(int appleEventCode)
          Return YES if the four character code identifies the described class in Apple events.
static NSScriptClassDescription new_()
           
abstract  Selector selectorForCommand(NSScriptCommandDescription commandDescription)
          If the described class or one of its superclasses is explicitly declared to support the described command and the declaration includes a method name, return the selector for the class' handler method for the command.
abstract  NSString suiteName()
          Return the suite name or class name provided at initialization time.
abstract  NSScriptClassDescription superclassDescription()
          Return the scripting class description of the superclass of the class described by the receiver.
abstract  boolean supportsCommand(NSScriptCommandDescription commandDescription)
          Return YES if the described class or one of its superclasses is explicitly declared to support the described command, NO otherwise.
abstract  NSString typeForKey(NSString key)
          Return the name of the declared type of the keyed attribute, to-one relationship, or to-many relationship.
 
Methods inherited from class org.rococoa.cocoa.foundation.NSClassDescription
attributeKeys, invalidateClassDescriptionCache, inverseForRelationshipKey, registerClassDescription_forClass, toManyRelationshipKeys, toOneRelationshipKeys
 
Methods inherited from class org.rococoa.cocoa.foundation.NSObject
as_NSObject_NSAccessibility, as_NSObject_NSAccessibilityAdditions, as_NSObject_NSApplicationScriptingDelegation, as_NSObject_NSArchiverCallback, as_NSObject_NSClassDescriptionPrimitives, as_NSObject_NSCoderMethods, as_NSObject_NSColorPanelResponderMethod, as_NSObject_NSComparisonMethods, as_NSObject_NSControlSubclassNotifications, as_NSObject_NSCopyLinkMoveHandler, as_NSObject_NSDelayedPerforming, as_NSObject_NSDeprecatedKeyValueCoding, as_NSObject_NSDeprecatedKeyValueObservingCustomization, as_NSObject_NSDeprecatedMethods, as_NSObject_NSDictionaryControllerKeyValuePair, as_NSObject_NSDistributedObjects, as_NSObject_NSDraggingDestination, as_NSObject_NSDraggingSource, as_NSObject_NSDraggingSourceDeprecated, as_NSObject_NSEditor, as_NSObject_NSEditorRegistration, as_NSObject_NSErrorRecoveryAttempting, as_NSObject_NSFileManagerFileOperationAdditions, as_NSObject_NSFontManagerDelegate, as_NSObject_NSFontManagerResponderMethod, as_NSObject_NSFontPanelValidationAdditions, as_NSObject_NSKeyValueBindingCreation, as_NSObject_NSKeyValueCoding, as_NSObject_NSKeyValueObserverNotification, as_NSObject_NSKeyValueObserverRegistration, as_NSObject_NSKeyValueObserving, as_NSObject_NSKeyValueObservingCustomization, as_NSObject_NSMenuValidation, as_NSObject_NSNibAwaking, as_NSObject_NSPasteboardOwner, as_NSObject_NSPlaceholders, as_NSObject_NSScriptClassDescription, as_NSObject_NSScripting, as_NSObject_NSScriptingComparisonMethods, as_NSObject_NSScriptKeyValueCoding, as_NSObject_NSScriptObjectSpecifiers, as_NSObject_NSThreadPerformAdditions, as_NSObject_NSURLClient, as_NSObject_NSURLConnectionDelegate, as_NSObject_NSURLDownloadDelegate, copy, create, dealloc, description, doesNotRecognizeSelector, finalize, forwardingTargetForSelector, forwardInvocation, init, isKindOfClass, isKindOfClass, methodForSelector, methodSignatureForSelector, mutableCopy, release, retain, retainCount
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.rococoa.ObjCObject
id
 
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject
autorelease, class_, conformsToProtocol, hash, isEqual, isMemberOfClass, isProxy, performSelector_withObject_withObject, performSelector_withObject, performSelector, respondsToSelector, self, superclass, zone
 

Constructor Detail

NSScriptClassDescription

public NSScriptClassDescription()
Method Detail

as_NSScriptClassDescription_NSDeprecated

public NSDeprecated as_NSScriptClassDescription_NSDeprecated()

classDescriptionForClass

public static NSScriptClassDescription classDescriptionForClass(ObjCClass aClass)
Return the class description for a class or, if it is not scriptable, the first superclass that is.
Original signature : +(NSScriptClassDescription*)classDescriptionForClass:(Class)
native declaration : NSScriptClassDescription.h:27


initWithSuiteName_className_dictionary

public abstract NSScriptClassDescription initWithSuiteName_className_dictionary(NSString suiteName,
                                                                                NSString className,
                                                                                NSDictionary classDeclaration)
Initialize, given a scripting suite name, class name, and class declaration dictionary of the sort that is valid in .scriptSuite property list files.
Original signature : -(id)initWithSuiteName:(NSString*) className:(NSString*) dictionary:(NSDictionary*)
native declaration : NSScriptClassDescription.h:31


createWithSuiteName_className_dictionary

public static NSScriptClassDescription createWithSuiteName_className_dictionary(NSString suiteName,
                                                                                NSString className,
                                                                                NSDictionary classDeclaration)
Factory method

See Also:
initWithSuiteName_className_dictionary(org.rococoa.cocoa.foundation.NSString, org.rococoa.cocoa.foundation.NSString, org.rococoa.cocoa.foundation.NSDictionary)

suiteName

public abstract NSString suiteName()
Return the suite name or class name provided at initialization time.
Original signature : -(NSString*)suiteName
native declaration : NSScriptClassDescription.h:35


className

public abstract NSString className()
Original signature : -(NSString*)className
native declaration : NSScriptClassDescription.h:36


implementationClassName

public abstract NSString implementationClassName()
Return the name of the Objective-C that implements the described scriptable class.
Original signature : -(NSString*)implementationClassName
native declaration : NSScriptClassDescription.h:42


superclassDescription

public abstract NSScriptClassDescription superclassDescription()
Return the scripting class description of the superclass of the class described by the receiver.
Original signature : -(NSScriptClassDescription*)superclassDescription
native declaration : NSScriptClassDescription.h:48


appleEventCode

public abstract int appleEventCode()
Return the primary four character code used to identify the described class in Apple events.
Original signature : -(FourCharCode)appleEventCode
native declaration : NSScriptClassDescription.h:52


matchesAppleEventCode

public abstract boolean matchesAppleEventCode(int appleEventCode)
Return YES if the four character code identifies the described class in Apple events. Return NO otherwise.
Original signature : -(BOOL)matchesAppleEventCode:(FourCharCode)
native declaration : NSScriptClassDescription.h:56


supportsCommand

public abstract boolean supportsCommand(NSScriptCommandDescription commandDescription)
Return YES if the described class or one of its superclasses is explicitly declared to support the described command, NO otherwise.
Original signature : -(BOOL)supportsCommand:(NSScriptCommandDescription*)
native declaration : NSScriptClassDescription.h:60


selectorForCommand

public abstract Selector selectorForCommand(NSScriptCommandDescription commandDescription)
If the described class or one of its superclasses is explicitly declared to support the described command and the declaration includes a method name, return the selector for the class' handler method for the command. Return NULL otherwise.
Original signature : -(SEL)selectorForCommand:(NSScriptCommandDescription*)
native declaration : NSScriptClassDescription.h:64


typeForKey

public abstract NSString typeForKey(NSString key)
Return the name of the declared type of the keyed attribute, to-one relationship, or to-many relationship.
Original signature : -(NSString*)typeForKey:(NSString*)
native declaration : NSScriptClassDescription.h:68


classDescriptionForKey

public abstract NSScriptClassDescription classDescriptionForKey(NSString key)
Return the class description for the keyed attribute, to-one relationship, or to-many relationship.
Original signature : -(NSScriptClassDescription*)classDescriptionForKey:(NSString*)
native declaration : NSScriptClassDescription.h:72


appleEventCodeForKey

public abstract int appleEventCodeForKey(NSString key)
Return the four character code that identifies the keyed attribute, to-one relationship, or to-many relationship in Apple events.
Original signature : -(FourCharCode)appleEventCodeForKey:(NSString*)
native declaration : NSScriptClassDescription.h:76


keyWithAppleEventCode

public abstract NSString keyWithAppleEventCode(int appleEventCode)
Given a four character code used to identify a property or element class in Apple events, return the key identifying the corresponding attribute, to-one relationship or to-many relationship.
Original signature : -(NSString*)keyWithAppleEventCode:(FourCharCode)
native declaration : NSScriptClassDescription.h:80


defaultSubcontainerAttributeKey

public abstract NSString defaultSubcontainerAttributeKey()
Return the value of the DefaultSubcontainerAttribute entry of the class declaration dictionary provided when the receiver was instantiated, or nil if there was no such entry.
Original signature : -(NSString*)defaultSubcontainerAttributeKey
native declaration : NSScriptClassDescription.h:86


isLocationRequiredToCreateForKey

public abstract boolean isLocationRequiredToCreateForKey(NSString toManyRelationshipKey)
Return YES if creation of objects for the relationship specified by the key, in containers of the class described by the receiver, requires an explicitly specified insertion location. Return NO otherwise. For example, NSCreateCommand uses this method to determine whether or not a specific Make command must have an at parameter.
Original signature : -(BOOL)isLocationRequiredToCreateForKey:(NSString*)
native declaration : NSScriptClassDescription.h:90


hasPropertyForKey

public abstract boolean hasPropertyForKey(NSString key)
Return whether the described class has a property identified by the key, whether it's a to-many relationship, whether it's readable, or whether it's writable, respectively.
Original signature : -(BOOL)hasPropertyForKey:(NSString*)
native declaration : NSScriptClassDescription.h:98


hasOrderedToManyRelationshipForKey

public abstract boolean hasOrderedToManyRelationshipForKey(NSString key)
Original signature : -(BOOL)hasOrderedToManyRelationshipForKey:(NSString*)
native declaration : NSScriptClassDescription.h:99


hasReadablePropertyForKey

public abstract boolean hasReadablePropertyForKey(NSString key)
Original signature : -(BOOL)hasReadablePropertyForKey:(NSString*)
native declaration : NSScriptClassDescription.h:100


hasWritablePropertyForKey

public abstract boolean hasWritablePropertyForKey(NSString key)
Original signature : -(BOOL)hasWritablePropertyForKey:(NSString*)
native declaration : NSScriptClassDescription.h:101


alloc

public static NSScriptClassDescription alloc()

new_

public static NSScriptClassDescription new_()

getNSClass

public static NSScriptClassDescription._class_ getNSClass()


Copyright © 2009. All Rights Reserved.