|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UIFunctionsUserPrompter
Method Summary | |
---|---|
int |
getAutoCloseInMS()
Returns the number milliseconds the prompt will wait around until it auto closes. |
String |
getHtml()
Returns the HTML that will be displayed along with the prompt |
String |
getRememberID()
Retrieves the Remember ID associated with this prompt |
String |
getRememberText()
Retrieves the text to be displayed by the "Remember this Action" checkbox |
boolean |
isAutoClosed()
Determines if the prompt was auto closed after #open() was
called, or if the user chose an option. |
void |
open(UserPrompterResultListener l)
Opens the prompt. |
void |
setAutoCloseInMS(int autoCloseInMS)
Sets the # of milliseconds before auto closing. |
void |
setHtml(String html)
|
void |
setIconResource(String resource)
|
void |
setOneInstanceOf(String instanceID)
Prevent more than one dialog of instanceID from showing up at once |
void |
setRelatedObject(Object relatedObject)
|
void |
setRelatedObjects(Object[] relatedObjects)
|
void |
setRemember(String rememberID,
boolean rememberByDefault,
String rememberText)
|
void |
setRememberOnlyIfButton(int button)
|
void |
setRememberText(String rememberText)
|
void |
setUrl(String url)
|
int |
waitUntilClosed()
|
Method Detail |
---|
int getAutoCloseInMS()
#open()
is
called), and typically does not decrease while the user is viewing the
prompt (certain implementations may operate differently)
String getHtml()
TODO: Create a boolean canHandleHTML()
String getRememberID()
String getRememberText()
void open(UserPrompterResultListener l)
int waitUntilClosed()
void setAutoCloseInMS(int autoCloseInMS)
#open()
is
called), and typically does not decrease while the user is viewing the
prompt (certain implementations may operate differently)
autoCloseInMS
- void setHtml(String html)
html
- void setRemember(String rememberID, boolean rememberByDefault, String rememberText)
rememberID
- rememberByDefault
- void setRememberText(String rememberText)
rememberText
- void setRememberOnlyIfButton(int button)
button
- void setUrl(String url)
url
- boolean isAutoClosed()
#open()
was
called, or if the user chose an option.
void setIconResource(String resource)
resource
- image repository resource name (e.g. "error", "warning", "info")void setRelatedObjects(Object[] relatedObjects)
void setRelatedObject(Object relatedObject)
relatedObject
- void setOneInstanceOf(String instanceID)
instanceID
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |