IWindow::AttributeCursor

Use an IWindow::AttributeCursor object to iterate the list of (link) objects associated with an IWindow object. Use to associate attribute objects with an IWindow object.


IWindow::AttributeCursor - Member Functions and Data by Group

Window Attributes

Use these member functions for cursoring attributes in a collection.


[view class]
~AttributeCursor
public:
~AttributeCursor()

Destructor for the attribute cursor.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
attribute
public:
const IAttribute* attribute() const

Returns the attribute that is at the current position of the cursor.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
AttributeCursor
public:
AttributeCursor(IWindow& win)

Constructor for Attribute Cursor. The attributes for an IWindow object can be cursored by using this constructor with the desired IWindow object.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
attributeName
public:
IAttributeName attributeName() const

Returns the name associated with the attribute.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
invalidate
public:
virtual void invalidate()

Invalidates the attribute cursor.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
isValid
public:
virtual bool isValid() const

Returns true if the current Attribute is valid.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
setToFirst
public:
virtual bool setToFirst()

Sets the Attribute Cursor to the first attribute in the cursor.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
setToNext
public:
virtual bool setToNext()

Sets the Attribute Cursor to the next element. If there are no more elements isValid will return false

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


IWindow::AttributeCursor - Inherited Member Functions and Data

Inherited Public Functions

Inherited Public Data

Inherited Protected Functions

Inherited Protected Data