com.sptci.echo2
Class Header

java.lang.Object
  extended by nextapp.echo2.app.Component
      extended by nextapp.echo2.app.Row
          extended by com.sptci.echo2.Header
All Implemented Interfaces:
Serializable, RenderIdSupport

public class Header
extends Row

A standard view component that displays the SPT logo and a configurable title label. You should specifiy the text for the label by setting the styleName for based on LABEL_STYLE in your stylesheet instance. Following the usual practice, localised string properties must be configured for both label and tooltip for LABEL_STYLE.

Copyright 2007 Sans Pareil Technologies, Inc.

Version:
$Id: Header.java 3271 2007-05-15 02:07:06Z rakesh $
Author:
Rakesh Vidyadharan 2007-04-25
See Also:
Logo, Serialized Form

Field Summary
static String LABEL_STYLE
          The name of the style that is assigned to the label displayed in the header.
 
Fields inherited from class nextapp.echo2.app.Row
PROPERTY_ALIGNMENT, PROPERTY_BORDER, PROPERTY_CELL_SPACING, PROPERTY_INSETS
 
Fields inherited from class nextapp.echo2.app.Component
CHILDREN_CHANGED_PROPERTY, ENABLED_CHANGED_PROPERTY, FOCUS_TRAVERSAL_INDEX_CHANGED_PROPERTY, FOCUS_TRAVERSAL_PARTICIPANT_CHANGED_PROPERTY, LAYOUT_DIRECTION_CHANGED_PROPERTY, LOCALE_CHANGED_PROPERTY, PROPERTY_BACKGROUND, PROPERTY_FONT, PROPERTY_FOREGROUND, PROPERTY_LAYOUT_DATA, STYLE_CHANGED_PROPERTY, STYLE_NAME_CHANGED_PROPERTY, VISIBLE_CHANGED_PROPERTY
 
Constructor Summary
Header()
          Create a new instance of the component.
 
Method Summary
 
Methods inherited from class nextapp.echo2.app.Row
getAlignment, getBorder, getCellSpacing, getInsets, setAlignment, setBorder, setCellSpacing, setInsets
 
Methods inherited from class nextapp.echo2.app.Component
add, add, addPropertyChangeListener, dispose, firePropertyChange, getApplicationInstance, getBackground, getComponent, getComponent, getComponentCount, getComponents, getEventListenerList, getFocusTraversalIndex, getFont, getForeground, getId, getIndexedProperty, getLayoutData, getLayoutDirection, getLocale, getParent, getProperty, getRenderId, getRenderIndexedProperty, getRenderIndexedProperty, getRenderLayoutDirection, getRenderLocale, getRenderProperty, getRenderProperty, getStyle, getStyleName, getVisibleComponent, getVisibleComponentCount, getVisibleComponents, hasEventListenerList, indexOf, init, isAncestorOf, isEnabled, isFocusTraversalParticipant, isRegistered, isRenderEnabled, isRenderVisible, isValidChild, isValidParent, isVisible, processInput, remove, remove, removeAll, removePropertyChangeListener, setBackground, setEnabled, setFocusTraversalIndex, setFocusTraversalParticipant, setFont, setForeground, setId, setIndexedProperty, setLayoutData, setLayoutDirection, setLocale, setProperty, setRenderId, setStyle, setStyleName, setVisible, validate, verifyInput, visibleIndexOf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LABEL_STYLE

public static final String LABEL_STYLE
The name of the style that is assigned to the label displayed in the header.

Constructor Detail

Header

public Header()
Create a new instance of the component.

See Also:
Logo, Utilities.createLabel( String, String, String )