Class PaletteImpl.SingleObjectSelectionModel<R>
- java.lang.Object
- 
- com.inductiveautomation.factorypmi.designer.palette.model.PaletteImpl.SingleObjectSelectionModel<R>
 
- 
- Enclosing class:
- PaletteImpl
 
 public static class PaletteImpl.SingleObjectSelectionModel<R> extends java.lang.ObjectImplementation copied (and simplified) from DefaultSingleSelectionModel and modified to handle objects, not ints.
- 
- 
Field SummaryFields Modifier and Type Field Description protected javax.swing.event.ChangeEventchangeEventprotected javax.swing.event.EventListenerListlistenerListThe collection of registered listeners
 - 
Constructor SummaryConstructors Constructor Description SingleObjectSelectionModel()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddChangeListener(javax.swing.event.ChangeListener l)voidclearSelection()protected voidfireStateChanged()Notifies all listeners that have registered interest for notification on this event type.RgetSelected()booleanisSelected()voidremoveChangeListener(javax.swing.event.ChangeListener l)voidsetSelected(R obj)
 
- 
- 
- 
Method Detail- 
getSelectedpublic R getSelected() 
 - 
setSelectedpublic void setSelected(R obj) 
 - 
clearSelectionpublic void clearSelection() 
 - 
isSelectedpublic boolean isSelected() 
 - 
addChangeListenerpublic void addChangeListener(javax.swing.event.ChangeListener l) 
 - 
removeChangeListenerpublic void removeChangeListener(javax.swing.event.ChangeListener l) 
 - 
fireStateChangedprotected void fireStateChanged() Notifies all listeners that have registered interest for notification on this event type. The event instance is created lazily.- See Also:
- EventListenerList
 
 
- 
 
-