All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.app.ColorPanel

java.lang.Object
   |
   +----com.apple.alpha.core.NativeObject
           |
           +----com.apple.alpha.app.Responder
                   |
                   +----com.apple.alpha.app.Window
                           |
                           +----com.apple.alpha.app.Panel
                                   |
                                   +----com.apple.alpha.app.ColorPanel

public class ColorPanel
extends Panel
This class wraps the Objective-C class NSColorPanel.


Variable Index

 o ColorPanelColorDidChangeNotification

Constructor Index

 o ColorPanel()
This default constructor is equivalent to Objective-C's [[NSColorPanel alloc] init].
 o ColorPanel(boolean, int)
Protected constructor used by the bridge to wrap an Objective-C object.
 o ColorPanel(Coder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.
 o ColorPanel(Rect, int, int, boolean)
This constructor has the same effect as calling - initWithContentRect:styleMask:backing:defer: on a newly allocated object.
 o ColorPanel(Rect, int, int, boolean, Screen)
This constructor has the same effect as calling - initWithContentRect:styleMask:backing:defer:screen: on a newly allocated object.

Method Index

 o accessoryView()
A wrapper for the - accessoryView Objective-C instance method.
 o alpha()
A wrapper for the - alpha Objective-C instance method.
 o attachColorList(ColorList)
A wrapper for the - attachColorList: Objective-C instance method.
 o color()
A wrapper for the - color Objective-C instance method.
 o detachColorList(ColorList)
A wrapper for the - detachColorList: Objective-C instance method.
 o dragColor(Color, Event, View)
A wrapper for the + dragColor:withEvent:fromView: Objective-C class method.
 o isContinuous()
A wrapper for the - isContinuous Objective-C instance method.
 o mode()
A wrapper for the - mode Objective-C instance method.
 o setAccessoryView(View)
A wrapper for the - setAccessoryView: Objective-C instance method.
 o setAction(Selector)
A wrapper for the - setAction: Objective-C instance method.
 o setColor(Color)
A wrapper for the - setColor: Objective-C instance method.
 o setContinuous(boolean)
A wrapper for the - setContinuous: Objective-C instance method.
 o setMode(int)
A wrapper for the - setMode: Objective-C instance method.
 o setPickerMask(int)
A wrapper for the + setPickerMask: Objective-C class method.
 o setPickerMode(int)
A wrapper for the + setPickerMode: Objective-C class method.
 o setShowsAlpha(boolean)
A wrapper for the - setShowsAlpha: Objective-C instance method.
 o setTarget(Object)
A wrapper for the - setTarget: Objective-C instance method.
 o sharedColorPanel()
A wrapper for the + sharedColorPanel Objective-C class method.
 o sharedColorPanelExists()
A wrapper for the + sharedColorPanelExists Objective-C class method.
 o showsAlpha()
A wrapper for the - showsAlpha Objective-C instance method.

Variables

 o ColorPanelColorDidChangeNotification
 public static final String ColorPanelColorDidChangeNotification

Constructors

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

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

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

 o ColorPanel
 public ColorPanel(Rect contentRect,
                   int aStyle,
                   int bufferingType,
                   boolean flag)
This constructor has the same effect as calling - initWithContentRect:styleMask:backing:defer: on a newly allocated object.

 o ColorPanel
 public ColorPanel(Rect contentRect,
                   int aStyle,
                   int bufferingType,
                   boolean flag,
                   Screen screen)
This constructor has the same effect as calling - initWithContentRect:styleMask:backing:defer:screen: on a newly allocated object.

Methods

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

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

 o dragColor
 public static native boolean dragColor(Color color,
                                        Event theEvent,
                                        View sourceView)
A wrapper for the + dragColor:withEvent:fromView: Objective-C class method.

 o setPickerMask
 public static native void setPickerMask(int mask)
A wrapper for the + setPickerMask: Objective-C class method.

 o setPickerMode
 public static native void setPickerMode(int mode)
A wrapper for the + setPickerMode: Objective-C class method.

 o setAccessoryView
 public native void setAccessoryView(View aView)
A wrapper for the - setAccessoryView: Objective-C instance method.

 o accessoryView
 public native View accessoryView()
A wrapper for the - accessoryView Objective-C instance method.

 o setContinuous
 public native void setContinuous(boolean flag)
A wrapper for the - setContinuous: Objective-C instance method.

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

 o setShowsAlpha
 public native void setShowsAlpha(boolean flag)
A wrapper for the - setShowsAlpha: Objective-C instance method.

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

 o setMode
 public native void setMode(int mode)
A wrapper for the - setMode: Objective-C instance method.

 o mode
 public native int mode()
A wrapper for the - mode Objective-C instance method.

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

 o color
 public native Color color()
A wrapper for the - color Objective-C instance method.

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

 o setAction
 public native void setAction(Selector aSelector)
A wrapper for the - setAction: Objective-C instance method.

 o setTarget
 public native void setTarget(Object anObject)
A wrapper for the - setTarget: Objective-C instance method.

 o attachColorList
 public native void attachColorList(ColorList colorList)
A wrapper for the - attachColorList: Objective-C instance method.

 o detachColorList
 public native void detachColorList(ColorList colorList)
A wrapper for the - detachColorList: Objective-C instance method.


All Packages  Class Hierarchy  This Package  Previous  Next  Index