equal
deleted
inserted
replaced
3251 ^ self isInSelection:aRowNr |
3251 ^ self isInSelection:aRowNr |
3252 ]. |
3252 ]. |
3253 ^ false |
3253 ^ false |
3254 ! |
3254 ! |
3255 |
3255 |
|
3256 isRowVisible:aRowNr |
|
3257 |y h| |
|
3258 |
|
3259 h := rowHeight. |
|
3260 y := self yVisibleOfRowNr:aRowNr. |
|
3261 |
|
3262 y < margin ifTrue:[ |
|
3263 (h := h + y) <= margin ifTrue:[ |
|
3264 ^ false |
|
3265 ]. |
|
3266 ] ifFalse:[ |
|
3267 y >= (height-margin) ifTrue:[^ false]. |
|
3268 ]. |
|
3269 ^ true |
|
3270 ! |
|
3271 |
3256 isSelected:aRowNr inColumn:aColNr |
3272 isSelected:aRowNr inColumn:aColNr |
3257 "returns true if cell in a row; a row number, in a column, a column |
3273 "returns true if cell in a row; a row number, in a column, a column |
3258 number is selected. |
3274 number is selected. |
3259 " |
3275 " |
3260 multipleSelectOk ifFalse:[ |
3276 multipleSelectOk ifFalse:[ |
3636 ! ! |
3652 ! ! |
3637 |
3653 |
3638 !DSVColumnView class methodsFor:'documentation'! |
3654 !DSVColumnView class methodsFor:'documentation'! |
3639 |
3655 |
3640 version |
3656 version |
3641 ^ '$Header: /cvs/stx/stx/libwidg2/DSVColumnView.st,v 1.150 2002-10-04 07:39:35 ca Exp $' |
3657 ^ '$Header: /cvs/stx/stx/libwidg2/DSVColumnView.st,v 1.151 2002-10-09 15:31:05 penk Exp $' |
3642 ! ! |
3658 ! ! |