public interface PickedObjectFactory
This interface is used by PickSupport to associate a collection of picked objects with a range of pick colors. PickSupport uses this factory to delay PickedObject construction until a matching pick color is identified. This eliminates the overhead of creating and managing a large collection of PickedObject instances when only a few may actually be picked.
Modifier and Type | Method and Description |
---|---|
PickedObject |
createPickedObject(int colorCode)
Create a picked object from the specified pick color code.
|
PickedObject createPickedObject(int colorCode)
colorCode
- the pick color code to associate with the picked object.