-
- Type Parameters:
B
- type of supported NamedBean
- All Superinterfaces:
Manager<B>
,PropertyChangeProvider
,SilenceablePropertyChangeProvider
,VetoableChangeProvider
- All Known Implementing Classes:
AbstractProvidingProxyManager
,AbstractProxyManager
,ProxyAnalogIOManager
,ProxyIdTagManager
,ProxyLightManager
,ProxyMeterManager
,ProxyReporterManager
,ProxySensorManager
,ProxyStringIOManager
,ProxyTurnoutManager
public interface ProxyManager<B extends NamedBean> extends Manager<B>
Interface for Managers of NamedBeans that are proxies for a collection of Managers for the same type of NamedBean.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jmri.Manager
Manager.ManagerDataEvent<E extends NamedBean>, Manager.ManagerDataListener<E extends NamedBean>, Manager.NameValidity
-
-
Field Summary
-
Fields inherited from interface jmri.Manager
ANALOGIOS, 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, REPORTERS, ROUTES, SECTIONS, SENSORGROUPS, SENSORS, SIGNALGROUPS, SIGNALHEADS, SIGNALMASTLOGICS, SIGNALMASTS, STRINGIOS, TIMEBASE, TRANSITS, TURNOUTS, WARRANTS
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addManager(Manager<B> manager)
Add a Manager to the collection of Managers.Manager<B>
getDefaultManager()
Get the default manager or the internal manager if no default manager has been set.java.util.List<Manager<B>>
getDisplayOrderManagerList()
Get a list of all managers, with the default as the first item and internal default as the last item.java.util.List<Manager<B>>
getManagerList()
Returns a list of all managers, including the internal manager.-
Methods inherited from interface jmri.Manager
addDataListener, deleteBean, deregister, dispose, getBeanTypeHandled, getBeanTypeHandled, getBySystemName, getByUserName, getEntryToolTip, getKnownBeanProperties, getMemo, getNamedBean, getNamedBeanClass, getNamedBeanSet, getObjectCount, getSubSystemNamePrefix, 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.PropertyChangeProvider
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener
-
Methods inherited from interface jmri.beans.SilenceablePropertyChangeProvider
setPropertyChangesSilenced
-
Methods inherited from interface jmri.beans.VetoableChangeProvider
addVetoableChangeListener, addVetoableChangeListener, getVetoableChangeListeners, getVetoableChangeListeners, removeVetoableChangeListener, removeVetoableChangeListener
-
-
-
-
Method Detail
-
addManager
void addManager(@Nonnull Manager<B> manager)
Add a Manager to the collection of Managers.- Parameters:
manager
- the Manager to add; if manager has already been added, it will not be added again
-
getDefaultManager
@Nonnull Manager<B> getDefaultManager()
Get the default manager or the internal manager if no default manager has been set.- Returns:
- the default manager or the internal manager
-
getManagerList
java.util.List<Manager<B>> getManagerList()
Returns a list of all managers, including the internal manager. This is not a live list, but it is in alpha order (don't assume default is at front)- Returns:
- the list of managers
-
getDisplayOrderManagerList
java.util.List<Manager<B>> getDisplayOrderManagerList()
Get a list of all managers, with the default as the first item and internal default as the last item.- Returns:
- the list of managers
-
-