|
||||||||||
| PREV CLASS Documentation homepage. NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIGraphic
ilog.views.faces.component.IlvBasicView
ilog.views.faces.component.IlvBasicViewHelper
ilog.views.faces.component.IlvFacesZoomTool
public class IlvFacesZoomTool
The zoom tool is a component that displays several buttons vertically or horizontally. Each button corresponds to a zoom level.
| Field Summary | |
|---|---|
static Integer |
NB_BUTTONS_DEFAULT_VALUE
Default value of nbButtons property. |
| Fields inherited from class ilog.views.faces.component.IlvBasicView |
|---|
DEFAULT_OBJECT_FINDER |
| Fields inherited from class javax.faces.component.UIGraphic |
|---|
COMPONENT_FAMILY, COMPONENT_TYPE |
| 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 |
| Constructor Summary | |
|---|---|
IlvFacesZoomTool()
Creates a new IlvFacesZoomTool instance. |
|
| Method Summary | |
|---|---|
static String |
getComponentType()
Returns the type of this component. |
String |
getFamily()
Returns the identifier of the component family to which this component
belongs. This identifier, in conjunction with the value of the This implementation returns the fully qualified class name. |
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(FacesContext context,
Object stateObj)
Restores the state of this component from the stateObj parameter. |
Object |
saveState(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(FacesContext context)
This method updates the referenced values with the local values of the component if these values were updated from the client. |
| Methods inherited from class ilog.views.faces.component.IlvBasicViewHelper |
|---|
createViewHelper, getView, getViewId, setView, setViewId |
| Methods inherited from class ilog.views.faces.component.IlvBasicView |
|---|
clearDecodedPropertyMap, createFacesComponent, getAttributes, getData, getDefaultObjectFinder, getHeight, getMessageBox, getMessageBoxId, getStyle, getStyleClass, getWidth, isDecodedProperty, processUpdates, resetDecodedProperties, setData, setDecodedProperty, setHeight, setMessageBox, setMessageBoxId, setStyle, setStyleClass, setWidth |
| Methods inherited from class javax.faces.component.UIGraphic |
|---|
getUrl, getValue, getValueBinding, setUrl, setValue, setValueBinding |
| Methods inherited from class javax.faces.component.UIComponentBase |
|---|
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Integer NB_BUTTONS_DEFAULT_VALUE
nbButtons property.
| Constructor Detail |
|---|
public IlvFacesZoomTool()
IlvFacesZoomTool instance.
| Method Detail |
|---|
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(FacesContext context)
updateModel in interface IlvViewHelperupdateModel in class IlvBasicViewHelpercontext - The current faces context.public Object saveState(FacesContext context)
saveState in interface IlvFacesComponentsaveState in interface IlvViewHelpersaveState in interface StateHoldersaveState in class IlvBasicViewHelpercontext - The current faces context.
state of this component.
public void restoreState(FacesContext context,
Object stateObj)
stateObj parameter.
restoreState in interface IlvFacesComponentrestoreState in interface IlvViewHelperrestoreState in interface StateHolderrestoreState in class IlvBasicViewHelpercontext - The current faces context.stateObj - 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 | |||||||||