public class MediaBanner extends BasicContentItem
MediaBanner output model.
MediaBanner model represents a media object and destination link
ActionMediaObjectAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
MediaBanner(ContentItem pContentItem)
Creates the
MediaBanner output model, using the
type and data present in the input ContentItem. |
| Modifier and Type | Method and Description |
|---|---|
Action |
getLink()
Returns the
Action object used to construct the link
which fires when the media is clicked. |
MediaObject |
getMedia()
Returns the media object to be displayed.
|
void |
setLink(Action link)
Sets the
Action object used to construct the link
which fires when the media is clicked. |
void |
setMedia(MediaObject media)
Sets the media object to be displayed.
|
getBooleanProperty, getIntProperty, getLongProperty, getType, getTypedProperty, setTypeclear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, valuesequals, hashCode, toStringpublic MediaBanner(ContentItem pContentItem)
MediaBanner output model, using the
type and data present in the input ContentItem.public Action getLink()
Action object used to construct the link
which fires when the media is clicked. May be null.public void setLink(Action link)
Action object used to construct the link
which fires when the media is clicked.public MediaObject getMedia()
public void setMedia(MediaObject media)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.