net.sourceforge.stripes.tag
Class HtmlTagSupportBeanInfo

java.lang.Object
  extended by java.beans.SimpleBeanInfo
      extended by net.sourceforge.stripes.tag.HtmlTagSupportBeanInfo
All Implemented Interfaces:
BeanInfo

public class HtmlTagSupportBeanInfo
extends SimpleBeanInfo

Describes the properties supported by the HtmlTagSupport class which is the parent of all the HTML Form/Input tags in Stripes. Exists to provide some flexibility in the naming of methods and primarily to provide support for the "class" tag attribute in JSP containers that demand a javabean compliant getter and setter method. Since getClass() is rather special in Java and cannot (and should not) be overridden, containers may not like calling setClass(String) without there being a corresponding getClass():String method. So the PropertyDescriptor for the "class" property specifies the methods getCssClass() and setCssClass.

Author:
Tim Fennell

Field Summary
 
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
 
Constructor Summary
HtmlTagSupportBeanInfo()
           
 
Method Summary
 PropertyDescriptor[] getPropertyDescriptors()
          Generates a simple set of PropertyDescriptors for the HtmlTagSupport class.
 
Methods inherited from class java.beans.SimpleBeanInfo
getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, loadImage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlTagSupportBeanInfo

public HtmlTagSupportBeanInfo()
Method Detail

getPropertyDescriptors

public PropertyDescriptor[] getPropertyDescriptors()
Generates a simple set of PropertyDescriptors for the HtmlTagSupport class.

Specified by:
getPropertyDescriptors in interface BeanInfo
Overrides:
getPropertyDescriptors in class SimpleBeanInfo


? Copyright 2005-2006, Stripes Development Team.