|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
ilog.views.faces.component.IlvFacesComponentBase
ilog.views.faces.interactor.IlvInteractor
ilog.views.faces.interactor.IlvDragRectInteractor
public class IlvDragRectInteractor
The IlvDragRectInteractor is the base component class of interactor
components that allow a rectangle to be dragged.
| Field Summary | |
|---|---|
static Integer |
LINE_WIDTH_DEFAULT_VALUE
Default value of lineWidth property. |
| Constructor Summary | |
|---|---|
IlvDragRectInteractor()
Creates a new IlvDragRectInteractor 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. |
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)
Handles the "Update Model Values" phase of the JSF life cycle. This method updates the referenced values with the local values of the component if theses values were updated during the "Apply Request Values" phase. |
| Methods inherited from class ilog.views.faces.interactor.IlvInteractor |
|---|
getCursor, getMenuModelId, getMessage, setCursor, setMenuModelId, setMessage |
| Methods inherited from class ilog.views.faces.component.IlvFacesComponentBase |
|---|
clearDecodedPropertyMap, createFacesComponent, getAttributes, getClientId, isDecodedProperty, processUpdates, resetDecodedProperties, setDecodedProperty |
| Methods inherited from class javax.faces.component.UIComponentBase |
|---|
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getChildCount, getChildren, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processValidators, 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 |
| Field Detail |
|---|
public static final Integer LINE_WIDTH_DEFAULT_VALUE
| Constructor Detail |
|---|
public IlvDragRectInteractor()
IlvDragRectInteractor instance.
| Method Detail |
|---|
public String getFamily()
rendererType
property, may be used to select the appropriate renderer for this component
instance.
getFamily in class IlvInteractorpublic static String getComponentType()
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 class IlvInteractorctx - The current faces context.public Object saveState(FacesContext context)
state of this component.
saveState in interface IlvFacesComponentsaveState in interface StateHoldersaveState in class IlvInteractorcontext - The current faces context.
state of this component.
public void restoreState(FacesContext context,
Object state)
state parameter.
restoreState in interface IlvFacesComponentrestoreState in interface StateHolderrestoreState in class IlvInteractorcontext - The current faces context.state - The previously saved state of this component.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||