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
Deprecated.
|
protected long |
beginTimeLong |
protected java.lang.Integer |
endTime
Deprecated.
|
protected long |
endTimeLong |
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()
Deprecated.
|
long |
getBeginTimeLong()
The starting time of the element in milliseconds.
|
int |
getEndTime()
Deprecated.
|
long |
getEndTimeLong()
The ending time of the element in milliseconds.
|
java.lang.String |
getRegion()
The region name for this timed-text element.
|
void |
setBeginTime(int beginTime)
Deprecated.
|
void |
setBeginTime(long beginTime)
The starting time of the element in milliseconds.
|
void |
setEndTime(int endTime)
Deprecated.
|
void |
setEndTime(long 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, setTextDecoration
@Deprecated protected java.lang.Integer beginTime
@Deprecated protected java.lang.Integer endTime
protected long beginTimeLong
protected long endTimeLong
protected java.lang.String region
@Deprecated public int getBeginTime()
getBeginTimeLong()
}public long getBeginTimeLong()
@Deprecated public void setBeginTime(int beginTime)
setBeginTime(long)
}public void setBeginTime(long beginTime)
beginTime
- the starting time in milliseconds@Deprecated public int getEndTime()
getBeginTimeLong()
}public long getEndTimeLong()
@Deprecated public void setEndTime(int endTime)
setEndTime(long)
}public void setEndTime(long endTime)
endTime
- the ending time in millisecondspublic java.lang.String getRegion()
Region
public void setRegion(java.lang.String region)
region
- the name of the Region