public class IlvFacesZoomTool extends IlvBasicViewHelper implements IlvFrameworkConstants
| Modifier and Type | Field and Description |
|---|---|
static Integer |
NB_BUTTONS_DEFAULT_VALUE
Default value of
nbButtons property. |
DEFAULT_OBJECT_FINDERATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEYAUTO_REFRESH, BOUNDING_BOX, COLOR, CONSTRAINED_ON_CONTENTS, GROUPABLE, HITMAP_LAYERS, IGNORE_CONTENT_ASPECT_RATIO, INTERACTOR, INTERACTOR_ID, MAX_ZOOM_LEVEL, MIN_ZOOM_LEVEL, NB_BUTTONS, OPACITY, ORIENTATION, ORIENTATION_HORIZONTAL, ORIENTATION_VERTICAL, PAN_FACTOR, STATIC_LAYERS_COUNT, TEMPLATE, TILE_SIZE, TOLERANCE, VISIBLE_LAYERS, ZOOM_FACTOR, ZOOM_LEVELSAFTER_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 |
|---|
IlvFacesZoomTool()
Creates a new
IlvFacesZoomTool instance. |
| Modifier and Type | Method and Description |
|---|---|
static String |
getComponentType()
Returns the type of this component.
|
String |
getFamily()
Returns the identifier of the component family to which this component
belongs.
|
int |
getNbButtons()
Returns the number of buttons to be displayed in the zoom tool.
|
String |
getOrientation()
Returns the orientation of the zoom tool.
|
void |
restoreState(jakarta.faces.context.FacesContext context,
Object stateObj)
Restores the state of this component from the
stateObj parameter. |
Object |
saveState(jakarta.faces.context.FacesContext context)
Returns the state of this component.
|
void |
setNbButtons(int nbButtons)
Sets the number of buttons to be displayed in the zoom tool.
|
void |
setOrientation(String orientation)
The orientation of the zoom tool.
|
void |
updateModel(jakarta.faces.context.FacesContext context)
This method updates the referenced values with the local values of the
component if these values were updated from the client.
|
createViewHelper, getView, getViewId, setView, setViewIdclearDecodedPropertyMap, createFacesComponent, getAttributes, getBaseTextDirection, getData, getDefaultObjectFinder, getHeight, getMessageBox, getMessageBoxId, getStyle, getStyleClass, getWidth, isDecodedProperty, processUpdates, resetDecodedProperties, setBaseTextDirection, setData, setDecodedProperty, setHeight, setMessageBox, setMessageBoxId, setStyle, setStyleClass, setWidthgetUrl, getValue, getValueBinding, getValueExpression, setUrl, setValue, setValueBinding, setValueExpressionaddClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, subscribeToEvent, unsubscribeFromEventencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, visitTreepublic static final Integer NB_BUTTONS_DEFAULT_VALUE
nbButtons property.public IlvFacesZoomTool()
IlvFacesZoomTool instance.public String getFamily()
Returns the identifier of the component family to which this component
belongs. This identifier, in conjunction with the value of the rendererType
property, may be used to select the appropriate Renderer for this component
instance.
This implementation returns the fully qualified class name.
getFamily in class IlvBasicViewHelperpublic static String getComponentType()
public int getNbButtons()
public void setNbButtons(int nbButtons)
nbButtons - The number of buttons to set.public String getOrientation()
IlvFrameworkConstants.ORIENTATION_VERTICAL or
IlvFrameworkConstants.ORIENTATION_HORIZONTAL.public void setOrientation(String orientation)
IlvFrameworkConstants.ORIENTATION_VERTICAL or
IlvFrameworkConstants.ORIENTATION_HORIZONTAL.orientation - The orientation to set.public void updateModel(jakarta.faces.context.FacesContext context)
updateModel in interface IlvViewHelperupdateModel in class IlvBasicViewHelpercontext - The current faces context.public Object saveState(jakarta.faces.context.FacesContext context)
saveState in interface IlvFacesComponentsaveState in interface IlvViewHelpersaveState in interface jakarta.faces.component.StateHoldersaveState in class IlvBasicViewHelpercontext - The current faces context.state of this component.public void restoreState(jakarta.faces.context.FacesContext context,
Object stateObj)
stateObj parameter.restoreState in interface IlvFacesComponentrestoreState in interface IlvViewHelperrestoreState in interface jakarta.faces.component.StateHolderrestoreState in class IlvBasicViewHelpercontext - The current faces context.stateObj - The previously saved state of this component.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.