jmri.jmrix.rfid
Class RfidSystemConnectionMemo

java.lang.Object
  extended by jmri.jmrix.SystemConnectionMemo
      extended by jmri.jmrix.rfid.RfidSystemConnectionMemo
Direct Known Subclasses:
SpecificSystemConnectionMemo, SpecificSystemConnectionMemo

public class RfidSystemConnectionMemo
extends SystemConnectionMemo

Lightweight class to denote that a system is active, and provide general information.

Objects of specific subtypes are registered in the instance manager to activate their particular system.


This file is part of JMRI.

JMRI is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation. See the "COPYING" file for a copy of this license.

JMRI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Author:
Bob Jacobsen Copyright (C) 2010, Matthew Harris Copyright (C) 2011

Field Summary
 
Fields inherited from class jmri.jmrix.SystemConnectionMemo
sysPrefixes, userNames
 
Constructor Summary
RfidSystemConnectionMemo()
           
RfidSystemConnectionMemo(RfidTrafficController rt)
           
 
Method Summary
 void configureManagers()
           
 void dispose()
           
<T> T
get(Class<?> T)
          Does this connection provide a manager of this type?
protected  ResourceBundle getActionModelResourceBundle()
           
 RfidReporterManager getReporterManager()
           
 RfidSensorManager getSensorManager()
           
 RfidTrafficController getTrafficController()
           
 boolean provides(Class<?> type)
          Tells which managers this provides by class
 void setRfidTrafficController(RfidTrafficController rt)
           
 
Methods inherited from class jmri.jmrix.SystemConnectionMemo
addPropertyChangeListener, addToActionList, getDisabled, getSystemPrefix, getUserName, notifyPropertyChangeListener, register, removeFromActionList, removePropertyChangeListener, setDisabled, setSystemPrefix, setUserName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RfidSystemConnectionMemo

public RfidSystemConnectionMemo(RfidTrafficController rt)

RfidSystemConnectionMemo

public RfidSystemConnectionMemo()
Method Detail

getTrafficController

public RfidTrafficController getTrafficController()

setRfidTrafficController

public final void setRfidTrafficController(RfidTrafficController rt)

configureManagers

public void configureManagers()

getSensorManager

public RfidSensorManager getSensorManager()

getReporterManager

public RfidReporterManager getReporterManager()

provides

public boolean provides(Class<?> type)
Tells which managers this provides by class

Overrides:
provides in class SystemConnectionMemo
Parameters:
type - manager type to check
Returns:
true if provided

get

public <T> T get(Class<?> T)
Description copied from class: SystemConnectionMemo
Does this connection provide a manager of this type?

Overrides:
get in class SystemConnectionMemo

getActionModelResourceBundle

protected ResourceBundle getActionModelResourceBundle()
Specified by:
getActionModelResourceBundle in class SystemConnectionMemo

dispose

public void dispose()
Overrides:
dispose in class SystemConnectionMemo


Copyright © 1997 - 2011 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.

Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: Get JMRI Model Railroad Interface at SourceForge.net. Fast, secure and Free Open Source software downloads