corelib.services.web.components
Class CurrentYear

java.lang.Object
  extended by corelib.services.web.components.WebComponent
      extended by corelib.services.web.components.VisualComponent
          extended by corelib.services.web.components.CurrentYear

public class CurrentYear
extends VisualComponent

Simply display the actual year (with four digits) in a <span> HTML tag. Note that id, title, cssStyle and cssClass property can be used for customize the displayed year.

Since:
0.4.0
Author:
Dominique Liard

Field Summary
 
Fields inherited from class corelib.services.web.components.VisualComponent
cssClass, cssStyle, toolTipText, visible
 
Fields inherited from class corelib.services.web.components.WebComponent
dataBindings, webPage, xmlNode
 
Constructor Summary
CurrentYear()
           
 
Method Summary
 void component_renderBegin(WebPageEvent webPageEvent)
          Render the <span> HTML tag for display the current date.
 
Methods inherited from class corelib.services.web.components.VisualComponent
component_postRender, component_preRender, component_renderChildren, component_renderEnd, component_renderJavascriptLocalisation, encodeAttributeValue, getCssClass, getCssStyle, getOnClickListener, getSharedAttributesHtmlEncoding, getToolTipText, isVisible, renderElement, setCssClass, setCssStyle, setOnClickListener, setToolTipText, setVisible
 
Methods inherited from class corelib.services.web.components.WebComponent
addBindingExpression, addChildComponent, component_init, component_load, component_preRepeaterDuplications, getChildComponents, getDataBinding, getElementsByTagName, getId, getWebPage, getXmlNode, setId, setWebPage, setXmlNode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CurrentYear

public CurrentYear()
Method Detail

component_renderBegin

public void component_renderBegin(WebPageEvent webPageEvent)
Render the <span> HTML tag for display the current date.

Overrides:
component_renderBegin in class VisualComponent
Parameters:
webPageEvent - Object that contains informations associated to this event handling.


CAUTION: Ellipse is proposed to you in BETA version to allow evaluation of this framework. Infini Software is released from any responsibility for the use of Ellipse Framework.

Copyright 2012 Infini Software - All Rights Reserved.