-
- All Implemented Interfaces:
-
java.io.Serializable
public class Block extends StyledElement
Represents a single timed-text element.
-
-
Field Summary
Fields Modifier and Type Field Description protected Integer
beginTime
protected Integer
endTime
protected long
beginTimeLong
protected long
endTimeLong
protected String
region
-
Method Summary
Modifier and Type Method Description void
setBeginTime(int beginTime)
Deprecated. void
setEndTime(int endTime)
Deprecated. long
getBeginTimeLong()
The starting time of the element in milliseconds. long
getEndTimeLong()
The ending time of the element in milliseconds. String
getRegion()
The region name for this timed-text element. void
setRegion(String region)
The region name for this timed-text element. -
Methods inherited from class com.brightcove.player.model.StyledElement
getBackgroundColor, getColor, getFontFamily, getFontSize, getFontStyle, getFontWeight, getStyleName, getTextAlign, getTextDecoration, setBackgroundColor, setColor, setFontFamily, setFontSize, setFontStyle, setFontWeight, setStyleName, setTextAlign, setTextDecoration
-
Methods inherited from class com.brightcove.player.model.Element
getID, setID
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
setBeginTime
@Deprecated() void setBeginTime(int beginTime)
Deprecated. Instead use {setBeginTime}
-
setEndTime
@Deprecated() void setEndTime(int endTime)
Deprecated. Instead use {setEndTime}
-
getBeginTimeLong
long getBeginTimeLong()
The starting time of the element in milliseconds.
-
getEndTimeLong
long getEndTimeLong()
The ending time of the element in milliseconds.
-
-
-
-