public interface CDHotspotBegin extends RichTextRecord<WSIG>
| Modifier and Type | Interface and Description |
|---|---|
static class |
CDHotspotBegin.Flag |
static class |
CDHotspotBegin.Type |
| Modifier and Type | Method and Description |
|---|---|
int |
getDataLength() |
default String |
getDisplayFileName() |
Set<CDHotspotBegin.Flag> |
getFlags() |
WSIG |
getHeader() |
CDHotspotBegin.Type |
getHotspotType() |
default String |
getSubformValue()
Retrieves the subform name or formula for a
SUBFORM-type hotspot. |
default String |
getUniqueFileName() |
CDHotspotBegin |
setDataLength(int dataLength) |
default CDHotspotBegin |
setFileNames(String uniqueFileName,
String displayFileName)
Sets the variable data portion of this structure to the provided string values.
|
default CDHotspotBegin |
setFileNamesRaw(byte[] uniqueFileName,
byte[] displayFileName,
boolean appendNulls)
Sets the variable data portion of this structure to the provided LMBCS-encoded string values.
|
CDHotspotBegin |
setFlags(Collection<CDHotspotBegin.Flag> flags) |
CDHotspotBegin |
setHotspotType(CDHotspotBegin.Type type) |
getCDRecordLength, getData, getDataWithoutHeader, getPayloadLength, getRecordHeaderLength, getType, getTypeValuegetVariableData, resize, resizeVariableDataWSIG getHeader()
getHeader in interface RichTextRecord<WSIG>CDHotspotBegin.Type getHotspotType()
CDHotspotBegin setHotspotType(CDHotspotBegin.Type type)
Set<CDHotspotBegin.Flag> getFlags()
CDHotspotBegin setFlags(Collection<CDHotspotBegin.Flag> flags)
int getDataLength()
CDHotspotBegin setDataLength(int dataLength)
default CDHotspotBegin setFileNames(String uniqueFileName, String displayFileName)
This is for use when the hotspot type is CDHotspotBegin.Type.FILE.
This method also sets the DataLength property to the appropriate value.
uniqueFileName - the internal unique name of the file attachmentdisplayFileName - the display name of the file attachmentappendNulls - whether this method should append null bytes after each namedefault CDHotspotBegin setFileNamesRaw(byte[] uniqueFileName, byte[] displayFileName, boolean appendNulls)
This is for use when the hotspot type is CDHotspotBegin.Type.FILE.
uniqueFileName - the internal unique name of the file attachmentdisplayFileName - the display name of the file attachmentappendNulls - whether this method should append null bytes after each namedefault String getUniqueFileName()
default String getDisplayFileName()
default String getSubformValue()
SUBFORM-type hotspot.IllegalStateException - if the type is not CDHotspotBegin.Type.SUBFORMCopyright © 2019–2021 HCL. All rights reserved.