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

Public Types | |
| enum | { kDefaultIID = IID_ITRISTATECONTROLDATA } |
| enum | TriState { kUnselected, kUnknown, kSelected } |
Public Member Functions | |
| virtual void | Select (bool16 invalidate=kTrue, bool16 notifyOfChange=kTrue)=0 |
| virtual void | Deselect (bool16 invalidate=kTrue, bool16 notifyOfChange=kTrue)=0 |
| virtual void | SetUnknown (bool16 invalidate=kTrue, bool16 notifyOfChange=kTrue)=0 |
| virtual void | SetState (TriState newState, bool16 invalidate=kTrue, bool16 notifyOfChange=kTrue)=0 |
| virtual bool16 | IsSelected () const =0 |
| virtual bool16 | IsDeselected () const =0 |
| virtual bool16 | IsUnknown () const =0 |
| virtual TriState | GetState () const =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 handles the data for widgets with 3 possible states. The most common widgets that use this data interface are
Radio buttons and Checkboxes.
| anonymous enum |
enum for DefaultIID to make UseDefaultIID() work for this interface
3 possible states for the widget
| pure virtual |
Set the state of the widget to be kUnselected. Optionally invalidate and notify observers
| pure virtual |
Get the current state of the widget
| pure virtual |
Check if the state of the widget is currently kUnselected
| pure virtual |
Check if the state of the widget is currently kSelected
| pure virtual |
Check if the state of the widget is currently kUnknown
| pure virtual |
Set the state of the widget to be kSelected. Optionally invalidate and notify observers
| pure virtual |
Set the state of the widget to a new state. Optionally invalidate and notify observers
| pure virtual |
Set the state of the widget to be kUnknown. Optionally invalidate and notify observers