Method Summary |
|
public void | addComponentHandler(ComponentHandler compHandler, int priority) Registers a component handler with the specified priority. |
public void | addComponentHandler(ComponentHandler compHandler) Registers a component handler with the lowest priority. |
public void | addComponentsListener(ComponentsListener listener) Adds a components listeners. |
public synchronized void | addTree(Component component, boolean isIncluded, boolean isEnabled) Adds the whole component tree the specified component belongs to. |
public synchronized void | addTree(Component component) Adds the whole component tree the specified component belongs to. |
public synchronized void | allToFront() Puts all included, visible components to the front. |
public synchronized void | detectComponents(boolean isIncluded, boolean isEnabled) This method tries to detect new components which are not known yet. |
public void | fireComponentsEvent(ComponentsEvent event) Fires a components event to all registered listeners. |
public Window | getActiveIncludedRoot() Returns the active included root. |
public static String | getClassName(Object component) Returns the source class name belonging to a component. |
public synchronized Component | getComponent(String componentName) Returns the component belonging to a given component's name. |
public synchronized Component | getComponentByUserDefinedName(String userDefinedName) This method can be used if the method getComponent (String) has failed. |
public ComponentListener | getComponentListener() Returns the component listener. |
public ComponentSelection | getComponentSelection() |
public ComponentWatcher | getComponentWatcher() |
public ComponentHandler | getFirstComponentHandler(Component comp) Returns the first component handler which feels responsible for the given component. |
public GlassPaneManager | getGlassPaneManager() |
public Set | getIncludedRoots() Returns the included roots. |
public synchronized String | getIndicatorString(Component component) Returns the an indicator string of a given component. |
public Set | getJacaretoNames() Returns all Jacareto names. |
public ComponentMode | getMode() Returns the component mode. |
public synchronized String | getName(Component component) Returns the name of a given component. |
public Hashtable | getNameToItem() |
public Set | getNames() Returns the names of all known and included components as set. |
public Component | getRoot(Component component) Returns the root component of the component tree of a given component. |
public String | getUserDefinedName(String jacaretoName) Returns a user defined name for a given Jacareto name, or null if there is no
user defined name. |
public Hashtable | getUserDefinedNames() Returns a hashtable which maps Jacareto names to user defined names. |
public Window | getWindow(Component comp) Returns the window a given component belongs to. |
public void | handlePopUp(Window window) This function will be called by the pop up catcher when a window has been opened. |
public synchronized void | hideAllComponents() Hides all known components (except the excluded ones). |
public Enumeration | includedRoots() Returns an enumeration on all included roots. |
public synchronized boolean | isEnabled(Component component) Returns whether the specified component is enabled or not. |
public synchronized boolean | isEnabled(String componentName) Returns whether the component specified by its name is enabled or not. |
public synchronized boolean | isIncluded(Component component) Returns whether or not a given component is included. |
public synchronized boolean | isIncluded(String componentName) Returns whether the component specified by its name is included or not. |
public synchronized boolean | isKnown(Component component) Returns whether the specified component is known or not. |
public synchronized boolean | isKnown(String componentName) Returns whether the component with the specified component's name is known or not. |
public void | printRootNames() Prints all root names. |
public synchronized void | removeAll() Disposes all components known by this instance which are included and clears the tree model. |
public void | removeComponentsListener(ComponentsListener listener) Removes a components listeners. |
public void | renameOnlyVisibleWindowMatchingTo(String targetName) Tries to find a window for a window's Jacareto name which has the same class and is the only
one of this class which is visible. |
public synchronized void | restoreVisibility() Restores the visibility status of all included components (whether they are visible or not)
stored with the method
Components.saveVisibility() . |
public synchronized void | saveVisibility() Saves the visibility status of all included components (whether they are visible or not). |
public void | setDebugPrinting(boolean isDebugPrinting) Sets whether or not debug messages should be printed. |
public synchronized void | setEnabled(Component component, boolean isEnabled) Enables or disables a component for capturing. |
public synchronized void | setEnabled(String componentName, boolean isEnabled) Enables or disabled a component for capturing specified by its name. |
public void | setListeningToPopUps(boolean isListeningToPopUps) Defines whether this instance should listen to window pop ups or not. |
public void | setMode(ComponentMode mode) Sets the component mode. |
public void | setNameToItem(Hashtable hashtable) |
public synchronized void | setSubTreeEnabled(Component component, boolean isEnabled) Enabled or disabled a component and its whole subtree. |
public synchronized void | setSubTreeEnabled(String componentName, boolean isEnabled) Enables or disabled a component and its whole subtree specified by the component's name. |
public void | setUserDefinedName(String jacaretoName, String userDefinedName) Sets the user defined name for a given component. |
public synchronized void | setVisible(Component component, boolean isVisible) Makes a component visible or not. |
public void | toFront(Component comp) Puts a component and the whole tree this component is contained in to the front. |
public String | toString() Returns a string representation of this instance. |
public synchronized void | update() Updates the information hold by this instance top down. |
public synchronized void | validatePath(String componentName) Validates a path from a component to its root from bottom up. |