![]() | InDesign SDK 20.5 |
#include <INudgeHandler.h>

Public Member Functions | |
| virtual void | StartNudging ()=0 |
| virtual void | DoNudge ()=0 |
| virtual void | EndNudging ()=0 |
| virtual void | SetLargeNudge (bool16 largeNudge)=0 |
| virtual bool16 | GetLargeNudge ()=0 |
| virtual void | SetNudgeUp (bool16 nudgeUp)=0 |
| virtual bool16 | GetNudgeUp ()=0 |
| virtual void | SetAssociateEditBox (IControlView *ebView)=0 |
| virtual IControlView * | GetAssociateEditBox ()=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
This interface supports nudging values in editboxes. There's some user behavior we want to support which requires us to have this fancy interface. Namely: If the user clicks once on a nudge arrow button for an editbox, we want to increase the value in the editbox, and notify so the action associated with the editbox will happen. If the user holds shift and clicks once on a nudge arrow button for an editbox, we want to increase the value in the editbox by a larger amount, and notify so the action associated with the editbox will happen. If the user clicks on the nudge arrow and holds down the mouse button, we want to do the nudging, but not actually do the action for the new value until they release the mouse. Typically a 3rd party would not have to call or implement this interface.
| pure virtual |
Nudge one increment
| pure virtual |
Nudging is complete. This typically does a broadcast
| pure virtual |
Get the editbox we're going to be nudging.
| pure virtual |
Get if we're doing large or small nudging.
| pure virtual |
Get if we are going to nudge up or down.
| pure virtual |
Set the editbox we're going to be nudging.
| ebView | the editbox widget we're going to nudge. |
| pure virtual |
Set if we're doing large or small nudging.
| largeNudge | true if we are going to do large nudging. |
| pure virtual |
Set if we are going to nudge up or down.
| nudgeUp | kTrue if we are going to nudge up |
| pure virtual |
Nudging is beginning