SilverStream
Application Server 3.5

com.sssw.shr.page
Class AgpImage

java.lang.Object
 |
 +--com.sssw.shr.page.AgpTag
       |
       +--com.sssw.shr.page.AgpControlBase
             |
             +--com.sssw.shr.page.AgpButton
                   |
                   +--com.sssw.shr.page.AgpImage
All Implemented Interfaces:
AgiJavaScriptEnhanced, AgiPageControl, AgiPageSubmitProcessor, Cloneable, Externalizable, Serializable

public class AgpImage
extends AgpButton

AgpImage is an optionally programmable object which represents an image in the Document Object Model.

Properties:
Alignment, Border Size, Extended Attributes, Height, Horizontal Spacing, Image Source, Link Page, Mouse Over Image, Name, Programmable, Specify Size, Target Frame, Vertical Spacing, Width
Events:
pageActionPerformed
See Also:
Serialized Form

Fields inherited from class com.sssw.shr.page.AgpTag
UNIT_PERCENT, UNIT_PIXEL
 
Constructor Summary
AgpImage()
           
 
Method Summary
 String getAlign()
          Returns the Alignment property of the image.
 int getBorder()
          Returns the border property.
 String getMouseOverSrc()
          Returns the mouse over source.
 String getSrc()
          Returns the Image Source property of the image.
 void setAlign(String align)
          Sets the Alignment property of the image.
 void setBorder(int border)
          Specifies the border property.
 void setMouseOverSrc(String mouseoversrc)
          Specifies the mouse over source.
 void setSrc(String src)
          Sets the Image Source property of the image.
 
Methods inherited from class com.sssw.shr.page.AgpButton
addPageActionListener, removePageActionListener
 
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

AgpImage

public AgpImage()
Method Detail

getAlign

public String getAlign()
Returns the Alignment property of the image. The possible values are:
See Also:
Alignment property, AgpImage.setAlign(String align)

setAlign

public void setAlign(String align)
Sets the Alignment property of the image. The possible values are:
Parameters:
align - a string representing the alignment.
See Also:
Alignment property, AgpImage.getAlign()

getSrc

public String getSrc()
Returns the Image Source property of the image. It is the reference to an image stored in the database, an image in a file which has been copied into the database, or an URL.
See Also:
ImageSource property, AgpImage.setSrc(String src)

setSrc

public void setSrc(String src)
Sets the Image Source property of the image. It is an image stored in the database or an URL.
Parameters:
src - a string representing the source.
See Also:
ImageSource property, AgpImage.getSrc()

getBorder

public int getBorder()
Returns the border property.
See Also:
AgpImage.setBorder(int border)

setBorder

public void setBorder(int border)
Specifies the border property.
Parameters:
border - an int.
See Also:
AgpImage.getBorder()

getMouseOverSrc

public String getMouseOverSrc()
Returns the mouse over source.
See Also:
AgpImage.setMouseOverSrc(String mouseoversrc)

setMouseOverSrc

public void setMouseOverSrc(String mouseoversrc)
Specifies the mouse over source.
Parameters:
mouseoversrc - a string representing the source.
See Also:
AgpImage.getMouseOverSrc()

SilverStream
Application Server 3.5