public class Block extends StyledElement
StyledElement.FontStyle, StyledElement.FontWeight, StyledElement.TextAlign, StyledElement.TextDecoration, StyledElement.Unit| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Integer |
beginTime |
protected java.lang.Integer |
endTime |
protected java.lang.String |
region |
backgroundColor, color, fontFamily, fontSize, fontStyle, fontWeight, styleName, textAlign, textDecoration| Constructor and Description |
|---|
Block() |
| Modifier and Type | Method and Description |
|---|---|
int |
getBeginTime()
The starting time of the element in milliseconds.
|
int |
getEndTime()
The ending time of the element in milliseconds.
|
java.lang.String |
getRegion()
The region name for this timed-text element.
|
void |
setBeginTime(int beginTime)
The starting time of the element in milliseconds.
|
void |
setEndTime(int endTime)
The ending time of the element in milliseconds.
|
void |
setRegion(java.lang.String region)
The region name for this timed-text element.
|
getBackgroundColor, getColor, getFontFamily, getFontSize, getFontStyle, getFontWeight, getStyleName, getTextAlign, getTextDecoration, setBackgroundColor, setColor, setFontFamily, setFontSize, setFontStyle, setFontWeight, setStyleName, setTextAlign, setTextDecorationprotected java.lang.Integer beginTime
protected java.lang.Integer endTime
protected java.lang.String region
public int getBeginTime()
public void setBeginTime(int beginTime)
beginTime - the starting time in millisecondspublic int getEndTime()
public void setEndTime(int endTime)
endTime - the ending time in millisecondspublic java.lang.String getRegion()
Regionpublic void setRegion(java.lang.String region)
region - the name of the Region