@Beta public class ImageComponent extends Component
Modifier and Type | Class and Description |
---|---|
static class |
ImageComponent.Builder |
Constructor and Description |
---|
ImageComponent(ImageComponent.Builder builder) |
Modifier and Type | Method and Description |
---|---|
ImageComponent |
copy() |
boolean |
equals(Object o) |
String |
getCaption()
Returns value of property "caption" in config.
|
PropertyTree |
getConfig() |
ContentId |
getImage() |
ComponentType |
getType() |
boolean |
hasCaption() |
boolean |
hasConfig() |
int |
hashCode() |
static ImageComponent.Builder |
newImageComponent() |
static ImageComponent.Builder |
newImageComponent(ImageComponent source) |
public ImageComponent(ImageComponent.Builder builder)
public static ImageComponent.Builder newImageComponent()
public static ImageComponent.Builder newImageComponent(ImageComponent source)
public ImageComponent copy()
public ComponentType getType()
public ContentId getImage()
public boolean hasConfig()
public PropertyTree getConfig()
public boolean hasCaption()
public String getCaption()