Class NSColor
java.lang.Object
org.eclipse.swt.internal.cocoa.id
org.eclipse.swt.internal.cocoa.NSObject
org.eclipse.swt.internal.cocoa.NSColor
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublestatic NSColorstatic NSColorstatic NSColordoublestatic NSColorcolorUsingColorSpaceName(NSString colorSpace) static NSColorcolorWithCalibratedRed(double red, double green, double blue, double alpha) static NSColorcolorWithDeviceRed(double red, double green, double blue, double alpha) static NSColorcolorWithPatternImage(NSImage image) static NSColorstatic NSColorstatic NSColorstatic NSColorstatic NSColorstatic NSColorstatic NSColorvoidgetComponents(double[] components) doublelongdoublestatic NSColorstatic NSColorstatic NSColorstatic NSColorstatic NSColorvoidset()voidsetFill()voidstatic NSColorstatic NSColorstatic NSColorstatic NSColorstatic NSColorMethods inherited from class NSObject
accessibilityAttributeValue, accessibilitySetOverrideValue, addEventListener, alloc, autorelease, cancelAuthenticationChallenge, className, conformsToProtocol, copy, description, draggedImage, draggingDestinationWindow, draggingLocation, draggingPasteboard, draggingSourceOperationMask, handleEvent, init, isEqual, isEqualTo, isKindOfClass, mutableCopy, outlineView, outlineView, outlineView, outlineView, performSelector, performSelectorOnMainThread, readSelectionFromPasteboard, release, respondsToSelector, retain, retainCount, setValue, superclass, tableView, tableView, tableView, useCredential, valueForKey, writeSelectionToPasteboardMethods inherited from class id
equals, hashCode, objc_getClass, toString
-
Constructor Details
-
NSColor
public NSColor() -
NSColor
public NSColor(long id) -
NSColor
-
-
Method Details
-
alphaComponent
public double alphaComponent() -
alternateSelectedControlColor
-
alternateSelectedControlTextColor
-
blackColor
-
blueComponent
public double blueComponent() -
clearColor
-
colorSpace
-
colorUsingColorSpaceName
-
colorWithCalibratedRed
-
colorWithDeviceRed
-
colorWithPatternImage
-
controlBackgroundColor
-
controlDarkShadowColor
-
controlHighlightColor
-
controlLightHighlightColor
-
controlShadowColor
-
controlTextColor
-
disabledControlTextColor
-
getComponents
public void getComponents(double[] components) -
greenComponent
public double greenComponent() -
numberOfComponents
public long numberOfComponents() -
redComponent
public double redComponent() -
secondarySelectedControlColor
-
selectedControlColor
-
selectedControlTextColor
-
selectedTextBackgroundColor
-
selectedTextColor
-
set
public void set() -
setFill
public void setFill() -
setStroke
public void setStroke() -
textBackgroundColor
-
textColor
-
windowBackgroundColor
-
windowFrameColor
-
windowFrameTextColor
-