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
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 |
AgpImage
public AgpImage()
getAlign
public String getAlign()
- Returns the Alignment property of the image.
The possible values are:
None
Left
Center
Right
Top
Middle
Bottom
Baseline
- 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:
None
Left
Center
Right
Top
Middle
Bottom
Baseline
- 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()