|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjmri.jmrix.loconet.LnSecurityElementManager
public class LnSecurityElementManager
Manager for SecurityElement objects, currently local to LocoNet implementations. Provides basic rendevous services. Also serves as the manager for AspectGenerator objects (for now).
| Field Summary | |
|---|---|
protected Hashtable |
mHashAG
|
protected Hashtable |
mHashSE
|
| Constructor Summary | |
|---|---|
LnSecurityElementManager()
|
|
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener l)
|
void |
dispose()
|
protected void |
firePropertyChange(String p,
Object old,
Object n)
|
AspectGenerator |
getAspectGenerator(int i)
Create a new object as needed |
AspectGenerator |
getAspectGenerator(String name)
|
List |
getAspectGeneratorList()
Get the list of known AspectGenerator objects, unsorted |
SecurityElement |
getSecurityElement(int i)
Create a new object as needed |
SecurityElement |
getSecurityElement(String name)
|
List |
getSecurityElementList()
Get the list of known SecurityElement objects, unsorted |
static LnSecurityElementManager |
instance()
|
void |
removePropertyChangeListener(PropertyChangeListener l)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Hashtable mHashSE
protected Hashtable mHashAG
| Constructor Detail |
|---|
public LnSecurityElementManager()
| Method Detail |
|---|
public void dispose()
throws JmriException
JmriExceptionpublic List getSecurityElementList()
public List getAspectGeneratorList()
public SecurityElement getSecurityElement(int i)
public SecurityElement getSecurityElement(String name)
public AspectGenerator getAspectGenerator(int i)
public AspectGenerator getAspectGenerator(String name)
public void addPropertyChangeListener(PropertyChangeListener l)
protected void firePropertyChange(String p,
Object old,
Object n)
public void removePropertyChangeListener(PropertyChangeListener l)
public static LnSecurityElementManager instance()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||