Copyright ã1998 by Robert Frank  All Rights Reserved.

NS_DEV_DOCFOR:objc_class:Text;,NICallProperty

Inherits From:	NIProperty : Object

Declared In:	NIProperty.h

Class Description

The NICallProperty class defines an object that manages a connection to a NetInfo entry such that the programmer can define the connection (if any) to a GUI element. For manipulating the property's values, see the NIPoperty class. Note that changes to the values will not automatically be reflected in any GUI element.

Instance Variables

SEL display;

display 	The method used for displaying the property's values.

Method Types

Initializing the NICallProperty object	- init:properties:name:displayAction:

Instance Methods

NS_DEV_DOCFOR:objc_method:[Text-initFrame:text:alignment:];,init:properties:name:displayAction:

- init:sender
properties:(ni_proplist *)props
name:(const char *)label
displayAction:(SEL)action

Initializes a new NICallProperty object.  This is the designated initializer for NICallProperty objects:  If you subclass NIProperty, your subclass's designated initializer must maintain the initializer chain by sending a message to super to invoke this method.  See the introduction to the class specifications for more information.

The four arguments specify the delegate (sender) to which the display: method will be sent, the property list as read from NetInfo (props), the string containing the name of the NetInfo entry (label), and the actual method to execute when displaying the values (action). The action is called with one argument: the NICallProperty itself.

Returns self.

See also:  - addCall:displayAction: (NIDirectory), Delegates Implemented (NIProperty)