25 checkToggleActiveImage checkTogglePassiveImage checkToggleLevel |
25 checkToggleActiveImage checkTogglePassiveImage checkToggleLevel |
26 comboButtonExtent comboButtonForm comboButtonLevel dropSource |
26 comboButtonExtent comboButtonForm comboButtonLevel dropSource |
27 columnAdaptor tabAtEndAction tabAtStartAction modifiedChannel |
27 columnAdaptor tabAtEndAction tabAtStartAction modifiedChannel |
28 autoScroll autoScrollBlock needFitColumns scrollWhenUpdating |
28 autoScroll autoScrollBlock needFitColumns scrollWhenUpdating |
29 separatorOneDColor selectionForegroundColor |
29 separatorOneDColor selectionForegroundColor |
30 selectionBackgroundColor previousExtent selectConditionBlock |
30 selectionForegroundColorNoFocus selectionBackgroundColor |
31 scrollRowWise autoScrollToColumn' |
31 selectionBackgroundColorNoFocus previousExtent |
|
32 selectConditionBlock scrollRowWise autoScrollToColumn' |
32 classVariableNames:'DefaultForegroundColor DefaultBackgroundColor |
33 classVariableNames:'DefaultForegroundColor DefaultBackgroundColor |
33 DefaultHilightForegroundColor DefaultHilightBackgroundColor |
34 DefaultHilightForegroundColor DefaultHilightBackgroundColor |
34 ButtonLightColor ButtonShadowColor CheckToggleActiveImage |
35 ButtonLightColor ButtonShadowColor CheckToggleActiveImage |
35 CheckTogglePassiveImage ButtonHalfLightColor |
36 CheckTogglePassiveImage ButtonHalfLightColor |
36 ButtonHalfShadowColor ButtonEdgeStyle CheckToggleForm |
37 ButtonHalfShadowColor ButtonEdgeStyle CheckToggleForm |
659 ! |
660 ! |
660 |
661 |
661 selectionBackgroundColor |
662 selectionBackgroundColor |
662 "returns the background color of a selected row" |
663 "returns the background color of a selected row" |
663 |
664 |
664 ^ selectionBackgroundColor |
665 self hasFocus ifTrue:[ |
|
666 ^ selectionBackgroundColor |
|
667 ]. |
|
668 ^ selectionBackgroundColorNoFocus. |
665 ! |
669 ! |
666 |
670 |
667 selectionForegroundColor |
671 selectionForegroundColor |
668 "returns the foreground color of a selected row" |
672 "returns the foreground color of a selected row" |
669 |
673 |
670 ^ selectionForegroundColor |
674 self hasFocus ifTrue:[ |
|
675 ^ selectionForegroundColor |
|
676 ]. |
|
677 ^ selectionForegroundColorNoFocus. |
671 ! |
678 ! |
672 |
679 |
673 separatorDarkColor |
680 separatorDarkColor |
674 "returns the dark color used for drawing a shadowed separator (3D)" |
681 "returns the dark color used for drawing a shadowed separator (3D)" |
675 |
682 |
2684 ^ editView isNil |
2701 ^ editView isNil |
2685 ]. |
2702 ]. |
2686 ^ false |
2703 ^ false |
2687 ! |
2704 ! |
2688 |
2705 |
|
2706 showFocus:explicit |
|
2707 self invalidateSelection. |
|
2708 super showFocus:explicit |
|
2709 ! |
|
2710 |
|
2711 showNoFocus:explicit |
|
2712 self invalidateSelection. |
|
2713 super showNoFocus:explicit |
|
2714 ! |
|
2715 |
2689 wantsFocusWithPointerEnter |
2716 wantsFocusWithPointerEnter |
2690 "views which like to take the keyboard focus |
2717 "views which like to take the keyboard focus |
2691 when the pointer enters can do so by redefining this |
2718 when the pointer enters can do so by redefining this |
2692 to return true" |
2719 to return true" |
2693 |
2720 |
2752 |
2779 |
2753 fgColor := fgColor onDevice:device. |
2780 fgColor := fgColor onDevice:device. |
2754 bgColor := bgColor onDevice:device. |
2781 bgColor := bgColor onDevice:device. |
2755 selectionForegroundColor := selectionForegroundColor onDevice:device. |
2782 selectionForegroundColor := selectionForegroundColor onDevice:device. |
2756 selectionBackgroundColor := selectionBackgroundColor onDevice:device. |
2783 selectionBackgroundColor := selectionBackgroundColor onDevice:device. |
|
2784 selectionForegroundColorNoFocus := selectionForegroundColorNoFocus onDevice:device. |
|
2785 selectionBackgroundColorNoFocus := selectionBackgroundColorNoFocus onDevice:device. |
2757 |
2786 |
2758 buttonShadowColor := buttonShadowColor onDevice:device. |
2787 buttonShadowColor := buttonShadowColor onDevice:device. |
2759 buttonLightColor := buttonLightColor onDevice:device. |
2788 buttonLightColor := buttonLightColor onDevice:device. |
2760 |
2789 |
2761 buttonHalfShadowColor notNil ifTrue:[ |
2790 buttonHalfShadowColor notNil ifTrue:[ |
2807 ] |
2836 ] |
2808 ]. |
2837 ]. |
2809 |
2838 |
2810 buttonHalfShadowColor isNil ifTrue:[ |
2839 buttonHalfShadowColor isNil ifTrue:[ |
2811 buttonHalfShadowColor := Color gray |
2840 buttonHalfShadowColor := Color gray |
|
2841 ]. |
|
2842 |
|
2843 selectionForegroundColorNoFocus isNil ifTrue:[ |
|
2844 selectionForegroundColorNoFocus := selectionForegroundColor. |
|
2845 ]. |
|
2846 selectionBackgroundColorNoFocus isNil ifTrue:[ |
|
2847 selectionBackgroundColorNoFocus := selectionBackgroundColor lightened. |
2812 ]. |
2848 ]. |
2813 |
2849 |
2814 rowSelectorForm := self class rowSelectorImage. |
2850 rowSelectorForm := self class rowSelectorImage. |
2815 checkToggleActiveImage := CheckToggleActiveImage. |
2851 checkToggleActiveImage := CheckToggleActiveImage. |
2816 checkTogglePassiveImage := CheckTogglePassiveImage. |
2852 checkTogglePassiveImage := CheckTogglePassiveImage. |