|
|||||||||
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. |
java.lang.String |
getHtml()
Returns the HTML that will be displayed along with the prompt |
java.lang.String |
getRememberID()
Retrieves the Remember ID associated with this prompt |
java.lang.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(java.lang.String html)
|
void |
setIconResource(java.lang.String resource)
|
void |
setOneInstanceOf(java.lang.String instanceID)
Prevent more than one dialog of instanceID from showing up at once |
void |
setRelatedObject(java.lang.Object relatedObject)
|
void |
setRelatedObjects(java.lang.Object[] relatedObjects)
|
void |
setRemember(java.lang.String rememberID,
boolean rememberByDefault,
java.lang.String rememberText)
|
void |
setRememberOnlyIfButton(int button)
|
void |
setRememberText(java.lang.String rememberText)
|
void |
setUrl(java.lang.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)
java.lang.String getHtml()
TODO: Create a boolean canHandleHTML()
java.lang.String getRememberID()
java.lang.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(java.lang.String html)
html
- void setRemember(java.lang.String rememberID, boolean rememberByDefault, java.lang.String rememberText)
rememberID
- rememberByDefault
- void setRememberText(java.lang.String rememberText)
rememberText
- void setRememberOnlyIfButton(int button)
button
- void setUrl(java.lang.String url)
url
- boolean isAutoClosed()
#open()
was
called, or if the user chose an option.
void setIconResource(java.lang.String resource)
resource
- image repository resource name (e.g. "error", "warning", "info")void setRelatedObjects(java.lang.Object[] relatedObjects)
void setRelatedObject(java.lang.Object relatedObject)
relatedObject
- void setOneInstanceOf(java.lang.String instanceID)
instanceID
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |