Class AbstractPaletteItem
java.lang.Object
com.inductiveautomation.vision.api.designer.palette.AbstractPaletteItem
- All Implemented Interfaces:
- ComponentInstantiator,- PaletteItem
- Direct Known Subclasses:
- JavaBeanPaletteItem,- SerializedPaletteItem
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidvoidaddPropertyChangeListener(String propertyName, PropertyChangeListener listener) protected voidfirePropertyChange(String propertyName, Object oldValue, Object newValue) The name of the type of component that will be createdgetIcon()getName()booleanIs this palette item currently enabled?booleanIs this palette item currently selected? Some types of palette items may never become selectedvoidvoidremovePropertyChangeListener(String propertyName, PropertyChangeListener listener) protected voidsetDisplayName(String displayName) voidsetEnabled(boolean enabled) protected voidprotected voidvoidsetSelected(boolean selected) Select this palette item.protected voidsetShortDescription(String shortDescription) protected voidsetSmallIcon(Icon smallIcon) toString()Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.inductiveautomation.vision.api.designer.ComponentInstantiatorcreateComponentMethods inherited from interface com.inductiveautomation.vision.api.designer.palette.PaletteItemisSelectable
- 
Constructor Details- 
AbstractPaletteItempublic AbstractPaletteItem()
 
- 
- 
Method Details- 
isEnabledpublic boolean isEnabled()Description copied from interface:PaletteItemIs this palette item currently enabled?- Specified by:
- isEnabledin interface- PaletteItem
 
- 
setEnabledpublic void setEnabled(boolean enabled) - Specified by:
- setEnabledin interface- PaletteItem
 
- 
isSelectedpublic boolean isSelected()Description copied from interface:PaletteItemIs this palette item currently selected? Some types of palette items may never become selected- Specified by:
- isSelectedin interface- PaletteItem
 
- 
setSelectedpublic void setSelected(boolean selected) Description copied from interface:PaletteItemSelect this palette item. Some types of palette items may not accept becoming selected- Specified by:
- setSelectedin interface- PaletteItem
 
- 
getDisplayNameDescription copied from interface:ComponentInstantiatorThe name of the type of component that will be created- Specified by:
- getDisplayNamein interface- ComponentInstantiator
 
- 
getName- Specified by:
- getNamein interface- PaletteItem
 
- 
getShortDescription- Specified by:
- getShortDescriptionin interface- PaletteItem
 
- 
setDisplayName
- 
setName
- 
setShortDescription
- 
toString
- 
firePropertyChange
- 
addPropertyChangeListener- Specified by:
- addPropertyChangeListenerin interface- PaletteItem
 
- 
addPropertyChangeListener- Specified by:
- addPropertyChangeListenerin interface- PaletteItem
 
- 
removePropertyChangeListener- Specified by:
- removePropertyChangeListenerin interface- PaletteItem
 
- 
removePropertyChangeListener- Specified by:
- removePropertyChangeListenerin interface- PaletteItem
 
- 
getIcon- Specified by:
- getIconin interface- PaletteItem
 
- 
setIcon
- 
getSmallIcon- Specified by:
- getSmallIconin interface- PaletteItem
 
- 
setSmallIcon
 
-