Enumerating Fields in a window

Is there a way to enumerate the fields on a form? I see I can get a field by name. What I need to do is step through the form and perform certain operations based on the type of field. Attaching the keyboard to TextBoxes for example. I realize I could load up the xml - but I was hoping for something a bit more direct.

In the API documentation for Glide check out the DisplayObjectContainer class.

This is the base class for a Window. It has the method for finding a child by
name and also has other methods for accessing children.