java.lang.Object | |
↳ | com.htc.widget.internal.PopupBubbleWindow |
A popup window that can be used to display an arbitrary view. The popup windows is a floating container that appears on top of the current activity.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
PopupBubbleWindow.OnDismissListener | Listener that is called when this popup window is dismissed. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new empty, non focusable popup window of dimension (0,0). | |||||||||||
Create a new empty, non focusable popup window of dimension (0,0). | |||||||||||
Create a new empty, non focusable popup window of dimension (0,0). | |||||||||||
Create a new, empty, non focusable popup window of dimension (0,0). | |||||||||||
Create a new empty, non focusable popup window of dimension (0,0). | |||||||||||
Create a new non focusable popup window which can display the contentView. | |||||||||||
Create a new empty, non focusable popup window. | |||||||||||
Create a new non focusable popup window which can display the contentView. | |||||||||||
Create a new popup window which can display the contentView. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Updates the position and the dimension of the popup window. | |||||||||||
Updates the position and the dimension of the popup window. | |||||||||||
Updates the position and the dimension of the popup window. | |||||||||||
Updates the position and the dimension of the popup window. | |||||||||||
Updates the dimension of the popup window. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Create a new empty, non focusable popup window of dimension (0,0).
The popup does provide a background.
Create a new empty, non focusable popup window of dimension (0,0).
The popup does provide a background.
Create a new empty, non focusable popup window of dimension (0,0).
The popup does provide a background.
Create a new, empty, non focusable popup window of dimension (0,0).
The popup does not provide a background.
Create a new empty, non focusable popup window of dimension (0,0).
The popup does not provide any background. This should be handled by the content view.
Create a new non focusable popup window which can display the contentView. The dimension of the window are (0,0).
The popup does not provide any background. This should be handled by the content view.
contentView | the popup's content |
---|
Create a new empty, non focusable popup window. The dimension of the window must be passed to this constructor.
The popup does not provide any background. This should be handled by the content view.
width | the popup's width |
---|---|
height | the popup's height |
Create a new non focusable popup window which can display the contentView. The dimension of the window must be passed to this constructor.
The popup does not provide any background. This should be handled by the content view.
contentView | the popup's content |
---|---|
width | the popup's width |
height | the popup's height |
Create a new popup window which can display the contentView. The dimension of the window must be passed to this constructor.
The popup does not provide any background. This should be handled by the content view.
contentView | the popup's content |
---|---|
width | the popup's width |
height | the popup's height |
focusable | true if the popup can be focused, false otherwise |
Updates the position and the dimension of the popup window. Width and height can be set to -1 to update location only. Calling this function also updates the window with the current popup state as described for #update().
x | the new x location |
---|---|
y | the new y location |
width | the new width, can be -1 to ignore |
height | the new height, can be -1 to ignore |
Updates the position and the dimension of the popup window. Width and height can be set to -1 to update location only. Calling this function also updates the window with the current popup state as described for #update().
x | the new x location |
---|---|
y | the new y location |
width | the new width, can be -1 to ignore |
height | the new height, can be -1 to ignore |
force | reposition the window even if the specified position already seems to correspond to the LayoutParams |
Updates the position and the dimension of the popup window. Width and height can be set to -1 to update location only. Calling this function also updates the window with the current popup state as described for #update().
If the view later scrolls to move anchor
to a different
location, the popup will be moved correspondingly.
anchor | the popup's anchor view |
---|---|
xoff | x offset from the view's left edge |
yoff | y offset from the view's bottom edge |
width | the new width, can be -1 to ignore |
height | the new height, can be -1 to ignore |
Updates the position and the dimension of the popup window. Calling this function also updates the window with the current popup state as described for #update().
anchor | the popup's anchor view |
---|---|
width | the new width, can be -1 to ignore |
height | the new height, can be -1 to ignore |
Updates the dimension of the popup window. Calling this function also updates the window with the current popup state as described for #update().
width | the new width |
---|---|
height | the new height |