org.odlabs.wiquery.ui.accordion
Class AccordionActive

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

public class AccordionActive
extends Object
implements IComplexOption

$Id: AccordionActive.java

Bean for the active option into the Accordion component

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

Constructor Summary
AccordionActive(Boolean booleanParam)
          Constructor
AccordionActive(Integer intParam)
          Constructor
AccordionActive(LiteralOption selector)
          Constructor
AccordionActive(String jQueryParam)
          Constructor
 
Method Summary
 int getIntParam()
           
 CharSequence getJavascriptOption()
          Method retrieving the javascript representation of this complex option
 String getJQueryParam()
           
 LiteralOption getSelector()
           
 LiteralOption getSelectorOrElementParam()
          Deprecated. will be removed in 1.4
 boolean isBooleanParam()
           
 void setBooleanParam(boolean booleanParam)
          Set's the boolean parameter
 void setIntParam(int intParam)
          Set's the int parameter
 void setJQueryParam(String queryParam)
          Set's the jQuery parameter
 void setSelector(LiteralOption selector)
          Set's the selector
 void setSelectorOrElementParam(LiteralOption selectorOrElementParam)
          Deprecated. will be removed in 1.4
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccordionActive

public AccordionActive(Boolean booleanParam)
Constructor

Parameters:
booleanParam - Boolean parameter

AccordionActive

public AccordionActive(Integer intParam)
Constructor

Parameters:
intParam - Integer parameter

AccordionActive

public AccordionActive(LiteralOption selector)
Constructor

Parameters:
selector - Selector parameter

AccordionActive

public AccordionActive(String jQueryParam)
Constructor

Parameters:
jQueryParam - jQuery parameter
Method Detail

isBooleanParam

public boolean isBooleanParam()
Returns:
the booleanParam

getIntParam

public int getIntParam()
Returns:
the intParam

getSelectorOrElementParam

@Deprecated
public LiteralOption getSelectorOrElementParam()
Deprecated. will be removed in 1.4

Returns:
the selectorOrElementParam

getSelector

public LiteralOption getSelector()
Returns:
the Selector

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

getJQueryParam

public String getJQueryParam()
Returns:
the jQueryParam

setBooleanParam

public void setBooleanParam(boolean booleanParam)
Set's the boolean parameter

Parameters:
booleanParam - the booleanParam to set

setIntParam

public void setIntParam(int intParam)
Set's the int parameter

Parameters:
intParam - the intParam to set

setJQueryParam

public void setJQueryParam(String queryParam)
Set's the jQuery parameter

Parameters:
queryParam - the jQueryParam to set

setSelectorOrElementParam

@Deprecated
public void setSelectorOrElementParam(LiteralOption selectorOrElementParam)
Deprecated. will be removed in 1.4

Set's the selector or element parameter

Parameters:
selectorOrElementParam - the selectorOrElementParam to set

setSelector

public void setSelector(LiteralOption selector)
Set's the selector

Parameters:
selector - the selector to set


Copyright © 2012. All Rights Reserved.