| Rev | Line | |
|---|
| [233] | 1 | unit _TreeElement;
|
|---|
| 2 | interface
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 | type
|
|---|
| 6 | TTreeElement = class
|
|---|
| [241] | 7 | protected
|
|---|
| [233] | 8 | FConnectionID: Integer;
|
|---|
| 9 | function GetChildCount: Integer; virtual; abstract;
|
|---|
| 10 | function GetChild(ID: Integer): TTreeElement; virtual; abstract;
|
|---|
| 11 | function GetCaption: String; virtual; abstract;
|
|---|
| [241] | 12 | function GetType: String; virtual; abstract;
|
|---|
| [233] | 13 | public
|
|---|
| [238] | 14 | property ConnectionID: Integer read FConnectionID;
|
|---|
| [233] | 15 | property ChildCount: Integer read GetChildCount;
|
|---|
| 16 | property Child[ID: Integer]: TTreeElement read GetChild;
|
|---|
| 17 | property Caption: String read GetCaption;
|
|---|
| [241] | 18 | property VType: String read GetType;
|
|---|
| [233] | 19 | end;
|
|---|
| 20 |
|
|---|
| 21 | implementation
|
|---|
| 22 |
|
|---|
| 23 | end.
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.