Package adams.gui.core
Class HelpSupporterUtils.HelpSupporterObserver
- java.lang.Object
-
- adams.gui.core.HelpSupporterUtils.HelpSupporterObserver
-
- All Implemented Interfaces:
PropertyTraversal.Observer
- Enclosing class:
- HelpSupporterUtils
public static class HelpSupporterUtils.HelpSupporterObserver extends Object implements PropertyTraversal.Observer
For locatingHelpSupporter
instances.
-
-
Field Summary
Fields Modifier and Type Field Description protected List<HelpSupporter>
m_Supporters
the instances.
-
Constructor Summary
Constructors Constructor Description HelpSupporterObserver()
Initializes the observer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<HelpSupporter>
getSupporters()
Returns the supporters, if any.boolean
observe(PropertyPath.Path path, PropertyDescriptor desc, Object parent, Object child)
Presents the current path, descriptor and object to the observer.
-
-
-
Field Detail
-
m_Supporters
protected List<HelpSupporter> m_Supporters
the instances.
-
-
Method Detail
-
observe
public boolean observe(PropertyPath.Path path, PropertyDescriptor desc, Object parent, Object child)
Presents the current path, descriptor and object to the observer.- Specified by:
observe
in interfacePropertyTraversal.Observer
- Parameters:
path
- the pathdesc
- the property descriptorparent
- the parent objectchild
- the child object- Returns:
- true if to continue observing
-
getSupporters
public List<HelpSupporter> getSupporters()
Returns the supporters, if any.- Returns:
- the supporters
-
-