ilog.cpl.graphic
Interface IlpGraphicComponent

All Superinterfaces:
IlpObjectSelectionModel, IlpStylable, IlvStylable
All Known Subinterfaces:
IlpInteractiveGraphicComponent
All Known Implementing Classes:
IlpEquipment, IlpNetwork, IlpTable, IlpTree

public interface IlpGraphicComponent
extends IlpObjectSelectionModel, IlpStylable

This interface models common characteristics of JTGO graphic components.

Since:
JTGO 3.5

Field Summary
 
Fields inherited from interface ilog.cpl.css.IlpStylable
UPDATE_ALL_MASK, UPDATE_COMPONENT_MASK, UPDATE_NONE_MASK, UPDATE_OBJECTS_MASK
 
Fields inherited from interface ilog.views.util.styling.IlvStylable
APPLIED_RULE_MASK, BAD_CLASS_MASK, BAD_PROP_MASK, BAD_PROP_WITH_STACK_MASK, CREATED_MASK, DECL_MASK, DECL_VALUE_MASK, FAILED_CONVERSIONS_MASK, TIME_REPORT_MASK, WARNING_PROP_MASK
 
Method Summary
 IlpContext getContext()
          Returns the context.
 IlpDataSource getDataSource()
          Returns the data source that feeds the network.
 void setDataSource(IlpDataSource dataSource)
          Sets the data source that feeds the network.
 
Methods inherited from interface ilog.cpl.util.selection.IlpObjectSelectionModel
addSelectionObject, clearSelection, getSelectedObject, getSelectedObjects, isObjectSelected, removeSelectionObject, setSelectedObject, setSelectedObjects
 
Methods inherited from interface ilog.cpl.css.IlpStylable
setStyleSheets, setStyleSheets
 
Methods inherited from interface ilog.views.util.styling.IlvStylable
addPropertyChangeListener, getStyleSheetDebugMask, getStyleSheets, getStyleSheets, removePropertyChangeListener, setStyleSheetDebugMask, setStyleSheets, setStyleSheets
 

Method Detail

getContext

IlpContext getContext()
Returns the context.


getDataSource

IlpDataSource getDataSource()
Returns the data source that feeds the network.

Returns:
A data source or null if none has been set.

setDataSource

void setDataSource(IlpDataSource dataSource)
Sets the data source that feeds the network. Also creates a network adapter for the data source if none has been set. Also creates a network handler of type IlpNetworkHandlerWithDataSource if none has been set.



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