NextApp Echo
App Container 1.1.4

nextapp.echoservlet.ui
Class TextComponentUI

java.lang.Object
  extended bynextapp.echoservlet.ComponentPeer
      extended bynextapp.echoservlet.ui.TextComponentUI
All Implemented Interfaces:
ClientInputProducer, java.util.EventListener, java.beans.PropertyChangeListener, java.io.Serializable
Direct Known Subclasses:
TextAreaUI, TextFieldUI

public abstract class TextComponentUI
extends ComponentPeer
implements ClientInputProducer, java.beans.PropertyChangeListener

A base peer class for components derived from TextComponent.

See Also:
Serialized Form

Field Summary
protected  boolean renderedActive
          Indicates whether the component was most recently rendered editable and enabled.
 
Constructor Summary
TextComponentUI()
           
 
Method Summary
 void clientInput(java.lang.String input)
          Called when a client sends an input string through an input field.
protected  ComponentStyle getStyle()
          Returns a ComponentStyle object suitable for this component.
 void propertyChange(java.beans.PropertyChangeEvent e)
           
 void registered()
          Called when the component is registered.
 void unregistered()
          Called when the component is unregistered.
 
Methods inherited from class nextapp.echoservlet.ComponentPeer
addAncillaryService, generateId, getBackground, getChildCount, getChildren, getComponent, getFocusedElementId, getFont, getForeground, getId, getInstancePeer, getParent, getPeer, getTabIndex, redraw, removeAncillaryService, render
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface nextapp.echoservlet.ClientInputProducer
getId
 

Field Detail

renderedActive

protected boolean renderedActive
Indicates whether the component was most recently rendered editable and enabled.

Constructor Detail

TextComponentUI

public TextComponentUI()
Method Detail

clientInput

public void clientInput(java.lang.String input)
Description copied from interface: ClientInputProducer
Called when a client sends an input string through an input field.

Specified by:
clientInput in interface ClientInputProducer
Parameters:
input - The data in the hidden input field in the controller form as last known.
See Also:
ClientInputProducer.clientInput(String)

getStyle

protected ComponentStyle getStyle()
Returns a ComponentStyle object suitable for this component. The style will include attributes for border color and border size if they are necessary.

Returns:
A ComponentStyle for the text component.

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent e)
Specified by:
propertyChange in interface java.beans.PropertyChangeListener
See Also:
PropertyChangeListener.propertyChange(PropertyChangeEvent)

registered

public void registered()
Description copied from class: ComponentPeer
Called when the component is registered. This method should be overridden if necessary.

Overrides:
registered in class ComponentPeer
See Also:
ComponentPeer.registered()

unregistered

public void unregistered()
Description copied from class: ComponentPeer
Called when the component is unregistered. This method should be overridden if necessary.

Overrides:
unregistered in class ComponentPeer
See Also:
ComponentPeer.unregistered()

NextApp Echo
App Container 1.1.4