|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsk.baka.ambient.views.ContainedPopupWindow
public final class ContainedPopupWindow
A contained pop-up window. This window is contained in and positioned relative to owning view. Displays a simple string.
| Nested Class Summary | |
|---|---|
static interface |
ContainedPopupWindow.IPlaceable
Computes window placement. |
| Constructor Summary | |
|---|---|
ContainedPopupWindow(android.view.View owner,
ContainedPopupWindow.IPlaceable coords)
Creates new pop-up window instance. |
|
| Method Summary | |
|---|---|
void |
dismiss()
Dismisses the pop-up window. |
void |
dismissAfter(long timeMillis)
Dismiss the pop-up window after designated time. |
void |
setText(java.lang.CharSequence text)
Displays given text on the pop-up window, showing it if necessary. |
void |
updatePos()
Updates the position of the window if the window is visible. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContainedPopupWindow(android.view.View owner,
ContainedPopupWindow.IPlaceable coords)
owner - the owner window.coords - computes coordinates for the pop-up.| Method Detail |
|---|
public void setText(java.lang.CharSequence text)
text - the text to display.public void dismiss()
public void dismissAfter(long timeMillis)
timeMillis - dismiss after this time period.public void updatePos()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||