public class BrightcoveClosedCaption extends Block
StyledElement.FontStyle, StyledElement.FontWeight, StyledElement.TextAlign, StyledElement.TextDecoration, StyledElement.UnitbackgroundColor, color, fontFamily, fontSize, fontStyle, fontWeight, styleName, textAlign, textDecoration| Constructor and Description |
|---|
BrightcoveClosedCaption() |
BrightcoveClosedCaption(int beginTime,
int endTime,
java.util.List<java.util.List<Span>> textLines)
Initializes a Caption with the given begin time, end time, and text lines.
|
BrightcoveClosedCaption(int beginTime,
int endTime,
java.lang.String caption) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCaption() |
java.util.List<java.util.List<Span>> |
getLines()
The
List of caption text lines. |
java.util.ArrayList<java.lang.Integer> |
getTimeRange() |
void |
setLines(java.util.List<java.util.List<Span>> lines)
The
List of caption text lines. |
getBeginTime, getEndTime, getRegion, setBeginTime, setEndTime, setRegiongetBackgroundColor, getColor, getFontFamily, getFontSize, getFontStyle, getFontWeight, getStyleName, getTextAlign, getTextDecoration, setBackgroundColor, setColor, setFontFamily, setFontSize, setFontStyle, setFontWeight, setStyleName, setTextAlign, setTextDecorationpublic BrightcoveClosedCaption()
public BrightcoveClosedCaption(int beginTime,
int endTime,
java.util.List<java.util.List<Span>> textLines)
beginTime - the begin time of the caption block, in millisecondsendTime - the end time of the caption block, in millisecondstextLines - the List of text lines in this caption blockpublic BrightcoveClosedCaption(int beginTime,
int endTime,
java.lang.String caption)
public java.util.List<java.util.List<Span>> getLines()
List of caption text lines.public void setLines(java.util.List<java.util.List<Span>> lines)
List of caption text lines.lines - the line listpublic java.lang.String getCaption()
public java.util.ArrayList<java.lang.Integer> getTimeRange()