public interface CDCaption extends RichTextRecord<WSIG>
| Modifier and Type | Interface and Description |
|---|---|
static class |
CDCaption.Position |
| Modifier and Type | Method and Description |
|---|---|
ColorValue |
getFontColor() |
FontStyle |
getFontID() |
WSIG |
getHeader() |
int |
getLength() |
CDCaption.Position |
getPosition() |
default CDCaption |
setCaptionText(String captionText)
Stores the text for this caption in the variable data portion of this record.
|
CDCaption |
setLength(int length) |
CDCaption |
setPosition(CDCaption.Position position) |
getCDRecordLength, getData, getDataWithoutHeader, getPayloadLength, getRecordHeaderLength, getType, getTypeValuegetVariableData, resize, resizeVariableDataWSIG getHeader()
getHeader in interface RichTextRecord<WSIG>int getLength()
CDCaption setLength(int length)
CDCaption.Position getPosition()
CDCaption setPosition(CDCaption.Position position)
FontStyle getFontID()
ColorValue getFontColor()
default CDCaption setCaptionText(String captionText)
The buffer will be resized, if necessary, to hold the text value.
This method also sets the wLength property to the appropriate value.
captionText - the caption text to setCopyright © 2019–2021 HCL. All rights reserved.