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 Summary
FieldsModifier and TypeFieldDescriptionprotected ChangeEventprotected EventListenerListThe collection of registered listeners -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidprotected voidNotifies all listeners that have registered interest for notification on this event type.booleanvoidvoidsetSelected(R obj)
-
Field Details
-
changeEvent
-
listenerList
The collection of registered listeners
-
-
Constructor Details
-
SingleObjectSelectionModel
public SingleObjectSelectionModel()
-
-
Method Details
-
getSelected
-
setSelected
-
clearSelection
public void clearSelection() -
isSelected
public boolean isSelected() -
addChangeListener
-
removeChangeListener
-
fireStateChanged
protected void fireStateChanged()Notifies all listeners that have registered interest for notification on this event type. The event instance is created lazily.- See Also:
-