|
GEF (MVC) 3.9.0.201308190730 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RulerChangeListener
RulerChangeListeners can be added to RulerProviders
to receive notification about changes in the ruler/guide properties. This
interface provides a mechanism for the (client-side) ruler/guide model to
communicate changes to GEF's ruler/guide feature.
RulerProvider| Nested Class Summary | |
|---|---|
static class |
RulerChangeListener.Stub
Stub for the RulerChangeListener interface. |
| 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. |
| Method Detail |
|---|
void notifyUnitsChanged(int newUnit)
newUnit - The new unit of measurement (RulerProvider.UNIT_INCES,
UNIT_CENTIMETERS, or UNIT_PIXELS)void notifyGuideReparented(java.lang.Object guide)
guide - The guide that was added or removedvoid notifyGuideMoved(java.lang.Object guide)
guide - The guide that was moved
void notifyPartAttachmentChanged(java.lang.Object part,
java.lang.Object guide)
part - The model representation of the graphical compoment that was
attachedguide - The guide that the part was attached to
|
GEF (MVC) 3.9.0.201308190730 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||