ilog.views.diagrammer.faces.component.data
Class IlvFacesDiagrammerDataSource

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.views.diagrammer.faces.component.data.IlvFacesDiagrammerDataSource
All Implemented Interfaces:
IlvFacesDiagrammerConstants, IlvFacesComponent, IlvFacesConstants, Serializable, StateHolder
Direct Known Subclasses:
IlvFacesDiagrammerXMLDataSource

public class IlvFacesDiagrammerDataSource
extends IlvFacesComponentBase
implements IlvFacesDiagrammerConstants

This class is the component class for a data source to link to a diagrammer view through its setDataSourceId method.
An IlvDataSource instance must be wrapped in this component via the value property to properly use this component.

Since:
JViews 6.5
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface ilog.views.diagrammer.faces.IlvFacesDiagrammerConstants
DASHBOARD_DIAGRAM, DATA_SOURCE, DATA_SOURCE_ID, DATA_URL, DIAGRAMMER, EDITABLE, INPUT_XSL, OUTPUT_XSL, PARAM_CSS, PARAM_XML, 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
IlvFacesDiagrammerDataSource()
          Creates a new IlvFacesDiagrammerDataSource instance.
 
Method Summary
static String getComponentType()
          Returns the type of this component.
 String getFamily()
          
 IlvDiagrammerDataSource getValue()
          Returns the wrapped IlvDataSource instance handled by this component.
 boolean isRefreshData()
          Returns the Boolean indicating that this data source will be refreshed during the lifecycle.
 void setRefreshData(boolean refreshData)
          Sets whether this data source should be refreshed during the lifecycle.
 void setValue(IlvDiagrammerDataSource value)
          Sets the wrapped IlvDataSource instance handled by this 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, 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
 

Constructor Detail

IlvFacesDiagrammerDataSource

public IlvFacesDiagrammerDataSource()
Creates a new IlvFacesDiagrammerDataSource instance.

Method Detail

getFamily

public String getFamily()

Specified by:
getFamily in class UIComponent

getComponentType

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

Returns:
The type of this component.

isRefreshData

public boolean isRefreshData()
Returns the Boolean indicating that this data source will be refreshed during the lifecycle.

Returns:
true if this data source will be refreshed during the lifecycle.

setRefreshData

public void setRefreshData(boolean refreshData)
Sets whether this data source should be refreshed during the lifecycle.

Parameters:
refreshData - A Boolean value indicating that this data source should be refreshed or not.

getValue

public IlvDiagrammerDataSource getValue()
Returns the wrapped IlvDataSource instance handled by this component.

Returns:
The wrapped IlvDataSource instance.

setValue

public void setValue(IlvDiagrammerDataSource value)
Sets the wrapped IlvDataSource instance handled by this component.

Parameters:
value - The wrapped IlvDataSource instance.


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