org.rhq.enterprise.gui.legacy.taglib.display
Class LocalizedColumnTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by org.rhq.enterprise.gui.legacy.taglib.display.ColumnTag
              extended by org.rhq.enterprise.gui.legacy.taglib.display.LocalizedColumnTag
All Implemented Interfaces:
Serializable, Cloneable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class LocalizedColumnTag
extends ColumnTag
implements Cloneable

Extends column for internationalization of title. title - the title displayed for this column. if this is omitted then the property name is used for the title of the column (optional)

See Also:
Serialized Form

Field Summary
 boolean defaultSort
           
 String headerColspan
           
 boolean isLocalizedTitle
           
 String sortAttr
           
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
LocalizedColumnTag()
           
 
Method Summary
 int doStartTag()
          When the tag starts, we just initialize some of our variables, and do a little bit of error checking to make sure that the user is not trying to give us parameters that we don't expect.
 String getHeaderColspan()
           
 boolean getIsLocalizedTitle()
           
 String getSortAttr()
           
 String getTitle()
          internationalize the title
 boolean isDefaultSort()
           
 void release()
          called by the jsp framework to release state.
 void setDefaultSort(boolean b)
           
 void setHeaderColspan(String s)
           
 void setIsLocalizedTitle(boolean b)
           
 void setSortAttr(String sortAttribute)
           
 String toString()
          Returns a String representation of this Tag that is suitable for printing while debugging.
 
Methods inherited from class org.rhq.enterprise.gui.legacy.taglib.display.ColumnTag
doEndTag, getAlign, getAutolink, getBackground, getBgcolor, getCellAttributes, getDecorator, getDecoratorClass, getDoubleQuote, getGroup, getHeaderStyleClass, getHeight, getHref, getIsShowHideColumn, getMaxLength, getMaxWords, getNowrap, getNulls, getOnClick, getParamId, getParamName, getParamProperty, getParamScope, getProperty, getShowHideProperty, getSort, getStyleClass, getValign, getValue, getWidth, replacePropertyIfPossible, setAlign, setAutolink, setBackground, setBgcolor, setDecorator, setDecoratorClass, setDoubleQuote, setGroup, setHeaderStyleClass, setHeight, setHref, setIsShowHideColumn, setMaxLength, setMaxWords, setNowrap, setNulls, setOnClick, setParamId, setParamName, setParamProperty, setParamScope, setProperty, setShowHideProperty, setSort, setStyleClass, setTitle, setValign, setValue, setWidth
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Field Detail

defaultSort

public boolean defaultSort

isLocalizedTitle

public boolean isLocalizedTitle

sortAttr

public String sortAttr

headerColspan

public String headerColspan
Constructor Detail

LocalizedColumnTag

public LocalizedColumnTag()
Method Detail

isDefaultSort

public boolean isDefaultSort()

setDefaultSort

public void setDefaultSort(boolean b)

getIsLocalizedTitle

public boolean getIsLocalizedTitle()

setIsLocalizedTitle

public void setIsLocalizedTitle(boolean b)

getSortAttr

public String getSortAttr()

setSortAttr

public void setSortAttr(String sortAttribute)

getHeaderColspan

public String getHeaderColspan()

setHeaderColspan

public void setHeaderColspan(String s)

getTitle

public String getTitle()
internationalize the title

Overrides:
getTitle in class ColumnTag

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
When the tag starts, we just initialize some of our variables, and do a little bit of error checking to make sure that the user is not trying to give us parameters that we don't expect.

Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class ColumnTag
Throws:
javax.servlet.jsp.JspException

release

public void release()
Description copied from class: ColumnTag
called by the jsp framework to release state.

Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class ColumnTag

toString

public String toString()
Description copied from class: ColumnTag
Returns a String representation of this Tag that is suitable for printing while debugging. Where the placeholders in brackets are replaced with their appropriate instance variables

Overrides:
toString in class ColumnTag


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.