added public DoInlineEdit for the node edit HT event and made RefreshCellRange public (it was protected, but is public in LTreeView). (rev sdagley, appr don)

This commit is contained in:
pinkerton 1998-04-08 20:29:54 +00:00
parent 5c393de51c
commit 5913005a12

View File

@ -100,6 +100,14 @@ public:
virtual Boolean GetNotifyOnSelectionChange();
void SetRightmostVisibleColumn(UInt16 inLastDesiredColumn);
// an externally public way to tell the table to begin an inplace edit. This is
// useful when handling menu commands, etc and not mouse clicks in the table.
void DoInlineEditing ( const STableCell & inCell ) ;
virtual void RefreshCellRange(
const STableCell &inTopLeft,
const STableCell &inBotRight); // Overridden to fix a bug in PP.
protected:
enum { kMinRowHeight = 18, kDistanceFromIconToText = 5, kIconMargin = 4, kIndentPerLevel = 10,
kIconWidth = 16 };
@ -122,9 +130,6 @@ protected:
virtual void DrawSelf();
virtual Boolean HandleKeyPress(const EventRecord &inKeyEvent);
virtual void RefreshCellRange(
const STableCell &inTopLeft,
const STableCell &inBotRight); // Overridden to fix a bug in PP.
virtual void Click(SMouseDownEvent &inMouseDown);
virtual void BeTarget();
virtual void DontBeTarget();