AppKit/CPCompatibility.j File Reference

Go to the source code of this file.

Functions

function CPBrowserIsEngine (anEngine)
function CPBrowserIsOperatingSystem (anOperatingSystem)
function CPFeatureIsCompatible (aFeature)
 if (USER_AGENT.indexOf("Mac")!==-1)
 if (typeof document!="undefined")
else if (USER_AGENT.indexOf("Gecko")!==-1)
else if (USER_AGENT.indexOf("KHTML")!=-1)
else if (USER_AGENT.indexOf("AppleWebKit/")!=-1)
 if (window.opera)
 if (typeof window!="undfined"&&typeof window.navigator!="undefined") USER_AGENT

Variables

 CPCSSRGBAFeature = 1 << 5
 CPGeckoBrowserEngine = 1
 CPHTML5DragAndDropSourceYOffBy1 = 1 << 26
 CPHTMLCanvasFeature = 1 << 6
 CPHTMLContentEditableFeature = 1 << 7
 CPHTMLDragAndDropFeature = 1 << 8
 CPInputTypeCanBeChangedFeature = 1 << 25
 CPInternetExplorerBrowserEngine = 2
 CPJavaScriptCanvasDrawFeature = 1 << 13
 CPJavaScriptCanvasTransformFeature = 1 << 14
 CPJavascriptClipboardAccessFeature = 1 << 12
 CPJavascriptClipboardEventsFeature = 1 << 11
 CPJavascriptInnerTextFeature = 1 << 9
 CPJavaScriptMouseWheelValues_8_15
 CPJavaScriptNegativeMouseWheelValues = 1 << 22
 CPJavascriptRemedialKeySupport = 1 << 16
 CPJavaScriptShadowFeature = 1 << 20
 CPJavascriptTextContentFeature = 1 << 10
 CPKHTMLBrowserEngine = 3
 CPMacOperatingSystem = 0
 CPOperaBrowserEngine = 4
 CPOtherOperatingSystem = 2
import CPEvent j import
CPPlatform j 
CPUnknownBrowserEngine = 0
 CPVMLFeature = 1 << 15
 CPWebKitBrowserEngine = 5
 CPWindowsOperatingSystem = 1
 OPERATING_SYSTEM = CPOtherOperatingSystem
var PLATFORM_ENGINE = CPUnknownBrowserEngine
var PLATFORM_FEATURES = 0
var USER_AGENT = ""

Function Documentation

function CPBrowserIsEngine ( anEngine   ) 

Definition at line 192 of file CPCompatibility.j.

function CPBrowserIsOperatingSystem ( anOperatingSystem   ) 

Definition at line 197 of file CPCompatibility.j.

function CPFeatureIsCompatible ( aFeature   ) 

Definition at line 187 of file CPCompatibility.j.

if ( USER_AGENT.indexOf("Mac")!  = = -1  ) 

Definition at line 204 of file CPCompatibility.j.

if ( typeof document!  = "undefined"  ) 

Definition at line 163 of file CPCompatibility.j.

else if ( USER_AGENT.indexOf("Gecko")!  = = -1  ) 

Definition at line 146 of file CPCompatibility.j.

else if ( USER_AGENT.indexOf("KHTML")!  = -1  ) 

Definition at line 140 of file CPCompatibility.j.

else if ( USER_AGENT.indexOf("AppleWebKit/")!  = -1  ) 

Definition at line 105 of file CPCompatibility.j.

else if ( window.  opera  ) 

Definition at line 90 of file CPCompatibility.j.

if ( typeof window!  = "undfined"&&typeof window.navigator!="undefined"  ) 

Variable Documentation

CPCSSRGBAFeature = 1 << 5

Definition at line 40 of file CPCompatibility.j.

Definition at line 28 of file CPCompatibility.j.

Definition at line 65 of file CPCompatibility.j.

Definition at line 42 of file CPCompatibility.j.

Definition at line 43 of file CPCompatibility.j.

Definition at line 44 of file CPCompatibility.j.

Definition at line 64 of file CPCompatibility.j.

Definition at line 29 of file CPCompatibility.j.

Definition at line 50 of file CPCompatibility.j.

Definition at line 51 of file CPCompatibility.j.

Definition at line 49 of file CPCompatibility.j.

Definition at line 48 of file CPCompatibility.j.

Definition at line 46 of file CPCompatibility.j.

Initial value:
 1 << 23

CPOpacityRequiresFilterFeature          = 1 << 24

Definition at line 59 of file CPCompatibility.j.

Definition at line 58 of file CPCompatibility.j.

Definition at line 55 of file CPCompatibility.j.

Definition at line 56 of file CPCompatibility.j.

Definition at line 47 of file CPCompatibility.j.

Definition at line 30 of file CPCompatibility.j.

Definition at line 35 of file CPCompatibility.j.

Definition at line 31 of file CPCompatibility.j.

Definition at line 37 of file CPCompatibility.j.

Definition at line 27 of file CPCompatibility.j.

CPVMLFeature = 1 << 15

Definition at line 53 of file CPCompatibility.j.

Definition at line 32 of file CPCompatibility.j.

Definition at line 36 of file CPCompatibility.j.

Definition at line 202 of file CPCompatibility.j.

Definition at line 71 of file CPCompatibility.j.

Definition at line 72 of file CPCompatibility.j.

var USER_AGENT = ""

Definition at line 70 of file CPCompatibility.j.


Generated on Fri Apr 9 11:04:10 2010 for Cappuccino API by  doxygen 1.6.1