|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.faces.dhtml.component.IlvDHTMLHelperImpl
public class IlvDHTMLHelperImpl
This class implements the IlvDHTMLHelper interface that defines a view component with a set of DHTML specific properties. This class is designed to be used as a support for classes that want to implement the IlvDHTMLHelper interface.
| Field Summary | |
|---|---|
protected IlvBasicView |
helped
The helped view that supported by this instance. |
| Constructor Summary | |
|---|---|
IlvDHTMLHelperImpl(IlvBasicView helped)
Builds a new IlvDHTMLHelperImpl instance that handles the
implementation of the IlvDHTMLHelper interface. |
|
| Method Summary | |
|---|---|
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(FacesContext context,
Object state)
Restores the state of this component from the state parameter. |
Object |
saveState(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(FacesContext ctx)
Updates the referenced values with the local values of the component if these values were updated from the client. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected IlvBasicView helped
| Constructor Detail |
|---|
public IlvDHTMLHelperImpl(IlvBasicView helped)
IlvDHTMLHelperImpl instance that handles the
implementation of the IlvDHTMLHelper interface.
helped - The helped component.| Method Detail |
|---|
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 IlvDHTMLHelperservlet - The image generating servlet.public String getServlet()
getServlet in interface IlvDHTMLHelperpublic void setValue(Object value)
setValue in interface IlvDHTMLHelpervalue - The servlet generating the image.public void setServletClass(String servletClass)
setServletClass in interface IlvDHTMLHelperpublic String getServletClass()
getServletClass in interface IlvDHTMLHelperpublic void setServletURL(String servletURL)
setServletURL in interface IlvDHTMLHelperpublic String getServletURL()
getServletURL in interface IlvDHTMLHelperpublic String getImageFormat()
getImageFormat in interface IlvDHTMLHelperpublic String getWaitingImage()
getWaitingImage in interface IlvDHTMLHelperpublic void setImageFormat(String imageFormat)
JPEG and PNG.
setImageFormat in interface IlvDHTMLHelperimageFormat - The desired image format of the image displayed by the view.public void setWaitingImage(String waitingImage)
setWaitingImage in interface IlvDHTMLHelperwaitingImage - 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(FacesContext ctx)
updateModel in interface IlvDHTMLHelperctx - The current faces context.public Object saveState(FacesContext context)
saveState in interface IlvDHTMLHelpercontext - The current faces context.
public void restoreState(FacesContext context,
Object state)
restoreState in interface IlvDHTMLHelpercontext - The current faces context.state - The previously saved state of this component.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||