org.apache.myfaces.tobago.taglib.component
Class InputTag

java.lang.Object
  extended by javax.faces.webapp.UIComponentTag
      extended by org.apache.myfaces.tobago.taglib.component.TobagoTag
          extended by org.apache.myfaces.tobago.taglib.component.BeanTag
              extended by org.apache.myfaces.tobago.taglib.component.InputTag
All Implemented Interfaces:
JspTag, Tag, BeanTagDeclaration, InputTagDeclaration, TobagoTagDeclaration, HasOnchange, HasTabIndex, HasValidator, HasValue, HasValueChangeListener, IsFocus
Direct Known Subclasses:
DateTag, FileTag, HiddenTag, SelectBooleanCheckboxTag, SelectManyTag, SelectOneTag, TextInputTag, TimeTag

public abstract class InputTag
extends BeanTag
implements InputTagDeclaration


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
InputTag()
           
 
Method Summary
 java.lang.String getAccessKey()
           
 java.lang.String getFocus()
           
 java.lang.String getLabelWithAccessKey()
           
 java.lang.String getOnchange()
           
 java.lang.String getTabIndex()
           
 java.lang.String getTip()
           
 java.lang.String getValidator()
           
 java.lang.String getValueChangeListener()
           
 void release()
           
 void setAccessKey(java.lang.String accessKey)
           
 void setFocus(java.lang.String focus)
          Flag indicating this component should recieve the focus.
 void setLabelWithAccessKey(java.lang.String labelWithAccessKey)
           
 void setOnchange(java.lang.String onchange)
          Clientside script function to add to this component's onchange handler.
protected  void setProperties(UIComponent component)
           
 void setTabIndex(java.lang.String tabIndex)
          Controls the navigation of the focus through the input controls on a page with the Tab-Key.
 void setTip(java.lang.String tip)
           
 void setValidator(java.lang.String validator)
          A method binding EL expression, accepting FacesContext, UIComponent, and Object parameters, and returning void, that validates the component's local value.
 void setValueChangeListener(java.lang.String valueChangeListener)
          MethodBinding representing a value change listener method that will be notified when a new value has been set for this input component.
 
Methods inherited from class org.apache.myfaces.tobago.taglib.component.BeanTag
getConverter, getRequired, getValue, setConverter, setRequired, setValue
 
Methods inherited from class org.apache.myfaces.tobago.taglib.component.TobagoTag
doEndTag, doStartTag, getDisabled, getHeight, getHidden, getInline, getLabel, getReadonly, getRendererType, getTitle, getWidth, setDisabled, setHeight, setHidden, setInline, setLabel, setReadonly, setTitle, setWidth
 
Methods inherited from class javax.faces.webapp.UIComponentTag
encodeBegin, encodeChildren, encodeEnd, findComponent, getComponentInstance, getComponentType, 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
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
doEndTag, doStartTag, getParent, setPageContext, setParent
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasValue
setValue
 

Constructor Detail

InputTag

public InputTag()
Method Detail

release

public void release()
Specified by:
release in interface Tag
Overrides:
release in class BeanTag

setProperties

protected void setProperties(UIComponent component)
Overrides:
setProperties in class BeanTag

getOnchange

public java.lang.String getOnchange()

setOnchange

public void setOnchange(java.lang.String onchange)
Description copied from interface: HasOnchange
Clientside script function to add to this component's onchange handler.

Specified by:
setOnchange in interface HasOnchange

getFocus

public java.lang.String getFocus()

setFocus

public void setFocus(java.lang.String focus)
Description copied from interface: IsFocus
Flag indicating this component should recieve the focus.

Specified by:
setFocus in interface IsFocus

getAccessKey

public java.lang.String getAccessKey()

setAccessKey

public void setAccessKey(java.lang.String accessKey)

getLabelWithAccessKey

public java.lang.String getLabelWithAccessKey()

setLabelWithAccessKey

public void setLabelWithAccessKey(java.lang.String labelWithAccessKey)

getTip

public java.lang.String getTip()

setTip

public void setTip(java.lang.String tip)

getValidator

public java.lang.String getValidator()

setValidator

public void setValidator(java.lang.String validator)
Description copied from interface: HasValidator
A method binding EL expression, accepting FacesContext, UIComponent, and Object parameters, and returning void, that validates the component's local value.

Specified by:
setValidator in interface HasValidator

getValueChangeListener

public java.lang.String getValueChangeListener()

setValueChangeListener

public void setValueChangeListener(java.lang.String valueChangeListener)
Description copied from interface: HasValueChangeListener
MethodBinding representing a value change listener method that will be notified when a new value has been set for this input component. The expression must evaluate to a public method that takes a ValueChangeEvent parameter, with a return type of void.

Specified by:
setValueChangeListener in interface HasValueChangeListener

getTabIndex

public java.lang.String getTabIndex()

setTabIndex

public void setTabIndex(java.lang.String tabIndex)
Description copied from interface: HasTabIndex
Controls the navigation of the focus through the input controls on a page with the Tab-Key. The navigation starts from the element with the lowest tabIndex value to the element with the highest value. Elements that have identical tabIndex values should be navigated in the order they appear in the character stream Elements that are disabled or with a negative tabIndex do not participate in the tabbing order.

Specified by:
setTabIndex in interface HasTabIndex


Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.