public class Canvas extends ModelBase
ModelBase.ViewingDirection
Modifier and Type | Field and Description |
---|---|
protected int |
height |
protected java.util.ArrayList<Content> |
images |
protected java.util.ArrayList<Content> |
resources |
protected int |
width |
Constructor and Description |
---|
Canvas() |
Modifier and Type | Method and Description |
---|---|
void |
addImage(Content image) |
int |
getHeight() |
java.util.ArrayList<Content> |
getImagesList() |
int |
getWidth() |
void |
setHeight(int height) |
void |
setWidth(int width) |
JsonLD |
toJsonLD() |
addAttribution, addContext, addDescription, addLabel, addMetaData, addRelated, addSeeAlso, addService, getAttributionsList, getContextsList, getDescriptionsList, getId, getLabelsList, getLicense, getLogo, getMetaDataMap, getRelatedList, getSeeAlsoList, getServicesList, getThumbnail, getType, getViewingHint, getWithin, metaDataToJsonLD, setId, setLicense, setLogo, setThumbnail, setType, setViewingHint, setWithin, validateFields
protected int width
protected int height
protected final java.util.ArrayList<Content> images
protected final java.util.ArrayList<Content> resources
public void addImage(Content image)
public java.util.ArrayList<Content> getImagesList()
public int getWidth()
public void setWidth(int width)
public int getHeight()
public void setHeight(int height)
public JsonLD toJsonLD()
toJsonLD
in interface JsonLDOutput
toJsonLD
in class ModelBase
Copyright 2004-2015 Wandora Team