|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OverlayLayer
Implementers can open overlay views (with a degree of modality) over their display area.
Nested Class Summary | |
---|---|
static class |
OverlayLayer.ModalityDomain
The available locations of modality for opening a modal. |
static class |
OverlayLayer.ModalityLevel
The available levels of modality. |
Method Summary | |
---|---|
void |
openAlert(MessageStyleType type,
String title,
String body,
String confirmButtonText,
AlertCallback cb)
Alert dialog is a dialog where user is given a message and confirm button no chance to cancel. |
void |
openAlert(MessageStyleType type,
View viewToShow,
String confirmButtonText,
AlertCallback cb)
Alert dialog is a dialog where user is given a message and confirm button no chance to cancel. |
void |
openConfirmation(MessageStyleType type,
String title,
String body,
String confirmButtonText,
String cancelButtonText,
boolean cancelIsDefault,
ConfirmationCallback cb)
Confirmation dialog is a dialog where user is presented a message and chance to confirm or to cancel. |
void |
openConfirmation(MessageStyleType type,
View viewToShow,
String confirmButtonText,
String cancelButtonText,
boolean cancelIsDefault,
ConfirmationCallback cb)
Confirmation dialog is a dialog where user is presented a message and chance to confirm or to cancel. |
void |
openNotification(MessageStyleType type,
boolean doesTimeout,
String title)
Notification indicator is a message banner that only shows a message to user. |
void |
openNotification(MessageStyleType type,
boolean doesTimeout,
String title,
String linkText,
NotificationCallback cb)
Notification indicator is a message banner that only shows a message to user. |
void |
openNotification(MessageStyleType type,
boolean doesTimeout,
View viewToShow)
Notification indicator is a message banner that only shows a message to user. |
OverlayCloser |
openOverlay(View view)
Open an Overlay on top of the OverlayLayer implementer. |
OverlayCloser |
openOverlay(View view,
OverlayLayer.ModalityLevel modalityLevel)
Open an Overlay on top of the OverlayLayer implementer. |
Method Detail |
---|
OverlayCloser openOverlay(View view)
view
- View of the component to be displayed modally.OverlayCloser openOverlay(View view, OverlayLayer.ModalityLevel modalityLevel)
modalityLevel
- Modality levelvoid openAlert(MessageStyleType type, View viewToShow, String confirmButtonText, AlertCallback cb)
void openAlert(MessageStyleType type, String title, String body, String confirmButtonText, AlertCallback cb)
void openConfirmation(MessageStyleType type, View viewToShow, String confirmButtonText, String cancelButtonText, boolean cancelIsDefault, ConfirmationCallback cb)
void openConfirmation(MessageStyleType type, String title, String body, String confirmButtonText, String cancelButtonText, boolean cancelIsDefault, ConfirmationCallback cb)
void openNotification(MessageStyleType type, boolean doesTimeout, View viewToShow)
viewToShow
- Content to show as View.void openNotification(MessageStyleType type, boolean doesTimeout, String title)
title
- Content to show as string.void openNotification(MessageStyleType type, boolean doesTimeout, String title, String linkText, NotificationCallback cb)
title
- Content to show as string.linkText
- Text to show in a link button.cb
- Callback for when user clicks on link.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |