Clear Up
SharpKit Reference

Header Class

Simple header class which is used for on Ext.panel.Panel and Ext.window.Window.

Namespace: Ext.panel

Derived Types

Constructors

Methods

Name Description
addTool(object) Add a tool to the header
setIcon(JsString) Sets the image path that provides the icon image for this header. This method will replace any existing icon if one has already been set.
setIconCls(JsString) Sets the CSS class that provides the icon image for this header. This method will replace any existing icon class if one has already been set.
setTitle(JsString) Sets the title of the header.

Fields

Name Description
icon Path to image for an icon in the header. Used for displaying an icon to the left of a title.
iconCls CSS class for an icon in the header. Used for displaying an icon to the left of a title.
title The title text to display.
titleAlign May be "left", "right" or "center". The alignment of the title text within the available space between the icon and the tools. Defaults to: "left"

Properties

Name Description
isHeader true in this class to identify an objact as an instantiated Header, or subclass thereof. Defaults to: true
© Copyright 2005-2011 SharpKit. All rights reserved.