Interface UIFunctionsUserPrompter
- All Known Implementing Classes:
MessageBoxShell, VuzeMessageBox
public interface UIFunctionsUserPrompter
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionintReturns the number milliseconds the prompt will wait around until it auto closes.getHtml()Returns the HTML that will be displayed along with the promptRetrieves the Remember ID associated with this promptRetrieves the text to be displayed by the "Remember this Action" checkboxbooleanDetermines if the prompt was auto closed afterwas called, or if the user chose an option.invalid reference
#open()voidOpens the prompt.voidsetAutoCloseInMS(int autoCloseInMS) Sets the # of milliseconds before auto closing.voidvoidsetIconResource(String resource) voidsetOneInstanceOf(String instanceID) Prevent more than one dialog of instanceID from showing up at oncevoidsetRelatedObject(Object relatedObject) voidsetRelatedObjects(Object[] relatedObjects) voidsetRemember(String rememberID, boolean rememberByDefault, String rememberText) voidsetRememberOnlyIfButton(int button) voidsetRememberText(String rememberText) voidsetStyle(int style) voidint
-
Field Details
-
ICON_WARNING
- See Also:
-
ICON_INFO
- See Also:
-
ICON_ERROR
- See Also:
-
-
Method Details
-
getAutoCloseInMS
int getAutoCloseInMS()Returns the number milliseconds the prompt will wait around until it auto closes. Timer starts after the user is prompted (whenis called), and typically does not decrease while the user is viewing the prompt (certain implementations may operate differently)invalid reference
#open()- Returns:
- MS before prompt auto-closes, 0 for no auto-close
- Since:
- 3.0.0.9
-
getHtml
String getHtml()Returns the HTML that will be displayed along with the promptTODO: Create a boolean canHandleHTML()
- Returns:
- Since:
- 3.0.0.9
-
getRememberID
String getRememberID()Retrieves the Remember ID associated with this prompt- Returns:
- Remember ID
- Since:
- 3.0.0.9
-
getRememberText
String getRememberText()Retrieves the text to be displayed by the "Remember this Action" checkbox- Returns:
- Remember text
- Since:
- 3.0.0.9
-
setStyle
void setStyle(int style) -
open
Opens the prompt. returns when user has chosen an action, or auto-close- Since:
- 3.0.0.9
-
waitUntilClosed
int waitUntilClosed() -
setAutoCloseInMS
void setAutoCloseInMS(int autoCloseInMS) Sets the # of milliseconds before auto closing. Timer starts after the user is prompted (whenis called), and typically does not decrease while the user is viewing the prompt (certain implementations may operate differently)invalid reference
#open()- Parameters:
autoCloseInMS-- Since:
- 3.0.0.9
-
setHtml
- Parameters:
html-- Since:
- 3.0.0.9
-
setRemember
-
setRememberText
- Parameters:
rememberText-- Since:
- 3.0.0.9
-
setRememberOnlyIfButton
void setRememberOnlyIfButton(int button) - Parameters:
button-- Since:
- 5601
-
setUrl
- Parameters:
url-- Since:
- 3.0.0.9
-
isAutoClosed
boolean isAutoClosed()Determines if the prompt was auto closed afterwas called, or if the user chose an option.invalid reference
#open()- Returns:
- true: auto-closed after timeout
false: user chose an option - Since:
- 3.0.0.9
-
setIconResource
- Parameters:
resource- image repository resource name (e.g. "error", "warning", "info")- Since:
- 3.0.4.3
-
setRelatedObjects
-
setRelatedObject
- Parameters:
relatedObject-- Since:
- 3.0.0.9
-
setOneInstanceOf
Prevent more than one dialog of instanceID from showing up at once- Parameters:
instanceID-
-