org.odlabs.wiquery.ui.accordion
Class AccordionIcon

java.lang.Object
  extended by org.odlabs.wiquery.ui.accordion.AccordionIcon
All Implemented Interfaces:
Serializable, IComplexOption

public class AccordionIcon
extends Object
implements IComplexOption

$Id$

Bean for the icon option into the Accordion component

Since:
1.0
Author:
Julien Roche
See Also:
Serialized Form

Constructor Summary
AccordionIcon(Boolean wantIcons)
          Constructor.
AccordionIcon(String headerClass, String headerSelectedClass)
          Constructor
AccordionIcon(UiIcon header, UiIcon headerSelected)
          Constructor
 
Method Summary
 String getHeaderClass()
          Method retrieving the class for the header
 String getHeaderSelectedClass()
          Method retrieving the class for the headerSelected
 CharSequence getJavascriptOption()
          Method retrieving the javascript representation of this complex option
 Boolean getWantIcons()
           
 void setHeaderClass(String headerClass)
          Method setting the class for the header
 void setHeaderSelectedClass(String headerSelectedClass)
          Method setting the class for the headerSelected
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccordionIcon

public AccordionIcon(UiIcon header,
                     UiIcon headerSelected)
Constructor

Parameters:
header -
headerSelected -

AccordionIcon

public AccordionIcon(String headerClass,
                     String headerSelectedClass)
Constructor

Parameters:
headerClass -
headerSelectedClass -

AccordionIcon

public AccordionIcon(Boolean wantIcons)
Constructor.

Parameters:
wantIcons -
Method Detail

getHeaderClass

public String getHeaderClass()
Method retrieving the class for the header

Returns:
the class for the header

getHeaderSelectedClass

public String getHeaderSelectedClass()
Method retrieving the class for the headerSelected

Returns:
the class for the headerSelected

getJavascriptOption

public CharSequence getJavascriptOption()
Description copied from interface: IComplexOption
Method retrieving the javascript representation of this complex option

Specified by:
getJavascriptOption in interface IComplexOption
Returns:
the javascript

setHeaderClass

public void setHeaderClass(String headerClass)
Method setting the class for the header

Parameters:
headerClass -

setHeaderSelectedClass

public void setHeaderSelectedClass(String headerSelectedClass)
Method setting the class for the headerSelected

Parameters:
headerSelectedClass -

getWantIcons

public Boolean getWantIcons()


Copyright © 2012. All Rights Reserved.