Sequenceablepublic class MousePointerStyle extends Object implements Sequenceable
| 限定符和类型 | 类 | 说明 |
|---|---|---|
static class |
MousePointerStyle.HotSpot |
Describes the offset of the custom mouse pointer style hot spot int the pixelMap.
|
static class |
MousePointerStyle.PointerStyleType |
Lists the types of mouse pointer styles.
|
Sequenceable.Producer<T>| 限定符和类型 | 字段 | 说明 |
|---|---|---|
static Sequenceable.Producer<MousePointerStyle> |
PRODUCER |
A producer for producing a
MousePointerStyle instance form Parcel. |
| 构造器 | 说明 |
|---|---|
MousePointerStyle(MousePointerStyle.PointerStyleType type) |
Creates a mouse pointer style of the specified type.
|
MousePointerStyle(PixelMap pixelMap,
MousePointerStyle.HotSpot hotSpot) |
Creates a custom mouse pointer style.
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
boolean |
marshalling(Parcel out) |
Marshals this
Sequenceable object into a Parcel. |
boolean |
unmarshalling(Parcel in) |
Unmarshals this
Sequenceable object from a Parcel. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasFileDescriptorpublic static final Sequenceable.Producer<MousePointerStyle> PRODUCER
MousePointerStyle instance form Parcel.public MousePointerStyle(MousePointerStyle.PointerStyleType type)
type - Indicates the type of the mouse pointer style to create. For details, see PointerStyleType.public MousePointerStyle(PixelMap pixelMap, MousePointerStyle.HotSpot hotSpot)
pixelMap - Indicates a PixelMap object used to bear the custom mouse pointer style.hotSpot - Indicates a HotSpot object that describes the offset of the mouse hotspot
in the PixelMap.IllegalArgumentException - throws exception if the PixelMap is null or the given hot spot parameter is
invalid.public boolean marshalling(Parcel out)
SequenceableSequenceable object into a Parcel.marshalling 在接口中 Sequenceableout - Indicates the Parcel object to which the Sequenceable
object will be marshaled..true if the marshalling is successful; returns false otherwise.public boolean unmarshalling(Parcel in)
SequenceableSequenceable object from a Parcel.unmarshalling 在接口中 Sequenceablein - Indicates the Parcel object into which the Sequenceable
object has been marshaled.true if the unmarshalling is successful; returns false otherwise.