SilverStream
Application Server 3.5

com.sssw.shr.page
Class AgpPresentation

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

public class AgpPresentation
extends AgpControlBase

Represents a SilverStream Java form or view. When a form or view is included in a page, it is called a presentation.

Note: Including forms or views in pages is not supported in SilverStream 3.0 due to limitations of the Sun Java 1.2 browser plug-in. We hope to re-enable this support in SilverStream in the future. See the release notes for updated information.

Properties:
Alignment, Height, Height Unit, Include HTML Edit Control Classes, Java 1.2 Plug-In, Name, Programmable, Specify Size, Width, Width Unit
See Also:
Serialized Form

Fields inherited from class com.sssw.shr.page.AgpTag
UNIT_PERCENT, UNIT_PIXEL
 
Constructor Summary
AgpPresentation()
           
 
Method Summary
 String getAlign()
          Returns the Alignment property of the presentation.
 String getDatabase()
          Returns the database associated with the presentation.
 String getHeight()
          Returns the height of the presentation.
 String getOrderBy()
          Returns the Order By property of the presentation.
 String getParams()
          Returns the parameters of the presentation.
 String getQuery()
          Returns the Query property of the presentation.
 String getSRC()
          Returns the source property of the presentation.
 boolean getUsePlugIn()
          Determines whether the control uses the Sun 1.2 Java Plug-In.
 String getWidth()
          Returns the width of the presentation.
 void setAlign(String align)
          Sets the Alignment property of the presentation.
 void setHeight(String height)
          Sets the height of the presentation.
 void setOrderBy(String orderby)
          Sets the Order By property of the presentation.
 void setParams(String params)
          Specifies the parameters of the presentation
 void setQuery(String query)
          Sets the Query property of the presentation.
 void setWidth(String width)
          Sets the width of the presentation.
 
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 java.io.Externalizable
readExternal, writeExternal
 

Constructor Detail

AgpPresentation

public AgpPresentation()
Method Detail

getSRC

public String getSRC()
Returns the source property of the presentation.
Example:
 

getDatabase

public String getDatabase()
Returns the database associated with the presentation.

getParams

public String getParams()
Returns the parameters of the presentation.
See Also:
AgpPresentation.setParams(String params)

setParams

public void setParams(String params)
Specifies the parameters of the presentation
Parameters:
params - a string representing the parameters.
Example:
 
See Also:
AgpPresentation.getParams()

getWidth

public String getWidth()
Returns the width of the presentation.
Example:
 
See Also:
Width property, Width Unit property, AgpPresentation.setWidth(String width)

setWidth

public void setWidth(String width)
Sets the width of the presentation.
Parameters:
width - a string representing the width.
Example:
 
See Also:
Width property, Width Unit property, AgpPresentation.getWidth()

getHeight

public String getHeight()
Returns the height of the presentation.
See Also:
Height property, Height Unit property, AgpPresentation.setHeight(String height)

setHeight

public void setHeight(String height)
Sets the height of the presentation.
Parameters:
height - a string representing the height.
Example:
 
See Also:
Height property, Height Unit property, AgpPresentation.getHeight()

getAlign

public String getAlign()
Returns the Alignment property of the presentation. The possible values are: The default alignment is Center.
See Also:
Alignment property, AgpPresentation.setAlign(String align)

setAlign

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

getQuery

public String getQuery()
Returns the Query property of the presentation.
Example:
 
See Also:
AgpPresentation.setQuery(String query)

setQuery

public void setQuery(String query)
Sets the Query property of the presentation.
Parameters:
query - a string representing the query.
Example:
 
See Also:
AgpPresentation.getQuery()

getOrderBy

public String getOrderBy()
Returns the Order By property of the presentation. The Order By property specifies how to sort the data.
See Also:
AgpPresentation.setOrderBy(String orderby)

setOrderBy

public void setOrderBy(String orderby)
Sets the Order By property of the presentation. The Order By property specifies how to sort the data.
Parameters:
orderby - a string specifying the Order By.
Example:
 
See Also:
AgpPresentation.getOrderBy()

getUsePlugIn

public boolean getUsePlugIn()
Determines whether the control uses the Sun 1.2 Java Plug-In.

SilverStream
Application Server 3.5