org.odlabs.wiquery.ui.resizable
Class ResizableContainment

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

public class ResizableContainment
extends Object
implements IComplexOption

$Id: ResizableContainment.java

Bean for the containment option for the Resizable behavior

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

Nested Class Summary
static class ResizableContainment.ElementEnum
           
 
Constructor Summary
ResizableContainment(LiteralOption selector)
          Constructor
ResizableContainment(ResizableContainment.ElementEnum elementEnumParam)
          Constructor
ResizableContainment(String objectParam)
          Constructor
 
Method Summary
 ResizableContainment.ElementEnum getElementEnumParamParam()
           
 String getElementOrSelectorParam()
           
 CharSequence getJavascriptOption()
          Method retrieving the javascript representation of this complex option
 LiteralOption getSelector()
           
 void setElementEnumParam(ResizableContainment.ElementEnum elementEnumParam)
          Set's the literal parameter
 void setElementOrSelectorParam(String objectParam)
          Set's the object (Element or Selector) parameter
 void setSelector(LiteralOption selector)
          Set's the Selector
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResizableContainment

public ResizableContainment(ResizableContainment.ElementEnum elementEnumParam)
Constructor

Parameters:
elementEnumParam - elementEnum parameter

ResizableContainment

public ResizableContainment(String objectParam)
Constructor

Parameters:
objectParam - object parameter (Element or Selector)

ResizableContainment

public ResizableContainment(LiteralOption selector)
Constructor

Parameters:
selector - Selector
Method Detail

getElementEnumParamParam

public ResizableContainment.ElementEnum getElementEnumParamParam()
Returns:
the elementEnumParam

getElementOrSelectorParam

public String getElementOrSelectorParam()
Returns:
the objectParam

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

setElementEnumParam

public void setElementEnumParam(ResizableContainment.ElementEnum elementEnumParam)
Set's the literal parameter

Parameters:
literalParam - the literal to set

setElementOrSelectorParam

public void setElementOrSelectorParam(String objectParam)
Set's the object (Element or Selector) parameter

Parameters:
objectParam - the literal to set

setSelector

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

Parameters:
selector - Selector


Copyright © 2012. All Rights Reserved.