echopoint.ui
Class ConfirmButtonUI

java.lang.Object
  extended by nextapp.echoservlet.AbstractComponentPeer
      extended by nextapp.echoservlet.ui.AbstractButtonUI
          extended by nextapp.echoservlet.ui.ButtonUI
              extended by echopoint.ui.PushButtonUI
                  extended by echopoint.ui.ConfirmButtonUI
All Implemented Interfaces:
java.beans.PropertyChangeListener, java.io.Serializable, java.util.EventListener, ImageUpdateListener, Alignment, ClientActionProducer, ComponentPeer

public class ConfirmButtonUI
extends PushButtonUI

ConfirmButtonUI is the backend peer class for the component ConfirmButton.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class nextapp.echoservlet.ui.AbstractButtonUI
ICON_IMAGE, imageManager, renderedActive, ROLLOVER_ICON_IMAGE
 
Fields inherited from interface nextapp.echoservlet.ComponentPeer
IGNORE_PROPERTY_CHANGE
 
Constructor Summary
ConfirmButtonUI()
           
 
Method Summary
 java.lang.String getScriptAction(RenderingContext rc)
          Generates a javascript script that confirms the users choice.
static void register()
          Registers the Component with its peer bindings
 
Methods inherited from class echopoint.ui.PushButtonUI
clientAction, getInitializeScript, propertyChange, registered, render, unregistered
 
Methods inherited from class nextapp.echoservlet.ui.AbstractButtonUI
getHorizontalAlignment, getVerticalAlignment, imageUpdate
 
Methods inherited from class nextapp.echoservlet.AbstractComponentPeer
addAncillaryService, generateId, getCalculatedBackground, getCalculatedFont, getCalculatedForeground, getChildCount, getChildren, getComponent, getFocusedElementId, getId, getInstancePeer, getParentComponentPeer, getPeer, redraw, registerAncillaryServices, removeAncillaryService, setComponent, setId, setInstancePeer, unregisterAncillaryServices
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfirmButtonUI

public ConfirmButtonUI()
Method Detail

getScriptAction

public java.lang.String getScriptAction(RenderingContext rc)
Generates a javascript script that confirms the users choice.

Overrides:
getScriptAction in class PushButtonUI
Parameters:
rc - The RenderingContext being used for the rendering of the button.
Returns:
A JavaScript method call that will be executed when the button is clicked. The returned string must be valid HTML.
See Also:
ButtonUI.getScriptAction(nextapp.echoservlet.RenderingContext)

register

public static void register()
Registers the Component with its peer bindings