public static class QCPLCBit.Type12 extends QCPLCBit
QCPLCBit.Type0, QCPLCBit.Type12, QCPLCBit.Type4, QCPLCBit.Type8
Modifier and Type | Method and Description |
---|---|
int |
getAllTextEndAt()
Returns where in the text that this block of hyperlinks stops applying to.
(返回此超链接块在文本中停止应用的位置。)
|
java.lang.String |
getHyperlink(int number)
Returns the URL of the hyperlink at the given index.
(返回给定索引处超链接的 URL。)
|
int |
getNumberOfHyperlinks()
Returns the number of hyperlinks, which should either be zero, or the number of PLC bits
(返回超链接的数量,它应该是零,或者 PLC 的位数)
|
int |
getTextStartAt(int number)
Returns where in the text (in characters) the hyperlink at the given index starts applying to.
(返回文本中给定索引处的超链接开始应用的位置(以字符为单位)。)
|
createQCPLCBit, getNumberOfPLCs, getPlcValA, getPlcValB, getPreData, getTypeOfPLCS
getBitType, getData, getDataOffset, getLength, getOptA, getOptB, getOptC, getThingType, setData, setDataOffset, setOptA, setOptB, setOptC
public int getNumberOfHyperlinks()
public java.lang.String getHyperlink(int number)
number
- The hyperlink number, zero based
(number - 超链接编号,从零开始)
public int getTextStartAt(int number)
number
- The hyperlink number, zero based
(number - 超链接编号,从零开始)
public int getAllTextEndAt()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.