AlternateDecorator (Hyperic HQ Plugin API)
Keywords: org.hyperic.hq.ui.taglib.display.AlternateDecorator class

Overview | Package | Class | Tree | Deprecated | Index | Help
| Hyperic HQ Plugin API v. 4.4.0.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.hyperic.hq.ui.taglib.display
Class AlternateDecorator

    java.lang.Object
      org.hyperic.hq.ui.taglib.display.Decorator
          org.hyperic.hq.ui.taglib.display.ColumnDecorator
              org.hyperic.hq.ui.taglib.display.BaseDecorator
                  org.hyperic.hq.ui.taglib.display.AlternateDecorator

All Implemented Interfaces:
  java.lang.Cloneable, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

    public class AlternateDecorator

extends BaseDecorator

usage

Field Summary

Fields inherited from interface javax.servlet.jsp.tagext.Tag
`EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE`

Constructor Summary
`AlternateDecorator()`

Method Summary
`java.lang.String` | `decorate(java.lang.Object columnValue)` If string column value exists, use that.
`java.lang.String` | `getSecondChoice()` Getter for property secondChoice.
`void` | `release()`
`void` | `setSecondChoice(java.lang.String secondChoice)` Setter for property secondChoice.

Methods inherited from class org.hyperic.hq.ui.taglib.display.BaseDecorator
`doEndTag, doStartTag, generateErrorComment, getName, getParent, setName, setParent`

Methods inherited from class org.hyperic.hq.ui.taglib.display.Decorator
`finish, finishRow, getList, getListIndex, getObject, getPageContext, getViewIndex, init, initRow, setPageContext`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods inherited from interface javax.servlet.jsp.tagext.Tag
`setPageContext`

Constructor Detail

### AlternateDecorator

    public AlternateDecorator()

Method Detail

### decorate

    public java.lang.String decorate(java.lang.Object columnValue)

  If string column value exists, use that. Otherwise, return 2nd choice.

  Specified by:
    `decorate` in class `BaseDecorator`
  See Also:
    `org.apache.taglibs.display.ColumnDecorator#decorate(java.lang.Object)`

### release

    public void release()

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

### getSecondChoice

    public java.lang.String getSecondChoice()

  Getter for property secondChoice.

  Returns:
    Value of property secondChoice.

### setSecondChoice

    public void setSecondChoice(java.lang.String secondChoice)

  Setter for property secondChoice.

  Parameters:
    `secondChoice` - New value of property secondChoice.

Overview | Package | Class | Tree | Deprecated | Index | Help
| Hyperic HQ Plugin API v. 4.4.0.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.