public class DialogButton extends Object implements IListItemOption
Bean to represent a dialog button
| Constructor and Description |
|---|
DialogButton(String title,
JsScope jsScope)
Build a new instance of a dialog button
|
| Modifier and Type | Method and Description |
|---|---|
CharSequence |
getJavascriptOption()
Method retrieving the javascript's representation of the option
|
JsScope |
getJsScope()
Method retrieving the JsScope of the button
|
String |
getTitle()
Method retrieving the title of the button
|
void |
setJsScope(JsScope jsScope)
Method setting the JsScope of the button
|
void |
setTitle(String title)
Method setting the title of the button
|
public final CharSequence getJavascriptOption()
IListItemOptiongetJavascriptOption in interface IListItemOptionpublic JsScope getJsScope()
public String getTitle()
public void setJsScope(JsScope jsScope)
jsScope - public void setTitle(String title)
title - Copyright © 2009-2012. All Rights Reserved.