2 * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT License.
5 #ifndef TARGET_ADDRESS_TABLE_COLUMN_H
6 #define TARGET_ADDRESS_TABLE_COLUMN_H
9 #include "table/TableColumns.h"
12 class TargetAddressTableColumn
: public StringTableColumn
{
14 TargetAddressTableColumn(int32 modelIndex
,
15 const char* title
, float width
,
16 float minWidth
, float maxWidth
,
17 uint32 truncate
= B_TRUNCATE_MIDDLE
,
18 alignment align
= B_ALIGN_RIGHT
);
21 virtual BField
* PrepareField(const BVariant
& value
) const;
22 virtual int CompareValues(const BVariant
& a
,
27 #endif // TARGET_ADDRESS_TABLE_COLUMN_H