|
NetCharts Server | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--netcharts.server.util.PageCreator
|
+--netcharts.server.util.PortletPageCreator
Utility class for adding basic drill down and popup label capability to portlets.
| Field Summary | |
static java.lang.String |
DEFAULT_SERVLET_NAME
|
| Fields inherited from class netcharts.server.util.PageCreator |
ACCESSIBLE_IMAGE_PAGE, ACCESSIBLE_PAGE, ALT_VAR, DEFAULT_ALT_TEMPLATE, DEFAULT_URL, DRILLDOWN_PAGE, HEIGHT_VAR, IMAGE_PAGE, IMAGE_PARAMETER, MAP_VAR, MAPNAME_VAR, MIN_DRILLDOWN_PAGE, SRC_VAR, WIDTH_VAR |
| Method Summary | |
static java.lang.String |
getDrillDownPage(ServerGeneratedImage chart,
boolean fullPage,
javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response)
Get the HTML which allows drill down and popup labels on the given chart. |
static java.lang.String |
getDrillDownPage(ServerGeneratedImage chart,
boolean fullPage,
javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response,
java.lang.String defaultImageMapURL)
Get the HTML which allows drill down and popup labels on the given chart. |
static java.lang.String |
getDrillDownPage(ServerGeneratedImage chart,
boolean fullPage,
javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response,
java.lang.String defaultImageMapURL,
boolean accessible,
java.lang.String altTemplate,
java.lang.String chartDescription)
Get the HTML which allows drill down and popup labels on the given chart. |
static java.lang.String |
getDrillDownPage(ServerGeneratedImage chart,
boolean fullPage,
javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response,
java.lang.String defaultImageMapURL,
boolean accessible,
java.lang.String altTemplate,
java.lang.String chartDescription,
java.lang.String encoding)
Deprecated. Encoding is no longer needed, instead use getDrillDownPage(ServerGeneratedImage, boolean, PortletRequest, PortletResponse, String, boolean, String, String) |
static java.lang.String |
getDrillDownPage(ServerGeneratedImage chart,
javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response)
Get the HTML which allows drill down and popup labels on the given chart. |
static java.lang.String |
getDrillDownPage(ServerGeneratedImage chart,
javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response,
java.lang.String defaultImageMapURL)
Get the HTML which allows drill down and popup labels on the given chart. |
static java.lang.String |
getDrillDownPage(ServerGeneratedImage chart,
java.lang.String unencodedServletURL,
boolean fullPage,
javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response)
Get the HTML which allows drill down and popup labels on the given chart. |
static java.lang.String |
getDrillDownPage(ServerGeneratedImage chart,
java.lang.String unencodedServletURL,
boolean fullPage,
javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response,
java.lang.String defaultImageMapURL)
Get the HTML which allows drill down and popup labels on the given chart. |
static java.lang.String |
getDrillDownPage(ServerGeneratedImage chart,
java.lang.String unencodedServletURL,
boolean fullPage,
javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response,
java.lang.String defaultImageMapURL,
boolean accessible,
java.lang.String altTemplate,
java.lang.String chartDescription)
Get the HTML which allows drill down and popup labels on the given chart. |
static java.lang.String |
getDrillDownPage(ServerGeneratedImage chart,
java.lang.String unencodedServletURL,
boolean fullPage,
javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response,
java.lang.String defaultImageMapURL,
boolean accessible,
java.lang.String altTemplate,
java.lang.String chartDescription,
java.lang.String encoding)
Deprecated. Encoding is no longer used, instead use getDrillDownPage(ServerGeneratedImage, String, boolean, PortletRequest, PortletResponse, String, boolean, String, String) |
static java.lang.String |
getDrillDownPage(ServerGeneratedImage chart,
java.lang.String unencodedServletURL,
boolean fullPage,
javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response,
java.lang.String defaultImageMapURL,
java.lang.String encoding)
Deprecated. Encoding is no longer needed, instead use getDrillDownPage(ServerGeneratedImage, String, boolean, PortletRequest, PortletResponse, String) |
static java.lang.String |
getImagePage(ServerGeneratedImage chart,
javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response,
boolean accessible,
java.lang.String chartDescription)
Get the HTML which only shows the image of the given chart. |
static java.lang.String |
getImagePage(ServerGeneratedImage chart,
javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response,
boolean accessible,
java.lang.String chartDescription,
java.lang.String encoding)
Deprecated. Encoding is no longer needed, instead use getImagePage(ServerGeneratedImage, PortletRequest, PortletResponse, boolean, String) |
static java.lang.String |
getImagePage(ServerGeneratedImage chart,
java.lang.String unencodedServletURL,
javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response,
boolean accessible,
java.lang.String chartDescription)
Get the HTML which only shows the image of the given chart. |
static java.lang.String |
getImagePage(ServerGeneratedImage chart,
java.lang.String unencodedServletURL,
javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response,
boolean accessible,
java.lang.String chartDescription,
java.lang.String encoding)
Deprecated. Encoding is no longer needed, instead use getImagePage(ServerGeneratedImage, String, PortletRequest, PortletResponse, boolean, String) |
static java.lang.String |
getUnencodedServletName(javax.portlet.PortletRequest request)
|
static java.lang.String |
getUnencodedServletNameWithSessionId(javax.portlet.PortletRequest request)
|
void |
process(ServerGeneratedImage chart,
java.lang.String imgSRC,
boolean fullPage,
java.lang.String defaultImageMapURL,
java.lang.Object arg)
|
| Methods inherited from class netcharts.server.util.PageCreator |
getDrillDownPage, getDrillDownPage, getDrillDownPage, getDrillDownPage, getDrillDownPage, getDrillDownPage, getImagePage, getImagePage, getRolloverJavaScript |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static java.lang.String DEFAULT_SERVLET_NAME
| Method Detail |
public static java.lang.String getDrillDownPage(ServerGeneratedImage chart,
javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response)
chart - The chart to convert to an image.request - The current request handed to the portlet.response - The current response handed to the portlet.
public static java.lang.String getDrillDownPage(ServerGeneratedImage chart,
boolean fullPage,
javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response)
chart - The chart to convert to an image.fullPage - Specifies whether or not to return the full HTML code or just
the image related elements only.request - The current request handed to the portlet.response - The current response handed to the portlet.
public static java.lang.String getDrillDownPage(ServerGeneratedImage chart,
boolean fullPage,
javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response,
java.lang.String defaultImageMapURL)
chart - The chart to convert to an image.fullPage - Specifies whether or not to return the full HTML code or just
the image related elements only.request - The current request handed to the portlet.response - The current response handed to the portlet.defaultImageMapURL - The URL to use when creating imagemap HREF attributes.
public static java.lang.String getDrillDownPage(ServerGeneratedImage chart,
boolean fullPage,
javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response,
java.lang.String defaultImageMapURL,
boolean accessible,
java.lang.String altTemplate,
java.lang.String chartDescription,
java.lang.String encoding)
getDrillDownPage(ServerGeneratedImage, boolean, PortletRequest, PortletResponse, String, boolean, String, String)
chart - The chart to convert to an image.fullPage - Specifies whether or not to return the full HTML code or just
the image related elements only.request - The current request handed to the portlet.response - The current response handed to the portlet.defaultImageMapURL - The URL to use when creating imagemap HREF attributes.accessible - Whether accessibility features (like alt tags)
should be used in the drill down page instead of javascript based
popup labelsaltTemplate - The text template used to construct alt tags on
the active regions of a drill down image (map area tags).chartDescription - The description to be used in the alt tag on
chart images.encoding - The encoding used by the server to convert Strings to bytes.
public static java.lang.String getDrillDownPage(ServerGeneratedImage chart,
boolean fullPage,
javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response,
java.lang.String defaultImageMapURL,
boolean accessible,
java.lang.String altTemplate,
java.lang.String chartDescription)
chart - The chart to convert to an image.fullPage - Specifies whether or not to return the full HTML code or just
the image related elements only.request - The current request handed to the portlet.response - The current response handed to the portlet.defaultImageMapURL - The URL to use when creating imagemap HREF attributes.accessible - Whether accessibility features (like alt tags)
should be used in the drill down page instead of javascript based
popup labelsaltTemplate - The text template used to construct alt tags on
the active regions of a drill down image (map area tags).chartDescription - The description to be used in the alt tag on
chart images.
public static java.lang.String getDrillDownPage(ServerGeneratedImage chart,
javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response,
java.lang.String defaultImageMapURL)
chart - The chart to convert to an image.request - The current request handed to the portlet.response - The current response handed to the portlet.defaultImageMapURL - The URL to use when creating imagemap HREF attributes.
public static java.lang.String getDrillDownPage(ServerGeneratedImage chart,
java.lang.String unencodedServletURL,
boolean fullPage,
javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response)
chart - The chart to convert to an image.servletName - The servlet the browser should ask for the image.fullPage - Specifies whether or not to return the full HTML code or just
the image related elements only.request - The current request handed to the portlet.response - The current response handed to the portlet.
public static java.lang.String getDrillDownPage(ServerGeneratedImage chart,
java.lang.String unencodedServletURL,
boolean fullPage,
javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response,
java.lang.String defaultImageMapURL)
chart - The chart to convert to an image.servletName - The servlet the browser should ask for the image.fullPage - Specifies whether or not to return the full HTML code or just
the image related elements only.request - The current request handed to the portlet.response - The current response handed to the portlet.defaultImageMapURL - The URL to use when creating imagemap HREF attributes.
public static java.lang.String getDrillDownPage(ServerGeneratedImage chart,
java.lang.String unencodedServletURL,
boolean fullPage,
javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response,
java.lang.String defaultImageMapURL,
java.lang.String encoding)
getDrillDownPage(ServerGeneratedImage, String, boolean, PortletRequest, PortletResponse, String)
chart - The chart to convert to an image.servletName - The servlet the browser should ask for the image.fullPage - Specifies whether or not to return the full HTML code or just
the image related elements only.request - The current request handed to the portlet.response - The current response handed to the portlet.defaultImageMapURL - The URL to use when creating imagemap HREF attributes.encoding - The encoding used by the server to convert Strings to bytes.
public static java.lang.String getDrillDownPage(ServerGeneratedImage chart,
java.lang.String unencodedServletURL,
boolean fullPage,
javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response,
java.lang.String defaultImageMapURL,
boolean accessible,
java.lang.String altTemplate,
java.lang.String chartDescription,
java.lang.String encoding)
getDrillDownPage(ServerGeneratedImage, String, boolean, PortletRequest, PortletResponse, String, boolean, String, String)
chart - The chart to convert to an image.servletName - The servlet the browser should ask for the image.fullPage - Specifies whether or not to return the full HTML code or just
the image related elements only.request - The current request handed to the portlet.response - The current response handed to the portlet.defaultImageMapURL - The URL to use when creating imagemap HREF attributes.accessible - Whether accessibility features (like alt tags)
should be used in the drill down page instead of javascript based
popup labelsaltTemplate - The text template used to construct alt tags on
the active regions of a drill down image (map area tags).chartDescription - The description to be used in the alt tag on
chart images.encoding - The encoding used by the server to convert Strings to bytes.
public static java.lang.String getDrillDownPage(ServerGeneratedImage chart,
java.lang.String unencodedServletURL,
boolean fullPage,
javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response,
java.lang.String defaultImageMapURL,
boolean accessible,
java.lang.String altTemplate,
java.lang.String chartDescription)
chart - The chart to convert to an image.servletName - The servlet the browser should ask for the image.fullPage - Specifies whether or not to return the full HTML code or just
the image related elements only.request - The current request handed to the portlet.response - The current response handed to the portlet.defaultImageMapURL - The URL to use when creating imagemap HREF attributes.accessible - Whether accessibility features (like alt tags)
should be used in the drill down page instead of javascript based
popup labelsaltTemplate - The text template used to construct alt tags on
the active regions of a drill down image (map area tags).chartDescription - The description to be used in the alt tag on
chart images.
public static java.lang.String getImagePage(ServerGeneratedImage chart,
javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response,
boolean accessible,
java.lang.String chartDescription,
java.lang.String encoding)
getImagePage(ServerGeneratedImage, PortletRequest, PortletResponse, boolean, String)
chart - The chart to convert to an image.request - The current request handed to the portlet.response - The current response handed to the portlet.accessible - Whether accessibility features (like alt tags)
should be used in the page.chartDescription - The description to be used in the alt tag on
chart images.encoding - The encoding used by the server to convert Strings to bytes.
public static java.lang.String getImagePage(ServerGeneratedImage chart,
javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response,
boolean accessible,
java.lang.String chartDescription)
chart - The chart to convert to an image.request - The current request handed to the portlet.response - The current response handed to the portlet.accessible - Whether accessibility features (like alt tags)
should be used in the page.chartDescription - The description to be used in the alt tag on
chart images.
public static java.lang.String getImagePage(ServerGeneratedImage chart,
java.lang.String unencodedServletURL,
javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response,
boolean accessible,
java.lang.String chartDescription,
java.lang.String encoding)
getImagePage(ServerGeneratedImage, String, PortletRequest, PortletResponse, boolean, String)
chart - The chart to convert to an image.servletName - The servlet the browser should ask for the image.request - The current request handed to the portlet.response - The current response handed to the portlet.accessible - Whether accessibility features (like alt tags)
should be used in the page.chartDescription - The description to be used in the alt tag on
chart images.encoding - The encoding used by the server to convert Strings to bytes.
public static java.lang.String getImagePage(ServerGeneratedImage chart,
java.lang.String unencodedServletURL,
javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response,
boolean accessible,
java.lang.String chartDescription)
chart - The chart to convert to an image.servletName - The servlet the browser should ask for the image.request - The current request handed to the portlet.response - The current response handed to the portlet.accessible - Whether accessibility features (like alt tags)
should be used in the page.chartDescription - The description to be used in the alt tag on
chart images.public static java.lang.String getUnencodedServletName(javax.portlet.PortletRequest request)
public static java.lang.String getUnencodedServletNameWithSessionId(javax.portlet.PortletRequest request)
public void process(ServerGeneratedImage chart,
java.lang.String imgSRC,
boolean fullPage,
java.lang.String defaultImageMapURL,
java.lang.Object arg)
process in interface netcharts.server.util.PageCreator.Processor
|
NetCharts Server | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Visual Mining, Inc. | Copyright © Visual Mining, Inc. 1996 - 2007 |
Last Modified: Jun 14, 2007 |