org.apache.rave.provider.w3c.service.impl
Class W3CWidget

java.lang.Object
  extended by org.apache.rave.portal.model.impl.WidgetImpl
      extended by org.apache.rave.provider.w3c.service.impl.W3CWidget
All Implemented Interfaces:
Widget

public class W3CWidget
extends WidgetImpl

Extended version of Widget with some additional W3C metadata. Enables height/width setting in W3C widget rendering without affecting core Rave data model classes.


Constructor Summary
W3CWidget()
           
W3CWidget(String id)
           
 
Method Summary
 int getHeight()
           
 int getWidth()
           
 void setHeight(int height)
           
 void setWidth(int width)
           
 
Methods inherited from class org.apache.rave.portal.model.impl.WidgetImpl
equals, getAuthor, getAuthorEmail, getCategories, getComments, getDescription, getDisableRenderingMessage, getId, getOwnerId, getRatings, getScreenshotUrl, getTags, getThumbnailUrl, getTitle, getTitleUrl, getType, getUrl, getWidgetStatus, hashCode, isDisableRendering, isFeatured, setAuthor, setAuthorEmail, setCategories, setComments, setDescription, setDisableRendering, setDisableRenderingMessage, setFeatured, setId, setOwnerId, setRatings, setScreenshotUrl, setTags, setThumbnailUrl, setTitle, setTitleUrl, setType, setUrl, setWidgetStatus
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

W3CWidget

public W3CWidget()

W3CWidget

public W3CWidget(String id)
Method Detail

getWidth

public int getWidth()
Returns:
the width

setWidth

public void setWidth(int width)
Parameters:
width - the width to set

getHeight

public int getHeight()
Returns:
the height

setHeight

public void setHeight(int height)
Parameters:
height - the height to set


Copyright © 2011-2013 The Apache Software Foundation. All Rights Reserved.