public class IlvDHTMLHelperImpl extends Object implements IlvDHTMLHelper
Modifier and Type | Field and Description |
---|---|
protected IlvBasicView |
helped
The helped view that supported by this instance.
|
ACCESSIBLE, ACTION_NAME, AUTO_SUBMIT, BACKGROUND_COLOR, CAPABILITIES_LOADED_HANDLER, COMPONENT, DO_ACTION_ON_BG_DESELECT, ERROR_MESSAGE, GENERATE_IMAGE_MAP, HOTKEYS, IMAGE_FORMAT, IMAGE_LOADED_HANDLER, IMAGE_MAP_GENERATOR, IMAGE_MAP_GENERATOR_CLASS, IMAGE_MAP_VISIBLE, IMAGE_SERVLET_CONTEXT, INVOCATION_CONTEXT, JSF_CONTEXT, ON_CLICK, ON_SELECTION_CHANGED, PARTIAL_SUBMIT, PORTLET_CONTEXT_KEY, PORTLET_SESSION_KEY, REPLACE_PATTERN, RESIZABLE, SELECTION_RESIZABLE_CLASS, SESSION_EXP_HANDLER, SUBMITTED_VALUE, WAITING_IMAGE
AFTER_HANDLER, BASETEXTDIRECTION, BEFORE_HANDLER, BUTTON_GROUP_ID, BUTTON_TYPE, CHARTS_BUNDLE, CHARTS_MESSAGE_BUNDLE, CORE_BUNDLE, CORE_MESSAGE_BUNDLE, CURSOR, DATA, DECODED_PROPERTY, DEFAULT_LINE_COLOR, DELETION_ALLOWED, DIAGRAMMER_BUNDLE, DIAGRAMMER_MESSAGE_BUNDLE, ENABLED, EVENT_TYPE, FILL_ON, FORCE_UPDATE_PROPERTIES, FRAMEWORK_BUNDLE, FRAMEWORK_MESSAGE_BUNDLE, GANTT_BUNDLE, GANTT_MESSAGE_BUNDLE, HEIGHT, IMAGE, IMAGE_MODE, INFO_PROVIDER_MB, INT_NOT_DEFINED, INTERACTORS, INTERCEPT_INTERACTOR, ITEM_DISABLED_STYLE_CLASS, ITEM_HIGHLIGHTED_STYLE_CLASS, ITEM_STYLE_CLASS, LINE_COLOR, LINE_WIDTH, MAPS_BUNDLE, MAPS_MESSAGE_BUNDLE, MENU_MODEL_ID, MESSAGE, MESSAGE_BOX, MESSAGE_BOX_ID, MOVE_ALLOWED, OBJECT_FINDER, PARAM_COMPID, PARAM_DATA, PARAM_KEY, PARAM_NAMESPACE, PARAM_RESOURCE, PARAM_SERVICE, PARAM_TYPE, POPUP_MENU, POPUP_MENU_FACTORY, POPUP_MENU_FACTORY_CLASS, PORTLET_NAMESPACE, PROGRESSIVE_ZOOM, PROJECT, RENDER, RESOURCES_PATH, RESOURCES_PATH_PREFIX, ROLLOVER_IMAGE, SCROLL_BAR, SELECTED, SELECTED_IMAGE, SERVICE_FORWARD, SERVICE_FORWARD_INT, SERVLET, SERVLET_CLASS, SERVLET_URL, STYLE, STYLE_CLASS, TGO_BUNDLE, TGO_MESSAGE_BUNDLE, TITLE, TOGGLE, VALUE, VIEW, VIEW_ID, WIDTH
Constructor and Description |
---|
IlvDHTMLHelperImpl(IlvBasicView helped)
Builds a new
IlvDHTMLHelperImpl instance that handles the
implementation of the IlvDHTMLHelper interface. |
Modifier and Type | Method and Description |
---|---|
IlvBasicView |
getHelped()
Returns the helped view that is supported by this instance.
|
String |
getImageFormat()
Returns the desired format of the image generated by the servlet.
|
String |
getServlet()
Returns the servlet that will generate the image displayed by the view.
|
String |
getServletClass() |
String |
getServletURL() |
String |
getWaitingImage()
Returns the path to the image displayed when the view loads the image.
|
void |
restoreState(jakarta.faces.context.FacesContext context,
Object state)
Restores the state of this component from the state parameter.
|
Object |
saveState(jakarta.faces.context.FacesContext context)
Returns the state of this component.
|
void |
setHelped(IlvBasicView helped)
Sets the helped view that is supported by this utility instance.
|
void |
setImageFormat(String imageFormat)
Sets the desired format of the generated image by the servlet.
|
void |
setServlet(String servlet)
Sets the servlet that will generate the image displayed by the view.
|
void |
setServletClass(String servletClass) |
void |
setServletURL(String servletURL) |
void |
setValue(Object value)
Sets the servlet that will generate the image displayed by the view.
|
void |
setWaitingImage(String waitingImage)
Sets the path of the image displayed when the view loads the image.
|
void |
updateModel(jakarta.faces.context.FacesContext ctx)
Updates the referenced values with the local values of the
component if these values were updated from the client.
|
protected IlvBasicView helped
public IlvDHTMLHelperImpl(IlvBasicView helped)
IlvDHTMLHelperImpl
instance that handles the
implementation of the IlvDHTMLHelper
interface.helped
- The helped component.public void setServlet(String servlet)
setValue
.
The servlet parameter could be a URL to the servlet or a fully qualified
servlet class that will be instantiated to generate the image.setServlet
in interface IlvDHTMLHelper
servlet
- The image generating servlet.public String getServlet()
getValue
method.getServlet
in interface IlvDHTMLHelper
public void setValue(Object value)
setValue
in interface IlvDHTMLHelper
value
- The servlet generating the image.public void setServletClass(String servletClass)
setServletClass
in interface IlvDHTMLHelper
public String getServletClass()
getServletClass
in interface IlvDHTMLHelper
public void setServletURL(String servletURL)
setServletURL
in interface IlvDHTMLHelper
public String getServletURL()
getServletURL
in interface IlvDHTMLHelper
public String getImageFormat()
getImageFormat
in interface IlvDHTMLHelper
public String getWaitingImage()
getWaitingImage
in interface IlvDHTMLHelper
public void setImageFormat(String imageFormat)
JPEG
and PNG
.setImageFormat
in interface IlvDHTMLHelper
imageFormat
- The desired image format of the image displayed by the view.public void setWaitingImage(String waitingImage)
setWaitingImage
in interface IlvDHTMLHelper
waitingImage
- The path of the image displayed when the view loads the image.public IlvBasicView getHelped()
public void setHelped(IlvBasicView helped)
helped
- The helped IlvBasicView instance.public void updateModel(jakarta.faces.context.FacesContext ctx)
updateModel
in interface IlvDHTMLHelper
ctx
- The current faces context.public Object saveState(jakarta.faces.context.FacesContext context)
saveState
in interface IlvDHTMLHelper
context
- The current faces context.public void restoreState(jakarta.faces.context.FacesContext context, Object state)
restoreState
in interface IlvDHTMLHelper
context
- The current faces context.state
- The previously saved state of this component.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.