public class IlvSDMCompositeContext extends Object implements IlvCompositeContext
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.| Constructor and Description |
|---|
IlvSDMCompositeContext(IlvSDMEngine engine)
Constructs a composite context.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getProperty(IlvGraphic graphic,
String name)
Returns the property of an object of the SDM model.
|
void |
setProperty(IlvGraphic graphic,
String name,
Object value)
Sets a property on an object of the SDM model.
|
public IlvSDMCompositeContext(IlvSDMEngine engine)
engine - the SDM engine corresponding to the view
on which an event occurred.public void setProperty(IlvGraphic graphic, String name, Object value)
IlvGraphic passed as a parameter.setProperty in interface IlvCompositeContextgraphic - the composite graphic on which the event occurredname - the property name to modifyvalue - the value of the propertypublic Object getProperty(IlvGraphic graphic, String name)
IlvGraphic passed as a parameter.getProperty in interface IlvCompositeContextgraphic - the composite on which an event occurredname - a property name© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.