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 ChangeEvent
protected EventListenerList
The collection of registered listeners -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
protected void
Notifies all listeners that have registered interest for notification on this event type.boolean
void
void
setSelected
(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:
-