org.odlabs.wiquery.ui.resizable
Class ResizableAspectRatio

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

public class ResizableAspectRatio
extends Object
implements IComplexOption

$Id: ResizableAspectRatio.java

Bean for the aspectRatio option for the Resizable behavior

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

Constructor Summary
ResizableAspectRatio(Boolean booleanParam)
          Constructor
ResizableAspectRatio(Float floatParam)
          Constructor
 
Method Summary
 Boolean getBooleanParam()
           
 Float getFloatParam()
           
 CharSequence getJavascriptOption()
          Method retrieving the javascript representation of this complex option
 void setBooleanParam(Boolean booleanParam)
          Set's the boolean parameter
 void setFloatParam(Float floatParam)
          Set's the float parameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResizableAspectRatio

public ResizableAspectRatio(Boolean booleanParam)
Constructor

Parameters:
booleanParam - Boolean parameter

ResizableAspectRatio

public ResizableAspectRatio(Float floatParam)
Constructor

Parameters:
floatParam - Float parameter
Method Detail

getBooleanParam

public Boolean getBooleanParam()
Returns:
the booleanParam

getFloatParam

public Float getFloatParam()
Returns:
the floatParam

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

setBooleanParam

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

Parameters:
booleanParam - the boolean to set

setFloatParam

public void setFloatParam(Float floatParam)
Set's the float parameter

Parameters:
floatParam - the float to set


Copyright © 2012. All Rights Reserved.