Lines Matching defs:attribute
87 PersonView::AddAttribute(const char* label, const char* attribute)
89 // Check if this attribute has already been added.
92 if (fControls.ItemAt(i)->Attribute() == attribute) {
97 control = new AttributeTextControl(label, attribute);
103 if (fCategoryAttribute == attribute) {
104 // Special case the category attribute. The Group popup field will
121 SetAttribute(attribute, true);
341 PersonView::AttributeValue(const char* attribute) const
344 if (fControls.ItemAt(i)->Attribute() == attribute)
353 PersonView::SetAttribute(const char* attribute, bool update)
362 if (file != NULL && file->GetAttrInfo(attribute, &info) == B_OK) {
364 file->ReadAttr(attribute, B_STRING_TYPE, 0, value, info.size);
367 SetAttribute(attribute, value, update);
375 PersonView::SetAttribute(const char* attribute, const char* value,
383 if (fControls.ItemAt(i)->Attribute() == attribute) {