Packagecom.yworks.graph.input
Interfacepublic interface IPortLocationModelParameterProvider

Helper interface used by IPortLocationModel implementations to provide possible candidate IPortLocationModelParameters for a given port and model. Implementations of this interface can be retrieved from the IPortLocationModel's lookup method. Note that not all models necessarily need to or can provide implementations of this interface.

See also

com.yworks.graph.model.portLocation.IPortLocationModel.lookup
IPortLocationModelParameter


Public Methods
 MethodDefined By
  
Returns an iterator over a set of possible IPortLocationModelParameter instances that can be used for a given port and model.
IPortLocationModelParameterProvider
Method Detail
getParameters()method
public function getParameters(port:IPort, model:IPortLocationModel):Iterable

Returns an iterator over a set of possible IPortLocationModelParameter instances that can be used for a given port and model.

Parameters

port:IPort — The port instance to use.
 
model:IPortLocationModel — The model to provide parameters for.

Returns
Iterable — A possibly empty enumerator over a set of port location model parameters.

See also

IPortLocationModelParameter