WebStatusWinclass
Status line window
class
WebStatusWin
:
WebWindow
Superclass Tree (in declaration order)
WebStatusWin
WebWindow
WebResourceResFile
WebResource
` object`
Subclass Tree
(none)
Global Objects
Summary of Properties
Inherited from WebWindow
:
name
pathName
sthCtx
Inherited from WebResourceResFile
:
binaryExts
browserExtToMime
Inherited from WebResource
:
group
priority
Summary of Methods
clearWindow
flushWin
getState
resize
setStatus
setStatusText
write
Inherited from WebWindow
:
processName
sendWinEvent
sendWinEventTo
winFromPath
Inherited from WebResourceResFile
:
isTextFile
matchRequest
processRequest
Inherited from WebResource
:
sendAck
sendXML
Properties
deltas_
do we have any deltas since the last flush?
src
OVERRIDDEN
no description available
txt_
the current status message
vpath
OVERRIDDEN
my request path and actual resource path
Methods
clearWindow ( )
OVERRIDDEN
clear the window
flushWin ( )
OVERRIDDEN
flush pending text to the window
getState (client)
OVERRIDDEN
get the current state to send to the browser
resize ( )
Refigure the window size. The status line is generally set up to be automatically sized to its contents, which requires that we tell the UI when it’s time to recalculate the layout to reflect the current contents after a change.
setStatus (room, score?, turns?)
Set the room and score/turns portions of the status line. This sets the left side of the status line to the ‘room’ text (which can contain HTML markups), and the right side to the the score/turns values, if present. If the turn counter is omitted but the score value is present, we’ll just show the score value; otherwise we’ll format these as “score/turns”. If no score value is present, we’ll leave the right side blank.
setStatusText (msg)
Set the text of the status line. This sets the entire status window to the given HTML text, without any additional formatting.
write (msg)
OVERRIDDEN
add text to the status line
TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3