Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Draw2d
3.3

org.eclipse.draw2d
Interface AncestorListener

All Known Implementing Classes:
AbstractConnectionAnchor, AncestorListener.Stub

public interface AncestorListener

Classes which implement this interface provide methods to respond to changes in the ancestor properties of a Figure.

Instances of this class can be added as listeners to a figure using the addAncestorListener method and removed using the removeAncestoreListener method. When the parent chain of the figure being observed changes or moves, the listener will be notified appropriately.


Nested Class Summary
static class AncestorListener.Stub
          An empty implementation of AncestorListener for convenience.
 
Method Summary
 void ancestorAdded ( IFigure ancestor)
          Called when an ancestor has been added into the listening figure's hierarchy.
 void ancestorMoved ( IFigure ancestor)
          Called when an ancestor has moved to a new location.
 void ancestorRemoved ( IFigure ancestor)
          Called when an ancestor has been removed from the listening figure's hierarchy.
 

Method Detail

ancestorAdded

public void ancestorAdded(
IFigure ancestor)
Called when an ancestor has been added into the listening figure's hierarchy.

Parameters:
ancestor - The ancestor that was added

ancestorMoved

public void ancestorMoved(
IFigure ancestor)
Called when an ancestor has moved to a new location.

Parameters:
ancestor - The ancestor that has moved

ancestorRemoved

public void ancestorRemoved(
IFigure ancestor)
Called when an ancestor has been removed from the listening figure's hierarchy.

Parameters:
ancestor - The ancestor that has been removed

Eclipse Draw2d
3.3

Copyright (c) IBM Corp. and others 2000, 2007. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire