NextApp Echo
App Container 1.1.4

nextapp.echoservlet.ui
Class ButtonRenderer

java.lang.Object
  extended bynextapp.echoservlet.ui.ButtonRenderer
All Implemented Interfaces:
java.io.Serializable

public class ButtonRenderer
extends java.lang.Object
implements java.io.Serializable

A utility class for rendering Button, RadioButton, CheckBox, and CButton components.

See Also:
Serialized Form

Field Summary
static Service SERVICE_BUTTON_SCRIPT
           
 
Method Summary
static Element getElement(RenderingContext rc, AbstractButtonUI buttonUI)
          Returns an Element containing an HTML representation of the provided button.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVICE_BUTTON_SCRIPT

public static final Service SERVICE_BUTTON_SCRIPT
Method Detail

getElement

public static Element getElement(RenderingContext rc,
                                 AbstractButtonUI buttonUI)
Returns an Element containing an HTML representation of the provided button.

Parameters:
rc - The RenderingContext that is rendering the button.
buttonUI - The peer of the button to be rendered.
Returns:
A hierarchy of HTML elements that visually represent the button.

NextApp Echo
App Container 1.1.4