Class PaletteImpl.SingleObjectSelectionModel<R>
java.lang.Object
com.inductiveautomation.factorypmi.designer.palette.model.PaletteImpl.SingleObjectSelectionModel<R>
- Enclosing class:
- PaletteImpl
Implementation copied (and simplified) from DefaultSingleSelectionModel and modified to handle objects, not ints.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected ChangeEventprotected EventListenerListThe collection of registered listeners
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidvoidprotected voidNotifies all listeners that have registered interest for notification on this event type.booleanvoidvoidsetSelected(R obj) 
- 
Field Details- 
changeEvent
- 
listenerListThe collection of registered listeners
 
- 
- 
Constructor Details- 
SingleObjectSelectionModelpublic SingleObjectSelectionModel()
 
- 
- 
Method Details- 
getSelected
- 
setSelected
- 
clearSelectionpublic void clearSelection()
- 
isSelectedpublic boolean isSelected()
- 
addChangeListener
- 
removeChangeListener
- 
fireStateChangedprotected void fireStateChanged()Notifies all listeners that have registered interest for notification on this event type. The event instance is created lazily.- See Also:
 
 
-