All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.app.RulerMarker

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

public class RulerMarker
extends NativeObject
implements Coding
This class wraps the Objective-C class NSRulerMarker.


Constructor Index

 o RulerMarker()
This default constructor is equivalent to Objective-C's [[NSRulerMarker alloc] init].
 o RulerMarker(boolean, int)
Protected constructor used by the bridge to wrap an Objective-C object.
 o RulerMarker(Coder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.
 o RulerMarker(RulerView, float, Image, Point)
This constructor has the same effect as calling - initWithRulerView:markerLocation:image:imageOrigin: on a newly allocated object.

Method Index

 o drawRect(Rect)
A wrapper for the - drawRect: 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 image()
A wrapper for the - image Objective-C instance method.
 o imageOrigin()
A wrapper for the - imageOrigin Objective-C instance method.
 o imageRectInRuler()
A wrapper for the - imageRectInRuler Objective-C instance method.
 o isDragging()
A wrapper for the - isDragging Objective-C instance method.
 o isMovable()
A wrapper for the - isMovable Objective-C instance method.
 o isRemovable()
A wrapper for the - isRemovable Objective-C instance method.
 o markerLocation()
A wrapper for the - markerLocation Objective-C instance method.
 o representedObject()
A wrapper for the - representedObject Objective-C instance method.
 o ruler()
A wrapper for the - ruler Objective-C instance method.
 o setImage(Image)
A wrapper for the - setImage: Objective-C instance method.
 o setImageOrigin(Point)
A wrapper for the - setImageOrigin: Objective-C instance method.
 o setMarkerLocation(float)
A wrapper for the - setMarkerLocation: Objective-C instance method.
 o setMovable(boolean)
A wrapper for the - setMovable: Objective-C instance method.
 o setRemovable(boolean)
A wrapper for the - setRemovable: Objective-C instance method.
 o setRepresentedObject(Object)
A wrapper for the - setRepresentedObject: Objective-C instance method.
 o thicknessRequiredInRuler()
A wrapper for the - thicknessRequiredInRuler Objective-C instance method.
 o trackMouseToAddMarker(Event, boolean)
A wrapper for the - trackMouse:adding: Objective-C instance method.

Constructors

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

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

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

 o RulerMarker
 public RulerMarker(RulerView ruler,
                    float location,
                    Image image,
                    Point imageOrigin)
This constructor has the same effect as calling - initWithRulerView:markerLocation:image:imageOrigin: on a newly allocated object.

Methods

 o ruler
 public native RulerView ruler()
A wrapper for the - ruler Objective-C instance method.

 o setMarkerLocation
 public native void setMarkerLocation(float location)
A wrapper for the - setMarkerLocation: Objective-C instance method.

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

 o setImage
 public native void setImage(Image image)
A wrapper for the - setImage: Objective-C instance method.

 o image
 public native Image image()
A wrapper for the - image Objective-C instance method.

 o setImageOrigin
 public native void setImageOrigin(Point imageOrigin)
A wrapper for the - setImageOrigin: Objective-C instance method.

 o imageOrigin
 public native Point imageOrigin()
A wrapper for the - imageOrigin Objective-C instance method.

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

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

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

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

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

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

 o representedObject
 public native Object representedObject()
A wrapper for the - representedObject Objective-C instance method.

 o imageRectInRuler
 public native Rect imageRectInRuler()
A wrapper for the - imageRectInRuler Objective-C instance method.

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

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

 o trackMouseToAddMarker
 public native boolean trackMouseToAddMarker(Event mouseDownEvent,
                                             boolean isAdding)
A wrapper for the - trackMouse:adding: 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