|
||||||||||
| 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.component.IlvFacesMenu
ilog.views.faces.component.IlvFacesContextualMenu
public class IlvFacesContextualMenu
The contextual menu is a menu which is attached to a view (its parent) and that can display a menu generated from the object clicked on this view.
| Field Summary |
|---|
| Fields inherited from class javax.faces.component.UIInput |
|---|
COMPONENT_FAMILY, COMPONENT_TYPE, CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID |
| Constructor Summary | |
|---|---|
IlvFacesContextualMenu()
Creates a new IlvFacesContextualMenu instance. |
|
| Method Summary | |
|---|---|
static String |
getComponentType()
Returns the type of this component. |
IlvMenuFactory |
getFactory()
Returns the factory that will dynamically generate the popup menu depending on the graphic object clicked. |
String |
getFactoryClass()
Returns the popup menu factory class name. |
String |
getFamily()
Returns the identifier of the component family to which this component belongs. |
IlvObjectSelectedFinder |
getObjectSelectedFinder()
Returns the object selected finder instance. |
void |
restoreState(FacesContext context,
Object stateObj)
Restores the state of this component from the state parameter. |
Object |
saveState(FacesContext context)
Returns the state of this component. |
void |
setFactory(IlvMenuFactory factory)
Sets the factory that will dynamically generate the popup menu depending on the graphic object clicked. |
void |
setFactoryClass(String factoryClass)
Sets the popup menu factory class name. |
void |
setObjectSelectedFinder(IlvObjectSelectedFinder objectSelectFinder)
Sets the object selected finder instance. |
void |
updateModel(FacesContext context)
|
| Methods inherited from class ilog.views.faces.component.IlvFacesMenu |
|---|
broadcast, clearDecodedPropertyMap, getAttributes, getItemDisabledStyleClass, getItemHighlightedStyleClass, getItemStyleClass, isDecodedProperty, resetDecodedProperties, setDecodedProperty, setItemDisabledStyleClass, setItemHighlightedStyleClass, setItemStyleClass |
| Methods inherited from class javax.faces.component.UIInput |
|---|
addValidator, addValueChangeListener, compareValues, decode, getConvertedValue, getSubmittedValue, getValidator, getValidators, getValueChangeListener, getValueChangeListeners, isImmediate, isLocalValueSet, isRequired, isValid, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, setImmediate, setLocalValueSet, setRequired, setSubmittedValue, setValid, setValidator, setValue, setValueChangeListener, validate, 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 |
| Constructor Detail |
|---|
public IlvFacesContextualMenu()
IlvFacesContextualMenu 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 IlvFacesMenupublic static String getComponentType()
public IlvMenuFactory getFactory()
public void setFactory(IlvMenuFactory factory)
factory - The factory to set.public String getFactoryClass()
factory property is not set.
public void setFactoryClass(String factoryClass)
factory property is not set.
factoryClass - The factoryClass to set.public IlvObjectSelectedFinder getObjectSelectedFinder()
public void setObjectSelectedFinder(IlvObjectSelectedFinder objectSelectFinder)
objectSelectFinder - The object finder.public void updateModel(FacesContext context)
updateModel in class IlvFacesMenupublic Object saveState(FacesContext context)
saveState in interface IlvFacesComponentsaveState in interface StateHoldersaveState in class IlvFacesMenucontext - The current faces context.
public void restoreState(FacesContext context,
Object stateObj)
restoreState in interface IlvFacesComponentrestoreState in interface StateHolderrestoreState in class IlvFacesMenucontext - 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 | |||||||||