public class NotificationCard extends Card
container, listener
Constructor and Description |
---|
NotificationCard() |
Modifier and Type | Method and Description |
---|---|
protected void |
addHTMLToContainer(org.concordion.api.Element container)
Add HTML to the storyboard to display the card details
|
protected void |
captureData()
Write the data to a file
|
void |
setCardImage(CardImage cardImage)
S Override the default card image of XML_REQUEST
|
void |
setData(java.lang.String data)
Set the data that you wish the card to display
|
void |
setFileExtension(java.lang.String fileExtension)
Set the file type for the data.
|
void |
setFilePath(java.lang.String file)
Use an existing file rather than have this class attempt to create one.
|
cleanupData, getDescription, getFileName, setDescription, shouldAppend
getItemIndex, getResource, getResult, getTarget, getTitle, setContainer, setResult, setStoryboardListener, setTitle
public void setCardImage(CardImage cardImage)
cardImage
- A card image - can be StockCardImage or a custom imagepublic void setData(java.lang.String data)
data
- Dataprotected void captureData()
Card
captureData
in class Card
protected void addHTMLToContainer(org.concordion.api.Element container)
Card
addHTMLToContainer
in class Card
container
- The card elementpublic void setFileExtension(java.lang.String fileExtension)
fileExtension
- File extensionpublic void setFilePath(java.lang.String file)
file
- Relative path to the file