All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.app.Scroller

java.lang.Object
   |
   +----com.apple.alpha.core.NativeObject
           |
           +----com.apple.alpha.app.Responder
                   |
                   +----com.apple.alpha.app.View
                           |
                           +----com.apple.alpha.app.Control
                                   |
                                   +----com.apple.alpha.app.Scroller

public class Scroller
extends Control
This class wraps the Objective-C class NSScroller.


Variable Index

 o AllParts
 o ArrowsMaxEnd
 o ArrowsMinEnd
 o ArrowsNone
 o DecrementArrow
 o DecrementLine
 o DecrementPage
 o IncrementArrow
 o IncrementLine
 o IncrementPage
 o Knob
 o KnobSlot
 o NoPart
 o NoParts
 o OnlyArrows

Constructor Index

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

Method Index

 o arrowsPosition()
A wrapper for the - arrowsPosition Objective-C instance method.
 o checkSpaceForParts()
A wrapper for the - checkSpaceForParts Objective-C instance method.
 o drawArrow(int, boolean)
A wrapper for the - drawArrow:highlight: Objective-C instance method.
 o drawKnob()
A wrapper for the - drawKnob Objective-C instance method.
 o drawParts()
A wrapper for the - drawParts Objective-C instance method.
 o highlight(boolean)
A wrapper for the - highlight: Objective-C instance method.
 o hitPart()
A wrapper for the - hitPart Objective-C instance method.
 o knobProportion()
A wrapper for the - knobProportion Objective-C instance method.
 o rectForPart(int)
A wrapper for the - rectForPart: Objective-C instance method.
 o scrollerWidth()
A wrapper for the + scrollerWidth Objective-C class method.
 o setArrowsPosition(int)
A wrapper for the - setArrowsPosition: Objective-C instance method.
 o setFloatValueAndKnobProportion(float, float)
A wrapper for the - setFloatValue:knobProportion: Objective-C instance method.
 o testPart(Point)
A wrapper for the - testPart: Objective-C instance method.
 o trackKnob(Event)
A wrapper for the - trackKnob: Objective-C instance method.
 o trackScrollButtons(Event)
A wrapper for the - trackScrollButtons: Objective-C instance method.
 o usableParts()
A wrapper for the - usableParts Objective-C instance method.

Variables

 o ArrowsMaxEnd
 public static final int ArrowsMaxEnd
 o ArrowsMinEnd
 public static final int ArrowsMinEnd
 o ArrowsNone
 public static final int ArrowsNone
 o IncrementArrow
 public static final int IncrementArrow
 o DecrementArrow
 public static final int DecrementArrow
 o NoParts
 public static final int NoParts
 o OnlyArrows
 public static final int OnlyArrows
 o AllParts
 public static final int AllParts
 o NoPart
 public static final int NoPart
 o DecrementPage
 public static final int DecrementPage
 o Knob
 public static final int Knob
 o IncrementPage
 public static final int IncrementPage
 o DecrementLine
 public static final int DecrementLine
 o IncrementLine
 public static final int IncrementLine
 o KnobSlot
 public static final int KnobSlot

Constructors

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

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

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

 o Scroller
 public Scroller(Rect frameRect)
This constructor has the same effect as calling - initWithFrame: on a newly allocated object.

Methods

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

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

 o rectForPart
 public native Rect rectForPart(int partCode)
A wrapper for the - rectForPart: Objective-C instance method.

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

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

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

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

 o drawArrow
 public native void drawArrow(int whichArrow,
                              boolean flag)
A wrapper for the - drawArrow:highlight: Objective-C instance method.

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

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

 o testPart
 public native int testPart(Point thePoint)
A wrapper for the - testPart: Objective-C instance method.

 o trackKnob
 public native void trackKnob(Event theEvent)
A wrapper for the - trackKnob: Objective-C instance method.

 o trackScrollButtons
 public native void trackScrollButtons(Event theEvent)
A wrapper for the - trackScrollButtons: Objective-C instance method.

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

 o setFloatValueAndKnobProportion
 public native void setFloatValueAndKnobProportion(float aFloat,
                                                   float percent)
A wrapper for the - setFloatValue:knobProportion: Objective-C instance method.

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


All Packages  Class Hierarchy  This Package  Previous  Next  Index