|
JX Application Framework
|
#include <JXAtLeastOneCBGroup.h>
Public Member Functions | |
| JXAtLeastOneCBGroup () | |
| JXAtLeastOneCBGroup (const JPtrArray< JXCheckbox > &cbList) | |
| JXAtLeastOneCBGroup (const JSize count, JXCheckbox *cb1, JXCheckbox *cb2,...) | |
| ~JXAtLeastOneCBGroup () override | |
Public Member Functions inherited from JXCheckboxGroup | |
| ~JXCheckboxGroup () override | |
| bool | Includes (JXCheckbox *cb) const |
| void | Add (JXCheckbox *cb) |
| void | Insert (const JIndex index, JXCheckbox *cb) |
| void | Remove (JXCheckbox *cb) |
Public Member Functions inherited from JContainer | |
| JContainer () | |
| JContainer (const JContainer &source) | |
| JContainer & | operator= (const JContainer &source) |
Public Member Functions inherited from JCollection | |
| JCollection () | |
| JCollection (const JCollection &source) | |
| ~JCollection () override | |
| JCollection & | operator= (const JCollection &source) |
| JSize | GetItemCount () const |
| bool | IsEmpty () const |
| bool | IndexValid (const JIndex index) const |
| JIndex | GetIndexFromEnd (const JIndex index) const |
| JString | ToString () const override |
Public Member Functions inherited from JBroadcaster | |
| JBroadcaster () | |
| virtual | ~JBroadcaster () |
| JBroadcaster & | operator= (const JBroadcaster &source) |
| bool | HasSenders () const |
| JSize | GetSenderCount () const |
| bool | HasRecipients () const |
| JSize | GetRecipientCount () const |
| template<class T > | |
| void | ListenTo (const JBroadcaster *sender, const std::function< void(const T &)> &f) |
Protected Member Functions | |
| void | EnforceConstraints (const JIndex cbIndex) override |
Protected Member Functions inherited from JXCheckboxGroup | |
| JXCheckboxGroup () | |
| JXCheckboxGroup (const JPtrArray< JXCheckbox > &cbList) | |
| bool | AllChecked () const |
| bool | AllUnchecked () const |
| bool | AllDisabled () const |
| bool | CheckboxDisabled (const JIndex index) const |
| bool | FindCheckbox (JBroadcaster *obj, JIndex *index) const |
| JXCheckbox * | GetCheckbox (const JIndex index) const |
| JPtrArray< JXCheckbox > * | GetCheckboxList () const |
| void | Receive (JBroadcaster *sender, const Message &message) override |
| void | ReceiveGoingAway (JBroadcaster *sender) override |
Protected Member Functions inherited from JContainer | |
| void | InstallCollection (JCollection *list) |
| const JCollection * | GetList () const |
Protected Member Functions inherited from JCollection | |
| void | ItemAdded () |
| void | ItemRemoved () |
| void | SetItemCount (const JSize newItemCount) |
Protected Member Functions inherited from JBroadcaster | |
| JBroadcaster (const JBroadcaster &source) | |
| void | ListenTo (const JBroadcaster *sender) |
| void | StopListening (const JBroadcaster *sender) |
| void | ClearWhenGoingAway (const JBroadcaster *sender, void *pointerToMember) |
| void | StopListening (const JBroadcaster *sender, const std::type_info &messageType) |
| template<class T > | |
| void | Send (JBroadcaster *recipient, const T &message) |
| template<class T > | |
| void | Broadcast (const T &message) |
| void | SendWithFeedback (JBroadcaster *recipient, Message *message) |
| void | BroadcastWithFeedback (Message *message) |
| virtual void | ReceiveWithFeedback (JBroadcaster *sender, Message *message) |
At least one checkbox must be selected. If the last one is turned off, the active, adjacent one is turned on. The exact algorithm is explained in "Tog on Interface". The checkboxes are assumed to be ordered in the order they were added.
| JXAtLeastOneCBGroup::JXAtLeastOneCBGroup | ( | ) |
| JXAtLeastOneCBGroup::JXAtLeastOneCBGroup | ( | const JPtrArray< JXCheckbox > & | cbList | ) |
| JXAtLeastOneCBGroup::JXAtLeastOneCBGroup | ( | const JSize | count, |
| JXCheckbox * | cb1, | ||
| JXCheckbox * | cb2, | ||
| ... | |||
| ) |
|
override |
|
overrideprotectedvirtual |
Implements JXCheckboxGroup.