{
@SuppressWarnings("serial")
public YuiResizePage()
{
add(new WebMarkupContainer("simple").add(new YuiResize()));
add(new WebMarkupContainer("proxy").add(new YuiResize()
{
@Override
protected String getOpts()
{
return "{ proxy: true, status: true}";
}
}));
add(new WebMarkupContainer("animated").add(new YuiResize()
{
@Override
protected String getOpts()
{
return "{ proxy: true, status: true, animate: true, animateDuration: .75, "
+ "animateEasing: YAHOO.util.Easing.backBoth}";
}
}));
add(new WebMarkupContainer("eight").add(new YuiResize()
{
@Override
protected String getOpts()
{
return "{ handles: 'all', knobHandles: true, "
+ "height: '199px', width: '300px'," + "proxy: true, status: true,"
+ "draggable: true, animate: true, animateDuration: .75, "
+ "animateEasing: YAHOO.util.Easing.backBoth}";
}
}));
add(new WebMarkupContainer("ghost").add(new YuiResize()
{
@Override
protected String getOpts()
{
return "{ handles: 'all', knobHandles: true, "