SilverStream
Application Server 3.5

com.sssw.shr.page
Class AgpButton

java.lang.Object
 |
 +--com.sssw.shr.page.AgpTag
       |
       +--com.sssw.shr.page.AgpControlBase
             |
             +--com.sssw.shr.page.AgpButton
All Implemented Interfaces:
AgiJavaScriptEnhanced, AgiPageControl, AgiPageSubmitProcessor, Cloneable, Externalizable, Serializable
Direct Known Subclasses:
AgpButtonCheck, AgpButtonRadio, AgpButtonText, AgpImage, AgpImageHotSpot

public class AgpButton
extends AgpControlBase
implements AgiPageSubmitProcessor

Base class for various button classes that fire page action events.

See Also:
Serialized Form

Fields inherited from class com.sssw.shr.page.AgpTag
UNIT_PERCENT, UNIT_PIXEL
 
Constructor Summary
AgpButton()
           
 
Method Summary
 void addPageActionListener(AgiPageActionListener listener)
          Listen for action events from this control.
 void removePageActionListener(AgiPageActionListener listener)
          Stop listening for action events from this control.
 
Methods inherited from class com.sssw.shr.page.AgpControlBase
getName
 
Methods inherited from class com.sssw.shr.page.AgpTag
getBoolProperty, getEnableHTMLGeneration, getIntArrayProperty, getIntProperty, getIntPropertyUnit, getProperty, getStringArrayProperty, invalidateHTML, removeProperty, setEnableHTMLGeneration, setIntProperty, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods implemented from interface com.sssw.shr.page.AgiJavaScriptEnhanced
generateFunction, generateRepaintScript, generateScriptInitializers, getFunctionNameForMethod, getFunctionNames, getMethodNames, getScriptObjectName, isHTMLRepaintPending, isJavaScriptRepaintPending
 
Methods implemented from interface com.sssw.shr.page.AgiPageControl
generateHTML, getPrefix, notifyPageLoaded, notifyPageRequestBegin, notifyPageRequestEnd, notifyPostValue, notifyPostValues
 
Methods implemented from interface com.sssw.shr.page.AgiPageSubmitProcessor
notifySubmit
 
Methods implemented from interface java.io.Externalizable
readExternal, writeExternal
 

Constructor Detail

AgpButton

public AgpButton()
Method Detail

addPageActionListener

public void addPageActionListener(AgiPageActionListener listener)
Listen for action events from this control.
Parameters:
listener - an instance of AgiPageActionListener.
See Also:
AgpButton.removePageActionListener(AgiPageActionListener listener)

removePageActionListener

public void removePageActionListener(AgiPageActionListener listener)
Stop listening for action events from this control.
Parameters:
listener - an instance of AgiPageActionListener.
See Also:
AgpButton.addPageActionListener(AgiPageActionListener listener)

SilverStream
Application Server 3.5