ilog.tgo.faces.datasource.component
Class IltFacesDataSource

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by ilog.views.faces.component.IlvFacesComponentBase
              extended by ilog.tgo.faces.datasource.component.IltFacesDataSource
All Implemented Interfaces:
IltFacesJTGOConstants, IlvFacesComponent, IlvFacesConstants, Serializable, StateHolder

public class IltFacesDataSource
extends IlvFacesComponentBase
implements IltFacesJTGOConstants

This class implements a data source Faces component that can be connected to any JTGO Faces view component (namely the network and equipment) through the property dataSourceId. The value property must be set with an instance of IlpAbstractDataSource.

Since:
JViews 7.5
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.faces.component.UIComponent
bindings
 
Fields inherited from interface ilog.tgo.faces.IltFacesJTGOConstants
CONTEXT, DATA_SOURCE, DATA_SOURCE_ID, DEFAULT_STYLE_SHEET, EQUIPMENT, NETWORK, OBJECT_ACTION_MB, PROPERTY_ACCESSOR, STYLE_SHEETS
 
Fields inherited from interface ilog.views.faces.IlvFacesConstants
BUTTON_GROUP_ID, BUTTON_TYPE, CHARTS_BUNDLE, CORE_BUNDLE, CURSOR, DATA, DECODED_PROPERTY, DEFAULT_LINE_COLOR, DELETION_ALLOWED, DIAGRAMMER_BUNDLE, ENABLED, FILL_ON, FORCE_UPDATE_PROPERTIES, FRAMEWORK_BUNDLE, GANTT_BUNDLE, HEIGHT, IMAGE, IMAGE_MODE, INFO_PROVIDER_MB, INT_NOT_DEFINED, ITEM_DISABLED_STYLE_CLASS, ITEM_HIGHLIGHTED_STYLE_CLASS, ITEM_STYLE_CLASS, LINE_COLOR, LINE_WIDTH, MAPS_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, PROJECT, RESOURCES_PATH, RESOURCES_PATH_PREFIX, ROLLOVER_IMAGE, SELECTED, SELECTED_IMAGE, SERVICE_FORWARD, SERVICE_FORWARD_INT, SERVLET, SERVLET_CLASS, SERVLET_URL, STYLE, STYLE_CLASS, TGO_BUNDLE, TITLE, TOGGLE, VALUE, VIEW, VIEW_ID, WIDTH
 
Constructor Summary
IltFacesDataSource()
          Creates a new IltFacesDataSource instance.
 
Method Summary
static String getComponentType()
          Returns the component type identifier of this component.
 String getFamily()
          
 IlpAbstractDataSource getValue()
          Gets the IlpAbstractDataSource data source wrapped by this Faces component.
 void setValue(IlpAbstractDataSource value)
          Sets the IlpAbstractDataSource data source wrapped by this Faces component.
 
Methods inherited from class ilog.views.faces.component.IlvFacesComponentBase
clearDecodedPropertyMap, createFacesComponent, getAttributes, getClientId, isDecodedProperty, processUpdates, resetDecodedProperties, restoreState, saveState, setDecodedProperty, updateModel
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getChildCount, getChildren, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, getValueExpression, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, setValueExpression
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getContainerClientId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IltFacesDataSource

public IltFacesDataSource()
Creates a new IltFacesDataSource instance.

Method Detail

setValue

public void setValue(IlpAbstractDataSource value)
Sets the IlpAbstractDataSource data source wrapped by this Faces component.

Parameters:
value - The IlpAbstractDataSource to be wrapped.

getValue

public IlpAbstractDataSource getValue()
Gets the IlpAbstractDataSource data source wrapped by this Faces component.

Returns:
The wrapped IlpAbstractDataSource.

getComponentType

public static String getComponentType()
Returns the component type identifier of this component.

Returns:
The component type identifier of this component.

getFamily

public String getFamily()

Specified by:
getFamily in class UIComponent


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.   . All Rights Reserved.