Package jmri.jmrit.logixng
Interface StringActionManager
- 
- All Superinterfaces:
- BaseManager<MaleStringActionSocket>,- Manager<MaleStringActionSocket>,- PropertyChangeProvider,- SilenceablePropertyChangeProvider,- VetoableChangeProvider
 - All Known Implementing Classes:
- DefaultStringActionManager
 
 public interface StringActionManager extends BaseManager<MaleStringActionSocket> Manager for StringActionBean
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface jmri.ManagerManager.ManagerDataEvent<E extends NamedBean>, Manager.ManagerDataListener<E extends NamedBean>, Manager.NameValidity
 
- 
 - 
Field Summary- 
Fields inherited from interface jmri.ManagerANALOGIOS, AUDIO, BLOCKBOSS, BLOCKS, CONDITIONALS, CTCDATA, ENTRYEXIT, IDTAGS, LAYOUTBLOCKS, LIGHTS, LOGIXNG_ANALOG_ACTIONS, LOGIXNG_ANALOG_EXPRESSIONS, LOGIXNG_CONDITIONALNGS, LOGIXNG_DIGITAL_ACTIONS, LOGIXNG_DIGITAL_BOOLEAN_ACTIONS, LOGIXNG_DIGITAL_EXPRESSIONS, LOGIXNG_GLOBAL_VARIABLES, LOGIXNG_MODULES, LOGIXNG_STRING_ACTIONS, LOGIXNG_STRING_EXPRESSIONS, LOGIXNG_TABLES, LOGIXNGS, LOGIXS, MEMORIES, METERFRAMES, METERS, OBLOCKS, PANELFILES, PROPERTY_BEANS, PROPERTY_CAN_DELETE, PROPERTY_DISPLAY_LIST_NAME, PROPERTY_DO_DELETE, PROPERTY_DO_NOT_DELETE, PROPERTY_LENGTH, REPORTERS, ROUTES, SECTIONS, SENSORGROUPS, SENSORS, SIGNALGROUPS, SIGNALHEADS, SIGNALMASTLOGICS, SIGNALMASTS, STRINGIOS, TIMEBASE, TRANSITS, TURNOUTS, WARRANTS
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description FemaleStringActionSocketcreateFemaleSocket(Base parent, FemaleSocketListener listener, java.lang.String socketName)voiddeleteStringAction(MaleStringActionSocket x)Delete StringAction by removing it from the manager.java.util.Map<Category,java.util.List<java.lang.Class<? extends Base>>>getActionClasses()Get a set of classes that implements the DigitalAction interface.java.lang.StringgetAutoSystemName()Create a new system name for an StringActionBean.default java.lang.StringgetSubSystemNamePrefix()Get the sub system prefix of this manager.MaleStringActionSocketregisterAction(StringActionBean action)Remember a NamedBean Object created outside the manager.- 
Methods inherited from interface jmri.jmrit.logixng.BaseManagerdeleteBean, getLastRegisteredMaleSocket, getMaleSocketClass, registerBean, registerMaleSocketFactory
 - 
Methods inherited from interface jmri.ManageraddDataListener, deleteBean, deregister, dispose, getBeanTypeHandled, getBeanTypeHandled, getBySystemName, getByUserName, getEntryToolTip, getKnownBeanProperties, getMemo, getNamedBean, getNamedBeanClass, getNamedBeanSet, getObjectCount, getSystemNamePrefix, getSystemPrefix, getXMLOrder, isValidSystemNameFormat, makeSystemName, makeSystemName, makeSystemName, register, removeDataListener, setDataListenerMute, typeLetter, validateBadCharsInSystemNameFormat, validateIntegerSystemNameFormat, validateNmraAccessorySystemNameFormat, validateSystemNameFormat, validateSystemNameFormat, validateSystemNameFormatOnlyNumeric, validateSystemNamePrefix, validateTrimmedMin1NumberSystemNameFormat, validateTrimmedSystemNameFormat, validateUppercaseTrimmedSystemNameFormat, validSystemNameFormat
 - 
Methods inherited from interface jmri.beans.PropertyChangeProvideraddPropertyChangeListener, addPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener
 - 
Methods inherited from interface jmri.beans.SilenceablePropertyChangeProvidersetPropertyChangesSilenced
 - 
Methods inherited from interface jmri.beans.VetoableChangeProvideraddVetoableChangeListener, addVetoableChangeListener, getVetoableChangeListeners, getVetoableChangeListeners, removeVetoableChangeListener, removeVetoableChangeListener
 
- 
 
- 
- 
- 
Method Detail- 
registerActionMaleStringActionSocket registerAction(@Nonnull StringActionBean action) throws java.lang.IllegalArgumentException Remember a NamedBean Object created outside the manager. This method creates a MaleStringActionSocket for the action.- Parameters:
- action- the bean
- Returns:
- the male socket for this action
- Throws:
- java.lang.IllegalArgumentException- if the action has an invalid system name
 
 - 
getAutoSystemNamejava.lang.String getAutoSystemName() Create a new system name for an StringActionBean.- Returns:
- a new system name
 
 - 
createFemaleSocketFemaleStringActionSocket createFemaleSocket(Base parent, FemaleSocketListener listener, java.lang.String socketName) 
 - 
getActionClassesjava.util.Map<Category,java.util.List<java.lang.Class<? extends Base>>> getActionClasses() Get a set of classes that implements the DigitalAction interface.- Returns:
- a set of entries with category and class
 
 - 
getSubSystemNamePrefixdefault java.lang.String getSubSystemNamePrefix() Get the sub system prefix of this manager. The sub system prefix is the system name prefix and possibly some extra characters of the NamedBeans handled by this manager.For most managers, this is the same as Manager.getSystemNamePrefix(), but for some like the managers in LogixNG, it differs. The sub system prefix for the StringActionManager isManager.getSystemNamePrefix()and "SA";- Specified by:
- getSubSystemNamePrefixin interface- Manager<MaleStringActionSocket>
- Returns:
- the sub system prefix
 
 - 
deleteStringActionvoid deleteStringAction(MaleStringActionSocket x) Delete StringAction by removing it from the manager. The Action must first be deactivated so it stops processing.- Parameters:
- x- the StringAction to delete
 
 
- 
 
-