ilog.views.sdm
Class IlvSDMCompositeContext
java.lang.Object
ilog.views.sdm.IlvSDMCompositeContext
- All Implemented Interfaces:
- IlvCompositeContext
public class IlvSDMCompositeContext
- extends Object
- implements IlvCompositeContext
This helper class is the implementation of IlvCompositeContext
for SDM.
It provides an API for the swing actions triggered on mouse events that occurred
on a composite. This API allows the action to modify object properties of an
object of an SDM model
- Since:
- JViews 8.0
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IlvSDMCompositeContext
public IlvSDMCompositeContext(IlvSDMEngine engine)
- Parameters:
engine - the SDM engine corresponding to the view
on which an event occurred
setProperty
public void setProperty(IlvGraphic graphic,
String name,
Object value)
- Sets a property on an object of the SDM model. The SDM object
is mapped to the
IlvGraphic passed as a parameter.
- Specified by:
setProperty in interface IlvCompositeContext
- Parameters:
graphic - the composite graphic on which the event occurredname - the property name to modifyvalue - the value of the property
getProperty
public Object getProperty(IlvGraphic graphic,
String name)
- Returns the property of an object of the SDM model. The SDM object
is mapped to the
IlvGraphic passed as a parameter.
- Specified by:
getProperty in interface IlvCompositeContext
- Parameters:
graphic - the composite on which an event occurredname - a property name
- Returns:
- the value of the property
Copyright © 1996-2007 ILOG S.A. All rights reserved. Documentation homepage.