|
||||||||||
| 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.UIOutput
javax.faces.component.UIInput
ilog.views.faces.dhtml.interactor.IlvObjectSelectInteractor
ilog.views.faces.dhtml.interactor.IlvObjectSelectRectInteractor
public class IlvObjectSelectRectInteractor
This class defines an interactor that allows you to select a set model objects from a view.
Each subclass must register an objectSelectedFinder that will set the value from the JViews Faces View and the parameters passed from the renderer.
| Field Summary | |
|---|---|
static Integer |
LINE_WIDTH_DEFAULT_VALUE
Default value of lineWidth property |
| Fields inherited from class ilog.views.faces.dhtml.interactor.IlvObjectSelectInteractor |
|---|
AUTO_SUBMIT_DEFAULT_VALUE, INVOCATION_CONTEXT_DEFAULT_VALUE |
| Fields inherited from class javax.faces.component.UIInput |
|---|
COMPONENT_FAMILY, COMPONENT_TYPE, CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID |
| Constructor Summary | |
|---|---|
IlvObjectSelectRectInteractor()
Creates a new IlvObjectSelectRectInteractor instance. |
|
| Method Summary | |
|---|---|
Color |
getLineColor()
Returns a string representing the HTML color of the dragged rectangle. |
int |
getLineWidth()
Returns the line width of the dragged rectangle. |
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 |
setLineColor(Color lineColor)
Sets the line color of the dragged rectangle. |
void |
setLineWidth(int lineWidth)
Sets the line width of the dragged rectangle. |
void |
updateModel(FacesContext ctx)
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.dhtml.interactor.IlvObjectSelectInteractor |
|---|
clearDecodedPropertyMap, getAttributes, getCursor, getInvocationContext, getMenuModelId, getMessage, getObjectSelectedFinder, getView, getViewId, isAutoSubmit, isDecodedProperty, resetDecodedProperties, setAutoSubmit, setCursor, setDecodedProperty, setInvocationContext, setMenuModelId, setMessage, setObjectSelectedFinder, setView, setViewId, validate |
| Methods inherited from class javax.faces.component.UIInput |
|---|
addValidator, addValueChangeListener, broadcast, compareValues, decode, getConvertedValue, getFamily, getSubmittedValue, getValidator, getValidators, getValueChangeListener, getValueChangeListeners, isImmediate, isLocalValueSet, isRequired, isValid, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, setImmediate, setLocalValueSet, setRequired, setSubmittedValue, setValid, setValidator, setValue, setValueChangeListener, validateValue |
| Methods inherited from class javax.faces.component.UIOutput |
|---|
getConverter, getLocalValue, getValue, setConverter |
| Methods inherited from class javax.faces.component.UIComponentBase |
|---|
addFacesListener, encodeBegin, encodeChildren, encodeEnd, findComponent, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.faces.component.ValueHolder |
|---|
getConverter, getLocalValue, getValue, setConverter |
| Field Detail |
|---|
public static final Integer LINE_WIDTH_DEFAULT_VALUE
| Constructor Detail |
|---|
public IlvObjectSelectRectInteractor()
IlvObjectSelectRectInteractor instance.
| Method Detail |
|---|
public int getLineWidth()
public void setLineWidth(int lineWidth)
lineWidth - The line width of the dragged rectangle.public Color getLineColor()
public void setLineColor(Color lineColor)
lineColor - The color of the dragged rectangle. This is an HTML color.public void updateModel(FacesContext ctx)
updateModel in interface IlvViewHelperupdateModel in class IlvObjectSelectInteractorctx - The current faces context.public Object saveState(FacesContext context)
state of this component.
saveState in interface IlvFacesComponentsaveState in interface IlvViewHelpersaveState in interface StateHoldersaveState in class IlvObjectSelectInteractorcontext - The current faces context.
state of this component.
public void restoreState(FacesContext context,
Object state)
state parameter.
restoreState in interface IlvFacesComponentrestoreState in interface IlvViewHelperrestoreState in interface StateHolderrestoreState in class IlvObjectSelectInteractorcontext - 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 | |||||||||