org.odlabs.wiquery.ui.accordion
Class AccordionHeader

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

public class AccordionHeader
extends Object
implements IComplexOption

$Id: AccordionHeader

Bean for the header option for the Accordion component

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

Constructor Summary
AccordionHeader(LiteralOption literalParam)
          Constructor
AccordionHeader(String objectParam)
          Constructor
 
Method Summary
 CharSequence getJavascriptOption()
          Method retrieving the javascript representation of this complex option
 LiteralOption getLiteralParam()
           
 String getObjectParam()
           
 void setLiteralParam(LiteralOption literalParam)
          Set's the literal parameter
 void setObjectParam(String objectParam)
          Set's the object (jQuery or DOMElement) parameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccordionHeader

public AccordionHeader(LiteralOption literalParam)
Constructor

Parameters:
literalParam - Literal parameter

AccordionHeader

public AccordionHeader(String objectParam)
Constructor

Parameters:
objectParam - object parameter (jQuery or DOMElement)
Method Detail

getLiteralParam

public LiteralOption getLiteralParam()
Returns:
the literalParam

getObjectParam

public String getObjectParam()
Returns:
the objectParam

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

setLiteralParam

public void setLiteralParam(LiteralOption literalParam)
Set's the literal parameter

Parameters:
literalParam - the literal to set

setObjectParam

public void setObjectParam(String objectParam)
Set's the object (jQuery or DOMElement) parameter

Parameters:
objectParam - the literal to set


Copyright © 2012. All Rights Reserved.