Chapter 16. Package com.itmill.toolkit.terminal.web

Table of Contents

Package Specification
Class AjaxApplicationManager
Synopsis
getPaintableId(Paintable)
repaintRequested(Paintable.RepaintRequestEvent)
windowAttached(Application.WindowAttachEvent)
windowDetached(Application.WindowDetachEvent)
Class AjaxApplicationManager.URIHandlerErrorImpl
Synopsis
getThrowable()
getURIHandler()
Class AjaxHttpUploadStream
Synopsis
AjaxHttpUploadStream(String, InputStream, String, String)
getContentName()
getContentType()
getStream()
getStreamName()
Class AjaxPaintTarget
Synopsis
AjaxPaintTarget(AjaxVariableMap, AjaxApplicationManager, OutputStream)
addAttribute(String, boolean)
addAttribute(String, int)
addAttribute(String, long)
addAttribute(String, Resource)
addAttribute(String, String)
addCharacterData(String)
addSection(String, String)
addText(String)
addUIDL(String)
addUploadStreamVariable(VariableOwner, String)
addVariable(VariableOwner, String, boolean)
addVariable(VariableOwner, String, int)
addVariable(VariableOwner, String, String)
addVariable(VariableOwner, String, String[])
addXMLSection(String, String, String)
close()
endTag(String)
escapeXML(String)
escapeXML(StringBuffer)
getNumberOfPaints()
getUIDL()
setTrackPaints(boolean)
startTag(Paintable, String)
startTag(String)
Class AjaxVariableMap
Synopsis
handleVariables(HttpServletRequest, Terminal.ErrorListener)
registerVariable(String, Class, Object, VariableOwner)
unregisterVariable(String, VariableOwner)
Class AjaxVariableMap.TerminalErrorImpl
Synopsis
getThrowable()
Class AjaxVariableMap.VariableOwnerErrorImpl
Synopsis
getVariableOwner()
Class ApplicationServlet
Synopsis
VERSION
VERSION_BUILD
VERSION_MAJOR
VERSION_MINOR
getResourceLocation(String, ThemeResource)
getThemeSource()
init(javax.servlet.ServletConfig)
isDebugMode(Map)
repaintRequested(Paintable.RepaintRequestEvent)
windowAttached(Application.WindowAttachEvent)
windowDetached(Application.WindowDetachEvent)
Class ApplicationServlet.ParameterHandlerErrorImpl
Synopsis
getParameterHandler()
getThrowable()
Class ApplicationServlet.URIHandlerErrorImpl
Synopsis
getThrowable()
getURIHandler()
Class CollectionThemeSource
Synopsis
add(ThemeSource)
getModificationTime()
getName()
getResource(String)
getThemeByName(String)
getThemes()
getXSLStreams(Theme, WebBrowser)
Class DebugWindow
Synopsis
Class DirectoryThemeSource
Synopsis
DirectoryThemeSource(File, ApplicationServlet)
getModificationTime()
getName()
getResource(String)
getThemeByName(String)
getThemes()
getXSLStreams(Theme, WebBrowser)
Class HttpUploadStream
Synopsis
HttpUploadStream(String, InputStream, String, String)
getContentName()
getContentType()
getStream()
getStreamName()
Class HttpVariableMap
Synopsis
handleVariables(HttpServletRequest, Terminal.ErrorListener)
registerVariable(String, Class, Object, VariableOwner)
unregisterVariable(String, VariableOwner)
Class HttpVariableMap.TerminalErrorImpl
Synopsis
getThrowable()
Class HttpVariableMap.VariableOwnerErrorImpl
Synopsis
getVariableOwner()
Class JarThemeSource
Synopsis
JarThemeSource(File, ApplicationServlet, String)
getModificationTime()
getName()
getResource(String)
getThemeByName(String)
getThemes()
getXSLStreams(Theme, WebBrowser)
Class Log
Synopsis
Class MultipartRequest
Synopsis
MultipartRequest(PrintWriter, String, int, InputStream, int)
MultipartRequest(PrintWriter, String, int, InputStream, String)
MultipartRequest(PrintWriter, String, int, InputStream, String, int)
MultipartRequest(String, int, InputStream, String)
MultipartRequest(String, int, InputStream, String, int)
CONTENT_TYPE
CONTENTS
FILENAME
MAX_READ_BYTES
READ_LINE_BLOCK
SIZE
getContentType(String)
getEncoding()
getFile(String)
getFileContents(String)
getFileParameter(String, int)
getFileParameterNames()
getFileSize(String)
getFileSystemName(String)
getHtmlTable()
getParameterNames()
getURLParameter(String)
getURLParameters(String)
setEncoding(String)
Class ServletMultipartRequest
Synopsis
ServletMultipartRequest(HttpServletRequest, int)
ServletMultipartRequest(HttpServletRequest, String)
ServletMultipartRequest(HttpServletRequest, String, int)
Class ServletThemeSource
Synopsis
ServletThemeSource(ServletContext, ApplicationServlet, String)
getModificationTime()
getName()
getResource(String)
getThemeByName(String)
getThemes()
getXSLStreams(Theme, WebBrowser)
Class Theme
Synopsis
Theme(File)
Theme(InputStream)
DESCRIPTIONFILE
characters(char[], int, int)
endElement(String, String, String)
getAuthor()
getDescription()
getFileNames()
getFileNames(WebBrowser, String)
getName()
getParent()
getPreferredMode(WebBrowser, ThemeSource)
startElement(String, String, String, Attributes)
supportsMode(String, WebBrowser, ThemeSource)
toString()
Class Theme.AgentRequirement
Synopsis
isMet(WebBrowser)
toString()
Class Theme.AndRequirement
Synopsis
addRequirement(Theme.Requirement)
isMet(WebBrowser)
removeRequirement(Theme.Requirement)
Class Theme.Author
Synopsis
getEmail()
getName()
toString()
Class Theme.File
Synopsis
Theme.File(String)
getName()
supports(WebBrowser)
toString()
Class Theme.Fileset
Synopsis
Theme.Fileset(String)
getFileNames()
getFileNames(WebBrowser, String)
supports(WebBrowser)
toString()
Class Theme.JavaScriptRequirement
Synopsis
isMet(WebBrowser)
toString()
Class Theme.MarkupLanguageRequirement
Synopsis
isMet(WebBrowser)
toString()
Class Theme.NotRequirement
Synopsis
Theme.NotRequirement(Theme.Requirement)
isMet(WebBrowser)
toString()
Class Theme.OrRequirement
Synopsis
addRequirement(Theme.Requirement)
isMet(WebBrowser)
removeRequirement(Theme.Requirement)
Interface Theme.Requirement
Synopsis
isMet(WebBrowser)
Interface Theme.RequirementCollection
Synopsis
addRequirement(Theme.Requirement)
removeRequirement(Theme.Requirement)
Class ThemeFunctionLibrary
Synopsis
application()
browser()
getCssLinksForHead()
getFirstDayOfWeek()
getFormAction()
getJavaScriptLinksForHead()
getLocaleCountryId()
getLocaleLanguageId()
getMonth(int)
getShortMonth(int)
getShortWeekday(int)
getWindowTargetName()
getWindowTargetName(Application, Window)
getWindowTargetName(String)
probeClient()
resource(String)
resource(String, String)
session()
theme()
window()
windowScript()
Interface ThemeSource
Synopsis
getModificationTime()
getName()
getResource(String)
getThemeByName(String)
getThemes()
getXSLStreams(Theme, WebBrowser)
Exception ThemeSource.ThemeException
Synopsis
ThemeSource.ThemeException(String)
ThemeSource.ThemeException(String, Throwable)
Class ThemeSource.XSLStream
Synopsis
getId()
getStream()
Class UIDLTransformer
Synopsis
UIDLTransformer(UIDLTransformerType, ThemeSource, ApplicationServlet)
getPaintTarget(HttpVariableMap)
getTransformerType()
transform(OutputStream)
Exception UIDLTransformerException
Synopsis
UIDLTransformerException()
UIDLTransformerException(String, Throwable, String)
getHTMLDescription()
getTransformException()
Class UIDLTransformerFactory
Synopsis
UIDLTransformerFactory(ThemeSource, ApplicationServlet, int, long)
getTransformer(UIDLTransformerType)
releaseTransformer(UIDLTransformer)
Class UIDLTransformerType
Synopsis
UIDLTransformerType(WebBrowser, Theme)
equals(Object)
getTheme()
getWebBrowser()
hashCode()
toString()
Class WebApplicationContext
Synopsis
addTransactionListener(ApplicationContext.TransactionListener)
getApplicationContext(HttpSession)
getApplications()
getBaseDirectory()
getHttpSession()
getWindowFormAction(Window)
removeTransactionListener(ApplicationContext.TransactionListener)
setWindowFormAction(Window, String)
Class WebBrowser
Synopsis
WebBrowser()
equals(Object)
getBrowserApplication()
getContentType()
getDefaultLocale()
getDefaultTheme()
getJavaScriptVersion()
getLocales()
getMarkupVersion()
getScreenHeight()
getScreenWidth()
hashCode()
isClientSideChecked()
isFrameSupport()
isJavaEnabled()
parseHTMLVersion(String)
parseJavaScriptVersion(String)
performClientCheck()
performClientCheck(boolean)
setBrowserApplication(String)
setClientSideChecked(boolean)
setContentType(String)
setFrameSupport(boolean)
setJavaEnabled(boolean)
setJavaScriptVersion(WebBrowser.JavaScriptVersion)
setMarkupVersion(WebBrowser.MarkupVersion)
setScreenHeight(int)
setScreenWidth(int)
supports(String)
supports(WebBrowser.JavaScriptVersion)
supports(WebBrowser.MarkupVersion)
toString()
Class WebBrowser.JavaScriptVersion
equals(Object)
supports(WebBrowser.JavaScriptVersion)
toString()
Class WebBrowser.MarkupVersion
equals(Object)
supports(WebBrowser.MarkupVersion)
toString()
Class WebBrowserProbe
Synopsis
getTerminalType(HttpSession)
handleProbeRequest(HttpServletRequest, Map)
probe(String)
probe(WebBrowser, HttpServletRequest, Map)
setTerminalType(HttpSession, WebBrowser)
Class WebPaintTarget
Synopsis
WebPaintTarget(HttpVariableMap, UIDLTransformerType, ApplicationServlet, Theme)
addAttribute(String, boolean)
addAttribute(String, int)
addAttribute(String, long)
addAttribute(String, Resource)
addAttribute(String, String)
addCharacterData(String)
addSection(String, String)
addText(String)
addUIDL(String)
addUploadStreamVariable(VariableOwner, String)
addVariable(VariableOwner, String, boolean)
addVariable(VariableOwner, String, int)
addVariable(VariableOwner, String, String)
addVariable(VariableOwner, String, String[])
addXMLSection(String, String, String)
close()
endTag(String)
escapeXML(String)
escapeXML(StringBuffer)
getUIDL()
startTag(Paintable, String)
startTag(String)
Class XSLReader
Synopsis
characters(char[], int, int)
endDocument()
endElement(String, String, String)
endPrefixMapping(String)
getContentHandler()
getDTDHandler()
getEntityResolver()
getErrorHandler()
getFeature(String)
getProperty(String)
ignorableWhitespace(char[], int, int)
parse(InputSource)
parse(String)
processingInstruction(String, String)
setContentHandler(ContentHandler)
setDocumentLocator(Locator)
setDTDHandler(DTDHandler)
setEntityResolver(EntityResolver)
setErrorHandler(ErrorHandler)
setFeature(String, boolean)
setProperty(String, Object)
skippedEntity(String)
startDocument()
startElement(String, String, String, Attributes)
startPrefixMapping(String, String)
Class XSLReader.AttributeMapper
getIndex(String)
getIndex(String, String)
getLength()
getLocalName(int)
getQName(int)
getType(int)
getType(String)
getType(String, String)
getURI(int)
getValue(int)
getValue(String)
getValue(String, String)
Class XSLReader.SAXStreamErrorHandler
Class XSLReader.XSLStreamLocator

This package implement web terminal for both AJAX-capable and more limited web browsers.

Package Specification

<!-- Put @see and @since tags down here. -->