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

Public Types | |
| enum | { kDefaultIID = IID_ICOUNTERCONTROLDATA } |
Public Member Functions | |
| virtual void | SetMinimum (int32 min)=0 |
| virtual void | SetMaximum (int32 max)=0 |
| virtual void | SetValue (int32 value, bool16 invalidate=kTrue, bool16 notifyOfChange=kTrue)=0 |
| virtual void | SetPageSize (int32 pageSize)=0 |
| virtual int32 | GetMinimum () const =0 |
| virtual int32 | GetMaximum () const =0 |
| virtual int32 | GetValue () const =0 |
| virtual int32 | GetPageSize () const =0 |
| virtual int32 | Increment (bool16 invalidate=kTrue, bool16 notifyOfChange=kTrue)=0 |
| virtual int32 | Decrement (bool16 invalidate=kTrue, bool16 notifyOfChange=kTrue)=0 |
| virtual int32 | IncrementMultiple (bool16 invalidate=kTrue, bool16 notifyOfChange=kTrue)=0 |
| virtual int32 | DecrementMultiple (bool16 invalidate=kTrue, bool16 notifyOfChange=kTrue)=0 |
| virtual int32 | GetIncrement () const =0 |
| virtual int32 | GetIncrementMultiple () const =0 |
| virtual void | SetIncrement (int32 increment)=0 |
| virtual void | SetIncrementMultiple (int32 increment)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Interface representing counter state, used for widgets like a scrollbar or splitter.
| pure virtual |
| invalidate | if kTrue, specify that control needs redrawn |
| notifyOfChange | if kTrue, notify registered observers of change |
| pure virtual |
| invalidate | if kTrue, specify that control needs redrawn |
| notifyOfChange | if kTrue, notify registered observers of change |
| pure virtual |
Accessor for the current increment value of this counter
| pure virtual |
Accessor the multiple-increment property of this counter
| pure virtual |
Accessor for upper bound on counter range
| pure virtual |
Accessor for lower bound on counter range
| pure virtual |
Accessor for the "page size", i.e. how much of a scrollbar, say, is visible
| pure virtual |
Accessor for counter state
| pure virtual |
| invalidate | if kTrue, specify that control needs redrawn |
| notifyOfChange | if kTrue, notify registered observers of change |
| pure virtual |
| invalidate | if kTrue, specify that control needs redrawn |
| notifyOfChange | if kTrue, notify registered observers of change |
| pure virtual |
Specify a new increment for the counter. If 0, defaults to 1.
| increment | new increment for counter |
| pure virtual |
Specify a new multiple-increment property for counter. If 0, defaults to 1.
| increment | new multiple-increment for counter |
| pure virtual |
Specify upper bound for range spanned
| max |
| pure virtual |
Specify lower bound for range spanned
| min |
| pure virtual |
Set a new page size for this control. Note that pageSize is (max - min) / howMuchIsVisibleAtOnce on Win and howMuchIsVisibleAtOnce on Mac
| pageSize |
| pure virtual |
Set state to given value, will be within range [min,max]
| value | value to set |
| invalidate | if kTrue, specify that control needs redrawn |
| notifyOfChange | if kTrue, notify registered observers of change |