org.sakaiproject.tool.assessment.jsf.tag
Class NavigationMapTag

java.lang.Object
  extended by javax.faces.webapp.UIComponentTag
      extended by org.sakaiproject.tool.assessment.jsf.tag.NavigationMapTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class NavigationMapTag
extends javax.faces.webapp.UIComponentTag

Description:
This class is the tag handler for a set of navigation links.

attributes: map: a Map with key=link text value=url or javascript separator: a string used to separate links style: if present, the CSS style to be applied as a span tag

Copyright: Copyright (c) 2004

Organization: Sakai Project

Version:
$Id: NavigationMapTag.java 59684 2009-04-03 23:33:27Z arwhyte@umich.edu $
Author:
Ed Smiley

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
NavigationMapTag()
           
 
Method Summary
 String getComponentType()
           
 String getLinkStyle()
          CSS style to apply to the link
 String getMap()
          Map of key=link text value=url or javascript entries
 String getRendererType()
           
 String getSeparator()
          separator for links
 String getStyle()
          display CSS style
 void setLinkStyle(String linkStyle)
          CSS style to apply to the link
 void setMap(String map)
          Map of key=link text value=url or javascript entries
protected  void setProperties(javax.faces.component.UIComponent component)
           
 void setSeparator(String separator)
          separator for links
 void setStyle(String style)
          CSS style to display
 
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, release, 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

NavigationMapTag

public NavigationMapTag()
Method Detail

getComponentType

public String getComponentType()
Specified by:
getComponentType in class javax.faces.webapp.UIComponentTag

getRendererType

public String getRendererType()
Specified by:
getRendererType in class javax.faces.webapp.UIComponentTag

setProperties

protected void setProperties(javax.faces.component.UIComponent component)
Overrides:
setProperties in class javax.faces.webapp.UIComponentTag

getMap

public String getMap()
Map of key=link text value=url or javascript entries

Returns:
the Map

setMap

public void setMap(String map)
Map of key=link text value=url or javascript entries

Parameters:
map - the Map

getSeparator

public String getSeparator()
separator for links

Returns:
a separator

setSeparator

public void setSeparator(String separator)
separator for links

Parameters:
separator - separator for links

getStyle

public String getStyle()
display CSS style

Returns:
CSS style

setStyle

public void setStyle(String style)
CSS style to display

Parameters:
style - CSS style

getLinkStyle

public String getLinkStyle()
CSS style to apply to the link

Returns:
CSS style

setLinkStyle

public void setLinkStyle(String linkStyle)
CSS style to apply to the link

Parameters:
linkStyle - CSS style


Copyright © 2005-2012 Sakai Project. All Rights Reserved.