public class ButtonIcon extends Object implements IComplexOption
Bean for the icon option into the Button component
| Constructor and Description |
|---|
ButtonIcon(String primary,
String secondary)
Default constructor
|
ButtonIcon(UiIcon primary,
UiIcon secondary)
Constructor accepting enumeration.
|
| Modifier and Type | Method and Description |
|---|---|
CharSequence |
getJavascriptOption()
Method retrieving the javascript representation of this complex option
|
String |
getPrimary()
Method retrieving the class for the primary icon
|
String |
getSecondary()
Method retrieving the class for the secondary icon
|
void |
setHeaderClass(String primary)
Method setting the class for the primary icon
|
void |
setHeaderSelectedClass(String secondary)
Method setting the class for the secondary icon
|
public ButtonIcon(String primary, String secondary)
primary - (can be null)secondary - (can be null)public String getPrimary()
public String getSecondary()
public CharSequence getJavascriptOption()
getJavascriptOption in interface IComplexOptionIComplexOption.getJavascriptOption()public void setHeaderClass(String primary)
primary - public void setHeaderSelectedClass(String secondary)
secondary - Copyright © 2009-2012. All Rights Reserved.