|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.odlabs.wiquery.ui.button.ButtonIcon
public class ButtonIcon
$Id$
Bean for the icon option into the Button component
Constructor Summary | |
---|---|
ButtonIcon(String primary,
String secondary)
Default constructor |
|
ButtonIcon(UiIcon primary,
UiIcon secondary)
Constructor accepting enumeration. |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ButtonIcon(String primary, String secondary)
primary
- (can be null)secondary
- (can be null)public ButtonIcon(UiIcon primary, UiIcon secondary)
primary
- secondary
- Method Detail |
---|
public String getPrimary()
public String getSecondary()
public CharSequence getJavascriptOption()
IComplexOption
getJavascriptOption
in interface IComplexOption
public void setHeaderClass(String primary)
primary
- public void setHeaderSelectedClass(String secondary)
secondary
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |