Copyright ©1995 by NeXT Computer, Inc.  All Rights Reserved.

DBTableVector



Inherits From: Object
Conforms To: DBTableVectors
Declared In: dbkit/DBTableVector.h



Class Description

There's a DBTableVector to represent each of the fields (that  is, each of the static rows or columns) in a DBTableView. The DBFormatter for each row or column consults the corresponding DBTableVector for the value of various parameters that affect the display.



Instance Variables

id identifier
id formatter
id titleFont;
NXCoord minSize

NXCoord maxSize

NXCoord currentSize

char *title;


identifier The vector's identifying attribute
formatter The vector's DBFormatter
titleFont The font for the vector's title
minSize The vector's minimum height or width
maxSize The vector's maximum height or width
currentSize The vectors current height ot width
title The vector's title



Adopted Protocols

DBTableVectors formatter
setFormatter:
identifier
setIdentifier:
isEditable
setEditable:
isResizable
setResizable:
isAutosizable
setAutosizable:
size
sizeTo:
minSize
setMinSize:
maxSize
setMaxSize:
title
setTitle:
titleFont
setTitleFont:
titleAlignment
setTitleAlignment:
contentAlignment
setContentAlignment:



Method Types

Creating the object initIdentifier:
free



Instance Methods

free
free

Frees the space that the DBTableVector was allocated.  Returns self.



initIdentifier:
initIdentifier:newIdentifier

Initializes a new instance of DBTableVector for the property identified by newIdentifier.  Returns self.