Panda3D
Protected Member Functions | Friends

PGButtonNotify Class Reference

Objects that inherit from this class can receive notify messages when a slider bar moves or otherwise is reconfigured. More...

#include "pgButtonNotify.h"

Inheritance diagram for PGButtonNotify:
PGItemNotify PGSliderBar

List of all members.

Protected Member Functions

void add_item (PGItem *item)
 Called by PGItem when a new item is set up to notify this object.
virtual void button_click (PGButton *button, const MouseWatcherParameter &param)
 Called whenever a watched PGButton has been clicked.
virtual void item_candidate (PGItem *item, const MouseWatcherParameter &param)
 Called whenever the "candidate" event is triggered on a watched PGItem.
virtual void item_draw_mask_changed (PGItem *item)
 Called whenever a watched PGItem's draw_mask has been changed.
virtual void item_enter (PGItem *item, const MouseWatcherParameter &param)
 Called whenever the "enter" event is triggered on a watched PGItem.
virtual void item_exit (PGItem *item, const MouseWatcherParameter &param)
 Called whenever the "exit" event is triggered on a watched PGItem.
virtual void item_focus_in (PGItem *item)
 Called whenever the "focus_in" event is triggered on a watched PGItem.
virtual void item_focus_out (PGItem *item)
 Called whenever the "focus_out" event is triggered on a watched PGItem.
virtual void item_frame_changed (PGItem *item)
 Called whenever a watched PGItem's frame has been changed.
virtual void item_keystroke (PGItem *item, const MouseWatcherParameter &param)
 Called whenever the "keystroke" event is triggered on a watched PGItem.
virtual void item_move (PGItem *item, const MouseWatcherParameter &param)
 Called whenever the "move" event is triggered on a watched PGItem.
virtual void item_press (PGItem *item, const MouseWatcherParameter &param)
 Called whenever the "press" event is triggered on a watched PGItem.
virtual void item_release (PGItem *item, const MouseWatcherParameter &param)
 Called whenever the "release" event is triggered on a watched PGItem.
virtual void item_transform_changed (PGItem *item)
 Called whenever a watched PGItem's local transform has been changed.
virtual void item_within (PGItem *item, const MouseWatcherParameter &param)
 Called whenever the "within" event is triggered on a watched PGItem.
virtual void item_without (PGItem *item, const MouseWatcherParameter &param)
 Called whenever the "without" event is triggered on a watched PGItem.
void remove_item (PGItem *item)
 Called by PGItem when an item is no longer set up to notify this object.

Friends

class PGButton

Detailed Description

Objects that inherit from this class can receive notify messages when a slider bar moves or otherwise is reconfigured.

Definition at line 29 of file pgButtonNotify.h.


Member Function Documentation

void PGItemNotify::add_item ( PGItem item) [protected, inherited]

Called by PGItem when a new item is set up to notify this object.

Definition at line 181 of file pgItemNotify.cxx.

Referenced by PGItem::set_notify().

void PGButtonNotify::button_click ( PGButton button,
const MouseWatcherParameter param 
) [protected, virtual]

Called whenever a watched PGButton has been clicked.

Definition at line 24 of file pgButtonNotify.cxx.

Referenced by PGButton::click().

void PGItemNotify::item_candidate ( PGItem item,
const MouseWatcherParameter param 
) [protected, virtual, inherited]

Called whenever the "candidate" event is triggered on a watched PGItem.

See PGItem::candidate().

Definition at line 161 of file pgItemNotify.cxx.

Referenced by PGItem::candidate().

void PGItemNotify::item_draw_mask_changed ( PGItem item) [protected, virtual, inherited]

Called whenever a watched PGItem's draw_mask has been changed.

Reimplemented in PGScrollFrame, and PGSliderBar.

Definition at line 61 of file pgItemNotify.cxx.

Referenced by PGItem::draw_mask_changed().

void PGItemNotify::item_enter ( PGItem item,
const MouseWatcherParameter param 
) [protected, virtual, inherited]

Called whenever the "enter" event is triggered on a watched PGItem.

See PGItem::enter_region().

Definition at line 71 of file pgItemNotify.cxx.

Referenced by PGItem::enter_region().

void PGItemNotify::item_exit ( PGItem item,
const MouseWatcherParameter param 
) [protected, virtual, inherited]

Called whenever the "exit" event is triggered on a watched PGItem.

See PGItem::exit_region().

Definition at line 81 of file pgItemNotify.cxx.

Referenced by PGItem::exit_region().

void PGItemNotify::item_focus_in ( PGItem item) [protected, virtual, inherited]

Called whenever the "focus_in" event is triggered on a watched PGItem.

See PGItem::focus_in().

Definition at line 111 of file pgItemNotify.cxx.

Referenced by PGItem::focus_in().

void PGItemNotify::item_focus_out ( PGItem item) [protected, virtual, inherited]

Called whenever the "focus_out" event is triggered on a watched PGItem.

See PGItem::focus_out().

Definition at line 121 of file pgItemNotify.cxx.

Referenced by PGItem::focus_out().

void PGItemNotify::item_frame_changed ( PGItem item) [protected, virtual, inherited]

Called whenever a watched PGItem's frame has been changed.

Reimplemented in PGScrollFrame, and PGSliderBar.

Definition at line 51 of file pgItemNotify.cxx.

Referenced by PGItem::frame_changed().

void PGItemNotify::item_keystroke ( PGItem item,
const MouseWatcherParameter param 
) [protected, virtual, inherited]

Called whenever the "keystroke" event is triggered on a watched PGItem.

See PGItem::keystroke().

Definition at line 151 of file pgItemNotify.cxx.

Referenced by PGItem::keystroke().

void PGItemNotify::item_move ( PGItem item,
const MouseWatcherParameter param 
) [protected, virtual, inherited]

Called whenever the "move" event is triggered on a watched PGItem.

See PGItem::move().

Reimplemented in PGSliderBar.

Definition at line 171 of file pgItemNotify.cxx.

Referenced by PGItem::move().

void PGItemNotify::item_press ( PGItem item,
const MouseWatcherParameter param 
) [protected, virtual, inherited]

Called whenever the "press" event is triggered on a watched PGItem.

See PGItem::press().

Reimplemented in PGSliderBar.

Definition at line 131 of file pgItemNotify.cxx.

Referenced by PGItem::press().

void PGItemNotify::item_release ( PGItem item,
const MouseWatcherParameter param 
) [protected, virtual, inherited]

Called whenever the "release" event is triggered on a watched PGItem.

See PGItem::release().

Reimplemented in PGSliderBar.

Definition at line 141 of file pgItemNotify.cxx.

Referenced by PGItem::release().

void PGItemNotify::item_transform_changed ( PGItem item) [protected, virtual, inherited]

Called whenever a watched PGItem's local transform has been changed.

Reimplemented in PGScrollFrame, and PGSliderBar.

Definition at line 41 of file pgItemNotify.cxx.

Referenced by PGItem::transform_changed().

void PGItemNotify::item_within ( PGItem item,
const MouseWatcherParameter param 
) [protected, virtual, inherited]

Called whenever the "within" event is triggered on a watched PGItem.

See PGItem::within_region().

Definition at line 91 of file pgItemNotify.cxx.

Referenced by PGItem::within_region().

void PGItemNotify::item_without ( PGItem item,
const MouseWatcherParameter param 
) [protected, virtual, inherited]

Called whenever the "without" event is triggered on a watched PGItem.

See PGItem::without_region().

Definition at line 101 of file pgItemNotify.cxx.

Referenced by PGItem::without_region().

void PGItemNotify::remove_item ( PGItem item) [protected, inherited]

Called by PGItem when an item is no longer set up to notify this object.

Definition at line 193 of file pgItemNotify.cxx.

Referenced by PGItem::set_notify().


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations