CellSelector
Section: ET++ class description (n)
Updated: automatically Mon Apr 8 20:18:15 1991
Index
Return to Main Contents
NAME
CellSelector - selection of cells of a CollectionView
DESCRIPTION
The CellSelector selects single cells of a CollectionView.
Instances of CellSelector are created by the method CollectionView::DoLeftButtonDownCommmand. As long as the mouse button is pressed and the mouse is moved the CellSelector updates the selection of the CollectionView and calls the method CollectionView::DoOnItem. When the mouse button is released it passes the final selection to the method CollectionView::DoSelect2.
classes are rarely derived from CellSelector.
class CellSelector
is heavily reused directly.
class CellSelector contains 3 methods.
- owner of class:
-
nobody.
- baseclasses:
-
Command
- flags:
-
CommandFlags
INSTANCE VARIABLES
- clickCount (private int)
-
contains how often the mouse button has been clicked when the CellSelector is created by the method CollectionView::DoLeftButtonDownCommmand. It is stored here only to be able to pass the number of clicks to the method CollectionView::DoSelect2 when the CellSelector finishes. See method TrackMouse.
- item (private Point)
-
contains the column and row number of the currently selected cell
- itemptr (private VObject *)
-
refers to the item in the currently selected cell
- lvp (private CollectionView *)
-
a reference to the associated CollectionView. See class CollectionView.
INSTANCE METHOD LIST
- client interface
-
CellSelector
- miscellaneous
-
TrackFeedback
TrackMouse
CATEGORIES
Standard Views
FILES
- declaration:
-
CollView.h
KNOWN PROBLEMS
1. It is impossible to select more than one cell concurrently though the class CollectionView would allow this.
2. Because all instance variables are private it is neither possible to implement selection of multiple cells in a subclass.
HISTORY
joe@csesbg.at Mon Jul 01 18:00 1991
man2html: unable to open or read file
../mann/CellSelector::CellSelector.n
man2html: unable to open or read file
../mann/CellSelector::TrackFeedback.n
man2html: unable to open or read file
../mann/CellSelector::TrackMouse.n
Index
- NAME
-
- DESCRIPTION
-
- INSTANCE VARIABLES
-
- INSTANCE METHOD LIST
-
- CATEGORIES
-
- FILES
-
- KNOWN PROBLEMS
-
- HISTORY
-
This document was created by
man2html,
using the manual pages.
Time: 00:40:31 GMT, March 30, 2022