NextApp Echo
App Container 1.0.5

Class ButtonUI

  extended bynextapp.echoservlet.ComponentPeer
      extended bynextapp.echoservlet.ui.AbstractButtonUI
          extended bynextapp.echoservlet.ui.ButtonUI
All Implemented Interfaces:
Alignment, ClientActionProducer, java.util.EventListener, nextapp.echo.event.ImageUpdateListener, java.beans.PropertyChangeListener,

public class ButtonUI
extends AbstractButtonUI
implements ClientActionProducer, java.beans.PropertyChangeListener

A peer for Button components.

See Also:
Serialized Form

Field Summary
Fields inherited from class nextapp.echoservlet.ui.AbstractButtonUI
ICON_IMAGE, imageManager, renderedActive, ROLLOVER_ICON_IMAGE
Fields inherited from class nextapp.echoservlet.ComponentPeer
Constructor Summary
Method Summary
 java.lang.String getScriptAction(RenderingContext rc)
          Returns JavaScript code that will be executed when the button is clicked.
Methods inherited from class nextapp.echoservlet.ui.AbstractButtonUI
clientAction, getHorizontalAlignment, getVerticalAlignment, imageUpdate, propertyChange, registered, render, unregistered
Methods inherited from class nextapp.echoservlet.ComponentPeer
addAncillaryService, generateId, getBackground, getChildCount, getChildren, getComponent, getFont, getForeground, getId, getInstancePeer, getParent, getPeer, redraw, removeAncillaryService
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface nextapp.echoservlet.ClientActionProducer
Methods inherited from interface java.beans.PropertyChangeListener

Constructor Detail


public ButtonUI()
Method Detail


public java.lang.String getScriptAction(RenderingContext rc)
Description copied from class: AbstractButtonUI
Returns JavaScript code that will be executed when the button is clicked. On plain Buttons, this will normally send input to the server. On ToggleButtons, the selection state will change and input may also be sent to the server if desired by the application.

Specified by:
getScriptAction in class AbstractButtonUI
rc - The RenderingContext being used for the rendering of the button.
A JavaScript method call that will be executed when the button is clicked.
See Also:

NextApp Echo
App Container 1.0.5