|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.webapp.UIComponentTag
javax.faces.webapp.UIComponentBodyTag
ilog.views.faces.taglib.IlvBaseTag
ilog.views.faces.taglib.IlvSizedTag
ilog.views.faces.dhtml.taglib.IlvDHTMLSizedTag
ilog.views.faces.dhtml.taglib.IlvDHTMLViewTag
ilog.views.faces.dhtml.taglib.IlvDHTMLViewHelperTag
ilog.views.faces.dhtml.taglib.IlvFacesZoomToolTag
public class IlvFacesZoomToolTag
This class defines the JSP custom tag handler for the IlvFacesZoomTool component and its DHTML renderer.
| Field Summary |
|---|
| Fields inherited from class javax.faces.webapp.UIComponentBodyTag |
|---|
bodyContent |
| Fields inherited from class javax.faces.webapp.UIComponentTag |
|---|
pageContext |
| Fields inherited from interface ilog.views.faces.IlvFrameworkConstants |
|---|
ACTION_NAME, AUTO_REFRESH, BOUNDING_BOX, CONSTRAINED_ON_CONTENTS, INTERACTOR, INTERACTOR_ID, MAX_ZOOM_LEVEL, MIN_ZOOM_LEVEL, NB_BUTTONS, ORIENTATION, ORIENTATION_HORIZONTAL, ORIENTATION_VERTICAL, PAN_FACTOR, STATIC_LAYERS_COUNT, TILE_SIZE, VISIBLE_LAYERS, ZOOM_FACTOR, ZOOM_LEVELS |
| Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
|---|
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
| Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
|---|
EVAL_BODY_AGAIN |
| Fields inherited from interface javax.servlet.jsp.tagext.Tag |
|---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
| Constructor Summary | |
|---|---|
IlvFacesZoomToolTag()
Creates a new IlvFacesZoomToolTag instance. |
|
| Method Summary | |
|---|---|
String |
getComponentType()
Returns the component type for the component that is or will be bound to this tag. |
String |
getNbButtons()
Returns the number of buttons to be displayed in the zoom tool. |
String |
getOrientation()
Returns the orientation of the zoom tool. |
String |
getRendererType()
Return the |
void |
setNbButtons(String nbButtons)
The number of buttons to be displayed in the zoom tool. |
void |
setOrientation(String orientation)
The orientation of the zoom tool. |
protected void |
setProperties(UIComponent component)
Override properties and attributes of the specified component, if the corresponding properties of this tag handler instance were explicitly set. This method must be called ONLY if the specified component was in fact created during the execution of this tag handler instance, and this call will occur BEFORE the component is added to the view. Tag subclasses that want to support additional set properties
must ensure that the base class
protected void setProperties(UIComponent component) {
super.setProperties(component);
if (foo != null) {
component.setAttribute("foo", foo);
}
if (bar != null) {
component.setAttribute("bar", bar);
}
}
|
| Methods inherited from class ilog.views.faces.dhtml.taglib.IlvDHTMLViewHelperTag |
|---|
getView, getViewId, setView, setViewId |
| Methods inherited from class ilog.views.faces.dhtml.taglib.IlvDHTMLViewTag |
|---|
getData, getDoStartValue, getImageFormat, getMessageBox, getMessageBoxId, getServlet, getWaitingImage, setData, setImageFormat, setMessageBox, setMessageBoxId, setServlet, setWaitingImage |
| Methods inherited from class ilog.views.faces.dhtml.taglib.IlvDHTMLSizedTag |
|---|
getStyle, getStyleClass, setStyle, setStyleClass |
| Methods inherited from class ilog.views.faces.taglib.IlvSizedTag |
|---|
getHeight, getWidth, setHeight, setWidth |
| Methods inherited from class ilog.views.faces.taglib.IlvBaseTag |
|---|
setProperty, setVBProperty, testSetProperties |
| Methods inherited from class javax.faces.webapp.UIComponentBodyTag |
|---|
doAfterBody, doInitBody, getBodyContent, getDoAfterBodyValue, getPreviousOut, release, setBodyContent |
| Methods inherited from class javax.faces.webapp.UIComponentTag |
|---|
doEndTag, doStartTag, encodeBegin, encodeChildren, encodeEnd, findComponent, getComponentInstance, getCreated, getDoEndValue, getFacesContext, getFacetName, getId, getParent, getParentUIComponentTag, isSuppressed, isValueReference, setBinding, setId, setPageContext, setParent, setRendered, setupResponseWriter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.servlet.jsp.tagext.Tag |
|---|
doEndTag, doStartTag, getParent, setPageContext, setParent |
| Constructor Detail |
|---|
public IlvFacesZoomToolTag()
IlvFacesZoomToolTag instance.
| Method Detail |
|---|
public String getComponentType()
Returns the component type for the component that is or will be bound to this tag.
This implementation returns null, subclasses must
override this method to return the appropriate value.
getComponentType in class IlvBaseTagpublic String getRendererType()
Return the rendererType property that selects the
Renderer to be used for encoding this component, or
null to ask the component to render itself directly.
This implementation return null, subclasses must override
this method to return the appropriate value.
getRendererType in class IlvBaseTagprotected void setProperties(UIComponent component)
Override properties and attributes of the specified component, if the corresponding properties of this tag handler instance were explicitly set. This method must be called ONLY if the specified component was in fact created during the execution of this tag handler instance, and this call will occur BEFORE the component is added to the view.
Tag subclasses that want to support additional set properties
must ensure that the base class setProperties()
method is still called. A typical implementation that supports
extra properties foo and bar would look
something like this:
protected void setProperties(UIComponent component) {
super.setProperties(component);
if (foo != null) {
component.setAttribute("foo", foo);
}
if (bar != null) {
component.setAttribute("bar", bar);
}
}
setProperties in class IlvDHTMLViewHelperTagcomponent - The component whose properties are to be
overriddenpublic String getNbButtons()
public void setNbButtons(String nbButtons)
nbButtons - The number of buttons to set.public String getOrientation()
IlvFrameworkConstants.ORIENTATION_VERTICAL or IlvFrameworkConstants.ORIENTATION_HORIZONTAL.
public void setOrientation(String orientation)
orientation - The orientation to set.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||