|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
Objectf_object
f_shell
f_dialog
f_messageDialog
public final class f_messageDialog
f_messageDialog represents popup modal window.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
f_messageDialog(String title,
String text,
String defaultValue)
Construct a new f_messageDialog with the specified
initial values. |
|
| Method Summary | |
|---|---|
String |
_toString()
|
void |
f_addAction(String value,
String text,
any disabled,
any submitButton)
Adds an action to the popup. |
undefined |
f_finalize()
Destruct a new f_messageDialog. |
Array |
f_getActions()
Return the array of actions. |
String |
f_getDefaultValue()
Return the defaultValue. |
String |
f_getImageResolvedURL()
Gets the image resolved URL. |
String |
f_getImageURL()
Gets the image URL. |
String |
f_getText()
Return the text. |
void |
f_openMessage(Function callback)
draw a message box. |
undefined |
f_setDefaultValue(String defaultValue)
Sets the defaultValue. |
void |
f_setImageURL(String imageURL)
Sets the image URL. |
undefined |
f_setText(String text)
Sets the text. |
| Methods inherited from class fa_eventTarget |
|---|
f_addEventListener, f_fireEvent, f_removeEventListener |
| Methods inherited from class f_object |
|---|
f_getClass, toString |
| Methods inherited from class Object |
|---|
toString |
| Constructor Detail |
|---|
public f_messageDialog(String title,
String text,
String defaultValue)
Construct a new f_messageDialog with the specified
initial values.
title - the title or HTMLElement the suporting v:init tagtext - the text to displaydefaultValue - the value returned if the popup is closed without selecting a button| Method Detail |
|---|
public String f_getImageResolvedURL()
Gets the image resolved URL.
public undefined f_setDefaultValue(String defaultValue)
Sets the defaultValue.
defaultValue - the default Valuepublic String _toString()
_toString in class f_shellpublic void f_openMessage(Function callback)
draw a message box. The first parameter is a callback that must take a String as a first parameter and a f_messageDialog as second parameter. the callback can be null;
callback - The callback function to be called when the messageBox is closedpublic void f_setImageURL(String imageURL)
Sets the image URL.
imageURL - (or null)public String f_getText()
Return the text.
public undefined f_setText(String text)
Sets the text.
text - the text
public void f_addAction(String value,
String text,
any disabled,
any submitButton)
Adds an action to the popup.
value - the value of the actiontext - the text displayed for the actionpublic String f_getImageURL()
Gets the image URL.
public Array f_getActions()
Return the array of actions.
public String f_getDefaultValue()
Return the defaultValue.
public undefined f_finalize()
Destruct a new f_messageDialog.
f_finalize in class f_shell
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||