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 GEF
3.3

org.eclipse.gef.rulers
Class RulerChangeListener.Stub

java.lang.Object
  extended by
org.eclipse.gef.rulers.RulerChangeListener.Stub
All Implemented Interfaces:
RulerChangeListener
Enclosing class:
RulerChangeListener

public static class RulerChangeListener.Stub
extends java.lang.Object
implements RulerChangeListener

Stub for the RulerChangeListener interface. Clients not intending to implement all the methods in that interface can extend this class.

Since:
3.0

Nested Class Summary
 
Nested classes inherited from class org.eclipse.gef.rulers. RulerChangeListener
RulerChangeListener.Stub
 
Constructor Summary
RulerChangeListener.Stub ()
           
 
Method Summary
 void notifyGuideMoved (java.lang.Object guide)
          Invoked when a guide is moved.
 void notifyGuideReparented (java.lang.Object guide)
          Invoked when a guide is added to or removed from a ruler.
 void notifyPartAttachmentChanged (java.lang.Object part, java.lang.Object guide)
          Invoked when a graphical component is attached to a guide.
 void notifyUnitsChanged (int newUnit)
          Invoked when the ruler's unit of measurement is changed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RulerChangeListener.Stub

public RulerChangeListener.Stub()
Method Detail

notifyUnitsChanged

public void notifyUnitsChanged(int newUnit)
Description copied from interface: RulerChangeListener
Invoked when the ruler's unit of measurement is changed.

Specified by:
notifyUnitsChanged in interface RulerChangeListener
Parameters:
newUnit - The new unit of measurement (RulerProvider.UNIT_INCES, UNIT_CENTIMETERS, or UNIT_PIXELS)
See Also:
RulerChangeListener.notifyUnitsChanged(int)

notifyGuideReparented

public void notifyGuideReparented(java.lang.Object guide)
Description copied from interface: RulerChangeListener
Invoked when a guide is added to or removed from a ruler.

Specified by:
notifyGuideReparented in interface RulerChangeListener
Parameters:
guide - The guide that was added or removed
See Also:
RulerChangeListener.notifyGuideReparented(Object)

notifyGuideMoved

public void notifyGuideMoved(java.lang.Object guide)
Description copied from interface: RulerChangeListener
Invoked when a guide is moved.

Specified by:
notifyGuideMoved in interface RulerChangeListener
Parameters:
guide - The guide that was moved
See Also:
RulerChangeListener.notifyGuideMoved(Object)

notifyPartAttachmentChanged

public void notifyPartAttachmentChanged(java.lang.Object part,
                                        java.lang.Object guide)
Description copied from interface: RulerChangeListener
Invoked when a graphical component is attached to a guide.

Specified by:
notifyPartAttachmentChanged in interface RulerChangeListener
Parameters:
part - The model representation of the graphical compoment that was attached
guide - The guide that the part was attached to
See Also:
RulerChangeListener.notifyPartAttachmentChanged(Object, Object)

Eclipse GEF
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