org.oslc.asset.internal
Class Preview

java.lang.Object
  extended by org.oslc.asset.internal.ResourceRef
      extended by org.oslc.asset.internal.Preview

public class Preview
extends ResourceRef

Preview (small and large) for a compact rendering.

Since:
7.5

Field Summary
 
Fields inherited from class org.oslc.asset.internal.ResourceRef
resource, value
 
Constructor Summary
Preview()
           
 
Method Summary
 int getPreferredHeight()
           
 int getPreferredWidth()
           
 void setPreferredHeight(int preferred_height)
           
 void setPreferredWidth(int preferred_width)
           
 
Methods inherited from class org.oslc.asset.internal.ResourceRef
getResource, getValue, setResource, setValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Preview

public Preview()
Method Detail

getPreferredWidth

public int getPreferredWidth()
Returns:
Returns the preferred_width.
Since:
7.5

setPreferredWidth

public void setPreferredWidth(int preferred_width)
Parameters:
preferred_width - The preferred_width to set.
Since:
7.5

getPreferredHeight

public int getPreferredHeight()
Returns:
Returns the preferred_heigh.
Since:
7.5

setPreferredHeight

public void setPreferredHeight(int preferred_height)
Parameters:
preferred_heigh - The preferred_height to set.
Since:
7.5