|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gef.rulers.RulerChangeListener.Stub
Stub for the RulerChangeListener interface. Clients not intending to implement all the methods in that interface can extend this class.
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 |
public RulerChangeListener.Stub()
Method Detail |
public void notifyUnitsChanged(int newUnit)
RulerChangeListener
notifyUnitsChanged
in interface RulerChangeListener
newUnit
- The new unit of measurement (RulerProvider.UNIT_INCES,
UNIT_CENTIMETERS, or UNIT_PIXELS)RulerChangeListener.notifyUnitsChanged(int)
public void notifyGuideReparented(java.lang.Object guide)
RulerChangeListener
notifyGuideReparented
in interface RulerChangeListener
guide
- The guide that was added or removedRulerChangeListener.notifyGuideReparented(java.lang.Object)
public void notifyGuideMoved(java.lang.Object guide)
RulerChangeListener
notifyGuideMoved
in interface RulerChangeListener
guide
- The guide that was movedRulerChangeListener.notifyGuideMoved(java.lang.Object)
public void notifyPartAttachmentChanged(java.lang.Object part, java.lang.Object guide)
RulerChangeListener
notifyPartAttachmentChanged
in interface RulerChangeListener
part
- The model representation of the graphical compoment that was attachedguide
- The guide that the part was attached toRulerChangeListener.notifyPartAttachmentChanged(java.lang.Object, java.lang.Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |