Patent ID: 7111245

Claim:
A method of executing a container-aware graphical component on a computer system, said method comprising: identifying a classtype of a parent object corresponding to the graphical component, wherein the identifying includes: retrieving a first classtype corresponding to a first parent object, the first parent object being the immediate parent of the graphical component; determining whether the first classtype is a recognized container class; retrieving, in response to the first classtype not being a recognized container class, a second classtype corresponding to a second parent object, the second parent object being a parent of the first parent object; determining whether the second classtype is a recognized container class; and assigning the classtype in response to the second classtype being a recognized container class; retrieving one or more display attributes and one or more behavior attributes based on the identified classtype; displaying, based upon the display attributes, a graphical image corresponding to the graphical component on a display device accessible from the computer system; receiving a request for the graphical component; and executing, in response to the request, a program code selected from a plurality of program codes, the selection based upon the behavior attributes.