com.esri.adf.web.faces.taglib
Class SeparatorTag

java.lang.Object
  extended by javax.faces.webapp.UIComponentTag
      extended by com.esri.adf.web.faces.taglib.SeparatorTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class SeparatorTag
extends javax.faces.webapp.UIComponentTag

JSP tag for the SeparatorControl.


Field Summary
 
Fields inherited from class javax.faces.webapp.UIComponentTag
pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
SeparatorTag()
          Initializes the tag.
 
Method Summary
 java.lang.String getComponentType()
          Returns the component type string.
 java.lang.String getRendererType()
          Returns the renderer type of this control.
 void release()
          Resets the attribute values to defaults.
 void setImage(java.lang.String image)
          Sets the separator image for this control.
protected  void setProperties(javax.faces.component.UIComponent component)
          Sets the attributes of the SeparatorControl from the tag attributes.
 void setStyle(java.lang.String style)
          Sets the default style for the Separator control.
 void setStyleClass(java.lang.String styleClass)
          Sets the CSS class name where the CSS style attributes are defined.
 
Methods inherited from class javax.faces.webapp.UIComponentTag
doEndTag, doStartTag, encodeBegin, encodeChildren, encodeEnd, findComponent, getComponentInstance, getCreated, getDoEndValue, getDoStartValue, getFacesContext, getFacetName, getId, getParent, getParentUIComponentTag, isSuppressed, isValueReference, setBinding, setId, setPageContext, setParent, setRendered, setupResponseWriter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SeparatorTag

public SeparatorTag()
Initializes the tag.

Method Detail

release

public void release()
Resets the attribute values to defaults.

Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class javax.faces.webapp.UIComponentTag

getComponentType

public java.lang.String getComponentType()
Returns the component type string.

Specified by:
getComponentType in class javax.faces.webapp.UIComponentTag
Returns:
String- the component-type as defined in the faces-config.xml file

getRendererType

public java.lang.String getRendererType()
Returns the renderer type of this control.

Specified by:
getRendererType in class javax.faces.webapp.UIComponentTag
Returns:
String- null since the parent Toolbar control is responsible for rendering this child control

setProperties

protected void setProperties(javax.faces.component.UIComponent component)
Sets the attributes of the SeparatorControl from the tag attributes.

Overrides:
setProperties in class javax.faces.webapp.UIComponentTag
Parameters:
component - the component to override properties

setStyle

public void setStyle(java.lang.String style)
Sets the default style for the Separator control.

Parameters:
style - the default style for the Separator control

setStyleClass

public void setStyleClass(java.lang.String styleClass)
Sets the CSS class name where the CSS style attributes are defined.

Parameters:
styleClass - the CSS class

setImage

public void setImage(java.lang.String image)
Sets the separator image for this control.

Parameters:
image - the separator image for this control