public class PopupDrawInfo
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
protected boolean |
swigCMemOwn |
构造器和说明 |
---|
PopupDrawInfo(long cPtr,
boolean cMemoryOwn) |
PopupDrawInfo(ScreenPos anchorScreenPos,
ScreenBounds screenBounds,
Popup popup,
float dpToPX)
Constructs a PopupClickInfo object from a click position and a vector element.
|
限定符和类型 | 方法和说明 |
---|---|
void |
delete() |
boolean |
equals(java.lang.Object obj)
Checks if this object is equal to the specified object.
|
protected void |
finalize() |
ScreenPos |
getAnchorScreenPos()
Returns the screen position of the anchor point of this popup in pixels.
|
static long |
getCPtr(PopupDrawInfo obj) |
float |
getDPToPX()
Returns the value used for converting display independent pixels (dp) to pixels (px).
|
Popup |
getPopup()
Returns the popup to draw.
|
ScreenBounds |
getScreenBounds()
Returns the screen bounds, so that the popup can be clipped if neccessary.
|
int |
hashCode()
Returns the hash value of this object.
|
public PopupDrawInfo(long cPtr, boolean cMemoryOwn)
public PopupDrawInfo(ScreenPos anchorScreenPos, ScreenBounds screenBounds, Popup popup, float dpToPX)
anchorScreenPos
- The screen position of the anchor point of this popup in pixels.screenBounds
- The screen bounds for clipping the popup.popup
- The popup on which the click was performed.dpToPX
- The value used for converting display independent pixels (dp) to pixels (px).public static long getCPtr(PopupDrawInfo obj)
protected void finalize()
finalize
在类中 java.lang.Object
public void delete()
public boolean equals(java.lang.Object obj)
equals
在类中 java.lang.Object
obj
- The reference object.public int hashCode()
hashCode
在类中 java.lang.Object
public ScreenPos getAnchorScreenPos()
public ScreenBounds getScreenBounds()
public Popup getPopup()
public float getDPToPX()