org.zkoss.zhtml
Class Input

java.lang.Object
  extended by org.zkoss.zk.ui.AbstractComponent
      extended by org.zkoss.zhtml.impl.AbstractTag
          extended by org.zkoss.zhtml.Input
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, Component, DynamicPropertied, RawId, Scope, ComponentCtrl
Direct Known Subclasses:
Textarea

public class Input
extends AbstractTag

The input tag.

Author:
tomyeh
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.zkoss.zk.ui.AbstractComponent
AbstractComponent.Children
 
Field Summary
 
Fields inherited from class org.zkoss.zhtml.impl.AbstractTag
_tagnm
 
Fields inherited from class org.zkoss.zk.ui.AbstractComponent
_visible
 
Fields inherited from interface org.zkoss.zk.ui.Component
APPLICATION_SCOPE, COMPONENT_SCOPE, DESKTOP_SCOPE, PAGE_SCOPE, REQUEST_SCOPE, SESSION_SCOPE, SPACE_SCOPE
 
Constructor Summary
  Input()
           
protected Input(java.lang.String tagnm)
           
 
Method Summary
 java.lang.String getValue()
          Returns the value of this input.
 java.lang.Object newExtraCtrl()
          Used by AbstractComponent.getExtraCtrl() to create extra controls.
 void setValue(java.lang.String value)
          Sets the vallue of this input.
 
Methods inherited from class org.zkoss.zhtml.impl.AbstractTag
addEventListener, clone, getDynamicProperty, getSclass, getStyle, getTag, hasDynamicProperty, isChildable, redraw, setDynamicProperty, setSclass, setStyle, setVisible, shallHideId, toString
 
Methods inherited from class org.zkoss.zk.ui.AbstractComponent
addAnnotation, addAnnotation, addEventHandler, addForward, addForward, addForward, addForward, addMoved, addSharedAnnotationMap, addSharedEventHandlerMap, appendAsapAttr, appendAsapAttr, appendChild, applyProperties, beforeChildAdded, beforeChildRemoved, beforeParentChanged, containsVariable, detach, disableClientUpdate, equals, getAnnotatedProperties, getAnnotatedPropertiesBy, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAttribute, getAttribute, getAttributes, getAttributes, getChildren, getCommand, getDefinition, getDesktop, getEventHandler, getEventHandlerNames, getExtraCtrl, getFellow, getFellowIfAny, getFellows, getFirstChild, getId, getLastChild, getListenerIterator, getMold, getMoldURI, getNamespace, getNextSibling, getPage, getParent, getPreviousSibling, getRoot, getSpaceOwner, getUuid, getVariable, hasFellow, insertBefore, invalidate, isAsapRequired, isInvalidated, isListenerAvailable, isVisible, newChildren, onChildAdded, onChildRemoved, onDrawNewChild, onPageAttached, onPageDetached, onWrongValue, removeAttribute, removeAttribute, removeChild, removeEventListener, removeForward, removeForward, response, sessionDidActivate, sessionWillPassivate, setAttribute, setAttribute, setComponentDefinition, setId, setMold, setPage, setPageBefore, setParent, setVariable, smartUpdate, smartUpdate, smartUpdate, smartUpdateDeferred, smartUpdateValues, unsetVariable
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Input

public Input()

Input

protected Input(java.lang.String tagnm)
Method Detail

getValue

public java.lang.String getValue()
Returns the value of this input.


setValue

public void setValue(java.lang.String value)
              throws WrongValueException
Sets the vallue of this input.

Throws:
WrongValueException

newExtraCtrl

public java.lang.Object newExtraCtrl()
Description copied from class: AbstractComponent
Used by AbstractComponent.getExtraCtrl() to create extra controls. It is used only by component developers.

Default: return null.

To provide extra controls, it is simpler to override this method instead of AbstractComponent.getExtraCtrl(). By use of AbstractComponent.newExtraCtrl(), you don't need to care of cloning and serialization.

Overrides:
newExtraCtrl in class AbstractComponent


Copyright © 2005-2009 Potix Corporation. All Rights Reserved. SourceForge.net Logo