Serialized Form
space
int space
- The space between the news items.
newsHeight
int newsHeight
- The height of the news text.
header
java.lang.String header
- The header of the news ticker is displayed at the top and does not scroll.
headerFont
java.awt.Font headerFont
- The header font.
headerColor
java.awt.Color headerColor
- The color of the header font.
headerAlignment
int headerAlignment
- The alignment of the header.
wrapSpace
int wrapSpace
- Space between the last item and where the first one starts again.
focusColor
java.awt.Color focusColor
- The color used for a focused news body.
target
java.lang.String target
- The name of the target window where the news item is opened.
newsXMLTag
java.lang.String newsXMLTag
- The news item tag.
newsXMLTagEnd
java.lang.String newsXMLTagEnd
newsHeaderXMLTag
java.lang.String newsHeaderXMLTag
- The news header tag.
newsHeaderXMLTagEnd
java.lang.String newsHeaderXMLTagEnd
newsBodyXMLTag
java.lang.String newsBodyXMLTag
- The news body tag.
newsBodyXMLTagEnd
java.lang.String newsBodyXMLTagEnd
newsLinkXMLTag
java.lang.String newsLinkXMLTag
- The news link tag.
newsLinkXMLTagEnd
java.lang.String newsLinkXMLTagEnd
border
int border
- The border style.
borderColor
java.awt.Color borderColor
newsHeaderFont
java.awt.Font newsHeaderFont
- The font of the news header. The news header is a header for each
news item, such as a date or title.
newsHeaderColor
java.awt.Color newsHeaderColor
- The color of the news header.
newsFont
java.awt.Font newsFont
- The font used for the news item.
newsColor
java.awt.Color newsColor
- The color used for the news body text.
scrollSpeed
int scrollSpeed
- The scrolling speed.
newsUrl
java.lang.String newsUrl
- The URL where the news are read from.
dataInterval
int dataInterval
- This is the data interval time in seconds.
newsItems
java.util.Vector newsItems
- Contains any array of three strings for each news item.
The first entry is the header, second is body, and third is link.
vertOffset
int vertOffset
- The offset position where the news should be painted. Used
when scrolling the news items vertically.
horzOffset
int horzOffset
- The offset position where the news should be painted. Used
when scrolling the news items horizontally.
offscreen
java.awt.Image offscreen
- Paint everything on an offscreen image to avoid flicker.
mousePosition
java.awt.Point mousePosition
- Keeps track of the mouse position.
lastXPos
int lastXPos
- Used to check where the user last clicked so we can calculate
how much to scroll the offset. Used when scrolling horizontally.
lastYPos
int lastYPos
- Used to check where the user last clicked so we can calculate
how much to scroll the offset. Used when scrolling vertically.
mousePressX
int mousePressX
- The x position of the point where the mouse was pressed.
Used to not follow links after the ticker was scrolled by user.
mousePressY
int mousePressY
- The y position of the point where the mouse was pressed.
Used to not follow links after the ticker was scrolled by user.
mousePressed
boolean mousePressed
- True when the mouse is pressed down.
firstStarted
boolean firstStarted
- When the applet first starts, the scrolling does not start at once.
linkPositions
java.util.Vector linkPositions
- We keep the position of news bodies so we can select it with the mouse.
focusIndex
int focusIndex
- The index of the focused news item.
pauseOnMouseOver
boolean pauseOnMouseOver
- True if the scrolling should pause when the mouse is over the news.
pauseBetweenNews
int pauseBetweenNews
- Number of seconds to wait before scrolling to next news.
waitNextNews
boolean waitNextNews
- This is set to true when the scrolling should pause before showing
the next news.
paused
boolean paused
- True if the ticker scrolling is paused.
headerHeight
int headerHeight
- The header height.
backgroundImage
java.awt.Image backgroundImage
- The background image.
CURSOR_DEFAULT
java.lang.Object CURSOR_DEFAULT
- The different cursors used (default and one for a link).
CURSOR_LINK
java.lang.Object CURSOR_LINK
currentCursor
java.lang.Object currentCursor
dataIntervalThread
java.lang.Thread dataIntervalThread
- This is the data interval loader thread.
scrollThread
java.lang.Thread scrollThread
- This is the scroll thread.
parserError
java.lang.String parserError
- The parsing error message is anything fails.