All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.app.ColorList

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

public class ColorList
extends NativeObject
implements Coding
This class wraps the Objective-C class NSColorList.


Variable Index

 o ColorListDidChangeNotification

Constructor Index

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

Method Index

 o allKeys()
A wrapper for the - allKeys Objective-C instance method.
 o availableColorLists()
A wrapper for the + availableColorLists Objective-C class method.
 o colorListNamed(String)
A wrapper for the + colorListNamed: Objective-C class method.
 o colorWithKey(String)
A wrapper for the - colorWithKey: 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 insertColorForKeyAtIndex(Color, String, int)
A wrapper for the - insertColor:key:atIndex: Objective-C instance method.
 o isEditable()
A wrapper for the - isEditable Objective-C instance method.
 o name()
A wrapper for the - name Objective-C instance method.
 o removeColorWithKey(String)
A wrapper for the - removeColorWithKey: Objective-C instance method.
 o removeFile()
A wrapper for the - removeFile Objective-C instance method.
 o setColorForKey(Color, String)
A wrapper for the - setColor:forKey: Objective-C instance method.
 o writeToFile(String)
A wrapper for the - writeToFile: Objective-C instance method.

Variables

 o ColorListDidChangeNotification
 public static final String ColorListDidChangeNotification

Constructors

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

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

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

 o ColorList
 public ColorList(String name)
This constructor has the same effect as calling - initWithName: on a newly allocated object.

 o ColorList
 public ColorList(String name,
                  String path)
This constructor has the same effect as calling - initWithName:fromFile: on a newly allocated object.

Methods

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

 o colorListNamed
 public static native ColorList colorListNamed(String name)
A wrapper for the + colorListNamed: Objective-C class method.

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

 o setColorForKey
 public native void setColorForKey(Color color,
                                   String key)
A wrapper for the - setColor:forKey: Objective-C instance method.

 o insertColorForKeyAtIndex
 public native void insertColorForKeyAtIndex(Color color,
                                             String key,
                                             int loc)
A wrapper for the - insertColor:key:atIndex: Objective-C instance method.

 o removeColorWithKey
 public native void removeColorWithKey(String key)
A wrapper for the - removeColorWithKey: Objective-C instance method.

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

 o allKeys
 public native Array allKeys()
A wrapper for the - allKeys Objective-C instance method.

 o isEditable
 public native boolean isEditable()
A wrapper for the - isEditable Objective-C instance method.

 o writeToFile
 public native boolean writeToFile(String path)
A wrapper for the - writeToFile: Objective-C instance method.

 o removeFile
 public native void removeFile()
A wrapper for the - removeFile Objective-C instance 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