|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Presentation
Presentation objects represent the presentation descriptors and jsps. A presentation object can render objects. It is also accessible from the jsps. Style information from webmanager such as images, colors, buttons & fonts is also made available.
| Method Summary | |
|---|---|
Button |
getButton(java.lang.String label,
Page page,
boolean useTargetPageStyle)
Get button for a label (specified in the descriptor) & page. |
Button |
getButtonByProperty(int property)
Get the button of a particular style property. |
Color |
getColor(java.lang.String label,
Page page,
boolean useTargetPageStyle)
Get color for a label (specified in the descriptor) & page. |
Color |
getColorByProperty(int property)
Get the color of a particular style property. |
java.lang.String |
getDisplayName()
Return the human readable of this presentation object. |
Font |
getFont(java.lang.String label,
Page page,
boolean useTargetPageStyle)
Get font for a label (specified in the descriptor) & page. |
Font |
getFontByProperty(int property)
Get the font of a particular style property. |
PresentationFrame[] |
getFrames()
Return array of PresentationRegion. |
java.lang.String |
getIdentifier()
Return identifier of this presentation object. |
Image |
getImage(java.lang.String label,
Page page,
boolean useTargetPageStyle)
Get image for a label (specified in the descriptor) & page. |
Image |
getImageByProperty(int property)
Get the image of a particular style property. |
java.lang.String |
getLocation()
Return location of the object. |
java.lang.String |
getPropertyDataType(java.lang.String propertyName)
Return type of the property. |
java.lang.String |
getPropertyValue(java.lang.String propertyName)
Get value for a property. |
java.lang.String[] |
getScopes()
Return array of scope names of this presentation object. |
java.lang.String |
getTemplateName()
Return template name. |
Website |
getWebsite()
Return website of this presentation object. |
boolean |
isAvailable()
Returns a boolean indicating if the presentation is available. |
void |
render(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.Object baseObject,
boolean ignoreServerSideIncludeLocation)
Presentation objects can render themselves to the response output stream. |
| Methods inherited from interface nl.gx.webmanager.wrapper.Wrapper |
|---|
getId, getUUID, setId, setUUID |
| Method Detail |
|---|
void render(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.Object baseObject,
boolean ignoreServerSideIncludeLocation)
throws java.io.IOException,
javax.servlet.ServletException
req - res - baseObject - ignoreServerSideIncludeLocation -
java.io.IOException
javax.servlet.ServletExceptionjava.lang.String getLocation()
java.lang.String[] getScopes()
boolean isAvailable()
false.
true or false.java.lang.String getTemplateName()
Color getColor(java.lang.String label,
Page page,
boolean useTargetPageStyle)
label - color labelpage - page where the color is displayed
Color getColorByProperty(int property)
property - id of the property object
Font getFont(java.lang.String label,
Page page,
boolean useTargetPageStyle)
label - font labelpage - page where the font is displayed
Font getFontByProperty(int property)
property - id of the property object
Image getImage(java.lang.String label,
Page page,
boolean useTargetPageStyle)
label - image labelpage - page where the image is displayed
Image getImageByProperty(int property)
property - id of the property object
Button getButton(java.lang.String label,
Page page,
boolean useTargetPageStyle)
label - button labelpage - page where the image is displayed
Button getButtonByProperty(int property)
property - id of the property object
java.lang.String getPropertyDataType(java.lang.String propertyName)
propertyName - name of the property
java.lang.String getPropertyValue(java.lang.String propertyName)
propertyName - name of the property
java.lang.String getIdentifier()
java.lang.String getDisplayName()
PresentationFrame[] getFrames()
Website getWebsite()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||