Class Index | File Index

Classes


Class Alfresco.component.Header

Extends Alfresco.component.Base
Global Header
Defined in: header.js
Field Summary
Field Attributes Field Name and Description
 
Application Item YAHOO.widget instances
 
Default search text
 
Object container for initialization options
 
Last status update time
 
User Item YAHOO.widget instances
Fields borrowed from class Alfresco.component.Base:
modules, services, widgets
Method Summary
Method Attributes Method Name and Description
 
Configure My Status UI
 
Configure search area
 
Get current search text from search box.
 
Get current status text from textarea.
 
Fired by YUI when parent element is available for scripting.
 
Set default search text when box loses focus and is empty.
 
Update image class when search box has focus.
 
onStatusUpdated(response)
Status submitted handler
 
Token replacement for header item URLs
 
setAppItems(items)
Called by header rendering code to register Application Item YAHOO.widget instances
 
Set default search text for search box.
 
Updates relative status time display.
 
setUserItems(items)
Called by header rendering code to register User Item YAHOO.widget instances
 
Show the About Share dialog
 
Will trigger a search, via a page refresh to ensure the Back button works correctly
 
Submit status handler
Methods borrowed from class Alfresco.component.Base:
attachLinkClickListeners, bind, createYUIButtons, destroy, fire, invokeAction, msg, onComponentLoaded, onComponentsLoaded, onReadyWrapper, refresh, setMessages, setOptions
Field Detail
{Array} appItems
Application Item YAHOO.widget instances

{string} defaultSearchText
Default search text

{object} options
Object container for initialization options

{Date} statusUpdateTime
Last status update time

{Array} userItems
User Item YAHOO.widget instances
Method Detail
configureMyStatus()
Configure My Status UI

configureSearch()
Configure search area

getSearchText()
Get current search text from search box.

getStatusText()
Get current status text from textarea.

onReady()
Fired by YUI when parent element is available for scripting.
Initial History Manager event registration

onSearchBlur()
Set default search text when box loses focus and is empty.

onSearchFocus()
Update image class when search box has focus.

onStatusUpdated(response)
Status submitted handler
Parameters:
response

replaceUriTokens()
Token replacement for header item URLs

setAppItems(items)
Called by header rendering code to register Application Item YAHOO.widget instances
Parameters:
items

setDefaultSearchText()
Set default search text for search box.

setStatusRelativeTime()
Updates relative status time display.

setUserItems(items)
Called by header rendering code to register User Item YAHOO.widget instances
Parameters:
items

showAboutShare()
Show the About Share dialog

submitSearch()
Will trigger a search, via a page refresh to ensure the Back button works correctly

submitStatus()
Submit status handler

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Feb 16 2012 12:24:24 GMT-0000 (GMT)