net.xoetrope.xui.registry
Interface XInspector


public interface XInspector

An interface used to inspect an instance for an Inspector match

Copyright (c) Xoetrope Ltd., 1998-2006. See license.txt for more details


Method Summary
 boolean inspect(java.lang.Object comp, java.util.Hashtable regConfig, java.util.Hashtable instConfig)
          Called by the registration factory for XInspectorRegistration instances to allow this matcher to arbitarate as to whether or not the component can be used with the particular registration object.
 

Method Detail

inspect

boolean inspect(java.lang.Object comp,
                java.util.Hashtable regConfig,
                java.util.Hashtable instConfig)
Called by the registration factory for XInspectorRegistration instances to allow this matcher to arbitarate as to whether or not the component can be used with the particular registration object.

Parameters:
comp - the component involved in the drag oepration
regConfig - a table of registration attributes
instConfig - a table of attributes used in the instance declaration
Returns:
true if the handler matches, otehrwise false