public static class RulerChangeListener.Stub extends java.lang.Object implements RulerChangeListener
RulerChangeListener.Stub
Constructor and Description |
---|
RulerChangeListener.Stub() |
Modifier and Type | Method and Description |
---|---|
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.
|
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(Object)
public void notifyGuideMoved(java.lang.Object guide)
RulerChangeListener
notifyGuideMoved
in interface RulerChangeListener
guide
- The guide that was movedRulerChangeListener.notifyGuideMoved(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(Object, Object)
Copyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.