All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.app.Color

java.lang.Object
   |
   +----com.apple.alpha.core.NativeObject
           |
           +----com.apple.alpha.app.Color

public class Color
extends NativeObject
implements Coding
This class wraps the Objective-C class NSColor.


Variable Index

 o SystemColorsDidChangeNotification

Constructor Index

 o Color()
This default constructor is equivalent to Objective-C's [[NSColor alloc] init].
 o Color(boolean, int)
Protected constructor used by the bridge to wrap an Objective-C object.
 o Color(Coder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.

Method Index

 o alphaComponent()
A wrapper for the - alphaComponent Objective-C instance method.
 o blackColor()
A wrapper for the + blackColor Objective-C class method.
 o blackComponent()
A wrapper for the - blackComponent Objective-C instance method.
 o blendedColorWithFractionOfColor(float, Color)
A wrapper for the - blendedColorWithFraction:ofColor: Objective-C instance method.
 o blueColor()
A wrapper for the + blueColor Objective-C class method.
 o blueComponent()
A wrapper for the - blueComponent Objective-C instance method.
 o brightnessComponent()
A wrapper for the - brightnessComponent Objective-C instance method.
 o brownColor()
A wrapper for the + brownColor Objective-C class method.
 o catalogNameComponent()
A wrapper for the - catalogNameComponent Objective-C instance method.
 o clearColor()
A wrapper for the + clearColor Objective-C class method.
 o colorFromPasteboard(Pasteboard)
A wrapper for the + colorFromPasteboard: Objective-C class method.
 o colorNameComponent()
A wrapper for the - colorNameComponent Objective-C instance method.
 o colorSpaceName()
A wrapper for the - colorSpaceName Objective-C instance method.
 o colorUsingColorSpaceName(String)
A wrapper for the - colorUsingColorSpaceName: Objective-C instance method.
 o colorUsingColorSpaceNameAndDevice(String, Dictionary)
A wrapper for the - colorUsingColorSpaceName:device: Objective-C instance method.
 o colorWithAlphaComponent(float)
A wrapper for the - colorWithAlphaComponent: Objective-C instance method.
 o colorWithCalibratedHSB(float, float, float, float)
A wrapper for the + colorWithCalibratedHue:saturation:brightness:alpha: Objective-C class method.
 o colorWithCalibratedRGB(float, float, float, float)
A wrapper for the + colorWithCalibratedRed:green:blue:alpha: Objective-C class method.
 o colorWithCalibratedWhite(float, float)
A wrapper for the + colorWithCalibratedWhite:alpha: Objective-C class method.
 o colorWithCatalogName(String, String)
A wrapper for the + colorWithCatalogName:colorName: Objective-C class method.
 o colorWithDeviceCMYK(float, float, float, float, float)
A wrapper for the + colorWithDeviceCyan:magenta:yellow:black:alpha: Objective-C class method.
 o colorWithDeviceHSB(float, float, float, float)
A wrapper for the + colorWithDeviceHue:saturation:brightness:alpha: Objective-C class method.
 o colorWithDeviceRGB(float, float, float, float)
A wrapper for the + colorWithDeviceRed:green:blue:alpha: Objective-C class method.
 o colorWithDeviceWhite(float, float)
A wrapper for the + colorWithDeviceWhite:alpha: Objective-C class method.
 o controlBackgroundColor()
A wrapper for the + controlBackgroundColor Objective-C class method.
 o controlColor()
A wrapper for the + controlColor Objective-C class method.
 o controlDarkShadowColor()
A wrapper for the + controlDarkShadowColor Objective-C class method.
 o controlHighlightColor()
A wrapper for the + controlHighlightColor Objective-C class method.
 o controlLightHighlightColor()
A wrapper for the + controlLightHighlightColor Objective-C class method.
 o controlShadowColor()
A wrapper for the + controlShadowColor Objective-C class method.
 o controlTextColor()
A wrapper for the + controlTextColor Objective-C class method.
 o cyanColor()
A wrapper for the + cyanColor Objective-C class method.
 o cyanComponent()
A wrapper for the - cyanComponent Objective-C instance method.
 o darkGrayColor()
A wrapper for the + darkGrayColor Objective-C class method.
 o disabledControlTextColor()
A wrapper for the + disabledControlTextColor Objective-C class method.
 o drawSwatchInRect(Rect)
A wrapper for the - drawSwatchInRect: Objective-C instance method.
 o encodeWithCoder(Coder)
A wrapper for the - encodeWithCoder: Objective-C instance method defined by the Coding interface (known as the NSCoding Objective-C protocol).
 o grayColor()
A wrapper for the + grayColor Objective-C class method.
 o greenColor()
A wrapper for the + greenColor Objective-C class method.
 o greenComponent()
A wrapper for the - greenComponent Objective-C instance method.
 o gridColor()
A wrapper for the + gridColor Objective-C class method.
 o highlightColor()
A wrapper for the + highlightColor Objective-C class method.
 o highlightWithLevel(float)
A wrapper for the - highlightWithLevel: Objective-C instance method.
 o hueComponent()
A wrapper for the - hueComponent Objective-C instance method.
 o ignoresAlpha()
A wrapper for the + ignoresAlpha Objective-C class method.
 o knobColor()
A wrapper for the + knobColor Objective-C class method.
 o lightGrayColor()
A wrapper for the + lightGrayColor Objective-C class method.
 o localizedCatalogNameComponent()
A wrapper for the - localizedCatalogNameComponent Objective-C instance method.
 o localizedColorNameComponent()
A wrapper for the - localizedColorNameComponent Objective-C instance method.
 o magentaColor()
A wrapper for the + magentaColor Objective-C class method.
 o magentaComponent()
A wrapper for the - magentaComponent Objective-C instance method.
 o orangeColor()
A wrapper for the + orangeColor Objective-C class method.
 o purpleColor()
A wrapper for the + purpleColor Objective-C class method.
 o redColor()
A wrapper for the + redColor Objective-C class method.
 o redComponent()
A wrapper for the - redComponent Objective-C instance method.
 o saturationComponent()
A wrapper for the - saturationComponent Objective-C instance method.
 o scrollBarColor()
A wrapper for the + scrollBarColor Objective-C class method.
 o selectedControlColor()
A wrapper for the + selectedControlColor Objective-C class method.
 o selectedControlTextColor()
A wrapper for the + selectedControlTextColor Objective-C class method.
 o selectedKnobColor()
A wrapper for the + selectedKnobColor Objective-C class method.
 o selectedMenuItemColor()
A wrapper for the + selectedMenuItemColor Objective-C class method.
 o selectedMenuItemTextColor()
A wrapper for the + selectedMenuItemTextColor Objective-C class method.
 o selectedTextBackgroundColor()
A wrapper for the + selectedTextBackgroundColor Objective-C class method.
 o selectedTextColor()
A wrapper for the + selectedTextColor Objective-C class method.
 o set()
A wrapper for the - set Objective-C instance method.
 o setIgnoresAlpha(boolean)
A wrapper for the + setIgnoresAlpha: Objective-C class method.
 o shadowColor()
A wrapper for the + shadowColor Objective-C class method.
 o shadowWithLevel(float)
A wrapper for the - shadowWithLevel: Objective-C instance method.
 o textBackgroundColor()
A wrapper for the + textBackgroundColor Objective-C class method.
 o textColor()
A wrapper for the + textColor Objective-C class method.
 o whiteColor()
A wrapper for the + whiteColor Objective-C class method.
 o whiteComponent()
A wrapper for the - whiteComponent Objective-C instance method.
 o windowFrameColor()
A wrapper for the + windowFrameColor Objective-C class method.
 o windowFrameTextColor()
A wrapper for the + windowFrameTextColor Objective-C class method.
 o writeToPasteboard(Pasteboard)
A wrapper for the - writeToPasteboard: Objective-C instance method.
 o yellowColor()
A wrapper for the + yellowColor Objective-C class method.
 o yellowComponent()
A wrapper for the - yellowComponent Objective-C instance method.

Variables

 o SystemColorsDidChangeNotification
 public static final String SystemColorsDidChangeNotification

Constructors

 o Color
 protected Color(boolean shouldAllocate,
                 int objcObject)
Protected constructor used by the bridge to wrap an Objective-C object. It should never be invoked directly.

 o Color
 public Color()
This default constructor is equivalent to Objective-C's [[NSColor alloc] init].

 o Color
 public Color(Coder aDecoder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.

Methods

 o colorWithCalibratedWhite
 public static native Color colorWithCalibratedWhite(float white,
                                                     float alpha)
A wrapper for the + colorWithCalibratedWhite:alpha: Objective-C class method.

 o colorWithCalibratedHSB
 public static native Color colorWithCalibratedHSB(float hue,
                                                   float saturation,
                                                   float brightness,
                                                   float alpha)
A wrapper for the + colorWithCalibratedHue:saturation:brightness:alpha: Objective-C class method.

 o colorWithCalibratedRGB
 public static native Color colorWithCalibratedRGB(float red,
                                                   float green,
                                                   float blue,
                                                   float alpha)
A wrapper for the + colorWithCalibratedRed:green:blue:alpha: Objective-C class method.

 o colorWithDeviceWhite
 public static native Color colorWithDeviceWhite(float white,
                                                 float alpha)
A wrapper for the + colorWithDeviceWhite:alpha: Objective-C class method.

 o colorWithDeviceHSB
 public static native Color colorWithDeviceHSB(float hue,
                                               float saturation,
                                               float brightness,
                                               float alpha)
A wrapper for the + colorWithDeviceHue:saturation:brightness:alpha: Objective-C class method.

 o colorWithDeviceRGB
 public static native Color colorWithDeviceRGB(float red,
                                               float green,
                                               float blue,
                                               float alpha)
A wrapper for the + colorWithDeviceRed:green:blue:alpha: Objective-C class method.

 o colorWithDeviceCMYK
 public static native Color colorWithDeviceCMYK(float cyan,
                                                float magenta,
                                                float yellow,
                                                float black,
                                                float alpha)
A wrapper for the + colorWithDeviceCyan:magenta:yellow:black:alpha: Objective-C class method.

 o colorWithCatalogName
 public static native Color colorWithCatalogName(String listName,
                                                 String colorName)
A wrapper for the + colorWithCatalogName:colorName: Objective-C class method.

 o blackColor
 public static native Color blackColor()
A wrapper for the + blackColor Objective-C class method.

 o darkGrayColor
 public static native Color darkGrayColor()
A wrapper for the + darkGrayColor Objective-C class method.

 o lightGrayColor
 public static native Color lightGrayColor()
A wrapper for the + lightGrayColor Objective-C class method.

 o whiteColor
 public static native Color whiteColor()
A wrapper for the + whiteColor Objective-C class method.

 o grayColor
 public static native Color grayColor()
A wrapper for the + grayColor Objective-C class method.

 o redColor
 public static native Color redColor()
A wrapper for the + redColor Objective-C class method.

 o greenColor
 public static native Color greenColor()
A wrapper for the + greenColor Objective-C class method.

 o blueColor
 public static native Color blueColor()
A wrapper for the + blueColor Objective-C class method.

 o cyanColor
 public static native Color cyanColor()
A wrapper for the + cyanColor Objective-C class method.

 o yellowColor
 public static native Color yellowColor()
A wrapper for the + yellowColor Objective-C class method.

 o magentaColor
 public static native Color magentaColor()
A wrapper for the + magentaColor Objective-C class method.

 o orangeColor
 public static native Color orangeColor()
A wrapper for the + orangeColor Objective-C class method.

 o purpleColor
 public static native Color purpleColor()
A wrapper for the + purpleColor Objective-C class method.

 o brownColor
 public static native Color brownColor()
A wrapper for the + brownColor Objective-C class method.

 o clearColor
 public static native Color clearColor()
A wrapper for the + clearColor Objective-C class method.

 o controlShadowColor
 public static native Color controlShadowColor()
A wrapper for the + controlShadowColor Objective-C class method.

 o controlDarkShadowColor
 public static native Color controlDarkShadowColor()
A wrapper for the + controlDarkShadowColor Objective-C class method.

 o controlColor
 public static native Color controlColor()
A wrapper for the + controlColor Objective-C class method.

 o controlHighlightColor
 public static native Color controlHighlightColor()
A wrapper for the + controlHighlightColor Objective-C class method.

 o controlLightHighlightColor
 public static native Color controlLightHighlightColor()
A wrapper for the + controlLightHighlightColor Objective-C class method.

 o controlTextColor
 public static native Color controlTextColor()
A wrapper for the + controlTextColor Objective-C class method.

 o controlBackgroundColor
 public static native Color controlBackgroundColor()
A wrapper for the + controlBackgroundColor Objective-C class method.

 o selectedControlColor
 public static native Color selectedControlColor()
A wrapper for the + selectedControlColor Objective-C class method.

 o selectedControlTextColor
 public static native Color selectedControlTextColor()
A wrapper for the + selectedControlTextColor Objective-C class method.

 o disabledControlTextColor
 public static native Color disabledControlTextColor()
A wrapper for the + disabledControlTextColor Objective-C class method.

 o textColor
 public static native Color textColor()
A wrapper for the + textColor Objective-C class method.

 o textBackgroundColor
 public static native Color textBackgroundColor()
A wrapper for the + textBackgroundColor Objective-C class method.

 o selectedTextColor
 public static native Color selectedTextColor()
A wrapper for the + selectedTextColor Objective-C class method.

 o selectedTextBackgroundColor
 public static native Color selectedTextBackgroundColor()
A wrapper for the + selectedTextBackgroundColor Objective-C class method.

 o gridColor
 public static native Color gridColor()
A wrapper for the + gridColor Objective-C class method.

 o scrollBarColor
 public static native Color scrollBarColor()
A wrapper for the + scrollBarColor Objective-C class method.

 o knobColor
 public static native Color knobColor()
A wrapper for the + knobColor Objective-C class method.

 o selectedKnobColor
 public static native Color selectedKnobColor()
A wrapper for the + selectedKnobColor Objective-C class method.

 o windowFrameColor
 public static native Color windowFrameColor()
A wrapper for the + windowFrameColor Objective-C class method.

 o windowFrameTextColor
 public static native Color windowFrameTextColor()
A wrapper for the + windowFrameTextColor Objective-C class method.

 o selectedMenuItemColor
 public static native Color selectedMenuItemColor()
A wrapper for the + selectedMenuItemColor Objective-C class method.

 o selectedMenuItemTextColor
 public static native Color selectedMenuItemTextColor()
A wrapper for the + selectedMenuItemTextColor Objective-C class method.

 o highlightColor
 public static native Color highlightColor()
A wrapper for the + highlightColor Objective-C class method.

 o shadowColor
 public static native Color shadowColor()
A wrapper for the + shadowColor Objective-C class method.

 o highlightWithLevel
 public native Color highlightWithLevel(float val)
A wrapper for the - highlightWithLevel: Objective-C instance method.

 o shadowWithLevel
 public native Color shadowWithLevel(float val)
A wrapper for the - shadowWithLevel: Objective-C instance method.

 o set
 public native void set()
A wrapper for the - set Objective-C instance method.

 o colorSpaceName
 public native String colorSpaceName()
A wrapper for the - colorSpaceName Objective-C instance method.

 o colorUsingColorSpaceName
 public native Color colorUsingColorSpaceName(String colorSpace)
A wrapper for the - colorUsingColorSpaceName: Objective-C instance method.

 o colorUsingColorSpaceNameAndDevice
 public native Color colorUsingColorSpaceNameAndDevice(String colorSpace,
                                                       Dictionary deviceDescription)
A wrapper for the - colorUsingColorSpaceName:device: Objective-C instance method.

 o blendedColorWithFractionOfColor
 public native Color blendedColorWithFractionOfColor(float fraction,
                                                     Color color)
A wrapper for the - blendedColorWithFraction:ofColor: Objective-C instance method.

 o colorWithAlphaComponent
 public native Color colorWithAlphaComponent(float alpha)
A wrapper for the - colorWithAlphaComponent: Objective-C instance method.

 o catalogNameComponent
 public native String catalogNameComponent()
A wrapper for the - catalogNameComponent Objective-C instance method.

 o colorNameComponent
 public native String colorNameComponent()
A wrapper for the - colorNameComponent Objective-C instance method.

 o localizedCatalogNameComponent
 public native String localizedCatalogNameComponent()
A wrapper for the - localizedCatalogNameComponent Objective-C instance method.

 o localizedColorNameComponent
 public native String localizedColorNameComponent()
A wrapper for the - localizedColorNameComponent Objective-C instance method.

 o redComponent
 public native float redComponent()
A wrapper for the - redComponent Objective-C instance method.

 o greenComponent
 public native float greenComponent()
A wrapper for the - greenComponent Objective-C instance method.

 o blueComponent
 public native float blueComponent()
A wrapper for the - blueComponent Objective-C instance method.

 o hueComponent
 public native float hueComponent()
A wrapper for the - hueComponent Objective-C instance method.

 o saturationComponent
 public native float saturationComponent()
A wrapper for the - saturationComponent Objective-C instance method.

 o brightnessComponent
 public native float brightnessComponent()
A wrapper for the - brightnessComponent Objective-C instance method.

 o whiteComponent
 public native float whiteComponent()
A wrapper for the - whiteComponent Objective-C instance method.

 o cyanComponent
 public native float cyanComponent()
A wrapper for the - cyanComponent Objective-C instance method.

 o magentaComponent
 public native float magentaComponent()
A wrapper for the - magentaComponent Objective-C instance method.

 o yellowComponent
 public native float yellowComponent()
A wrapper for the - yellowComponent Objective-C instance method.

 o blackComponent
 public native float blackComponent()
A wrapper for the - blackComponent Objective-C instance method.

 o alphaComponent
 public native float alphaComponent()
A wrapper for the - alphaComponent Objective-C instance method.

 o colorFromPasteboard
 public static native Color colorFromPasteboard(Pasteboard pasteBoard)
A wrapper for the + colorFromPasteboard: Objective-C class method.

 o writeToPasteboard
 public native void writeToPasteboard(Pasteboard pasteBoard)
A wrapper for the - writeToPasteboard: Objective-C instance method.

 o drawSwatchInRect
 public native void drawSwatchInRect(Rect rect)
A wrapper for the - drawSwatchInRect: Objective-C instance method.

 o setIgnoresAlpha
 public static native void setIgnoresAlpha(boolean flag)
A wrapper for the + setIgnoresAlpha: Objective-C class method.

 o ignoresAlpha
 public static native boolean ignoresAlpha()
A wrapper for the + ignoresAlpha Objective-C class method.

 o encodeWithCoder
 public native void encodeWithCoder(Coder aCoder)
A wrapper for the - encodeWithCoder: Objective-C instance method defined by the Coding interface (known as the NSCoding Objective-C protocol).


All Packages  Class Hierarchy  This Package  Previous  Next  Index