Methods Summary |
---|
public int | getAutoCloseInMS()Returns the number milliseconds the prompt will wait around until it auto
closes. Timer starts after the user is prompted (when {@link #open()} is
called), and typically does not decrease while the user is viewing the
prompt (certain implementations may operate differently)
|
public java.lang.String | getHtml()Returns the HTML that will be displayed along with the prompt
TODO: Create a boolean canHandleHTML()
|
public java.lang.String | getRememberID()Retrieves the Remember ID associated with this prompt
|
public java.lang.String | getRememberText()Retrieves the text to be displayed by the "Remember this Action" checkbox
|
public boolean | isAutoClosed()Determines if the prompt was auto closed after {@link #open()} was
called, or if the user chose an option.
|
public int | open()Opens the prompt. returns when user has chosen an action, or auto-close
|
public void | setAutoCloseInMS(int autoCloseInMS)Sets the # of milliseconds before auto closing.
Timer starts after the user is prompted (when {@link #open()} is
called), and typically does not decrease while the user is viewing the
prompt (certain implementations may operate differently)
|
public void | setHtml(java.lang.String html)
|
public void | setRelatedObject(java.lang.Object relatedObject)
|
public void | setRelatedObjects(java.lang.Object[] relatedObjects)
|
public void | setRememberID(java.lang.String rememberID, boolean rememberByDefault)
|
public void | setRememberText(java.lang.String rememberText)
|
public void | setUrl(java.lang.String url)
|