How to get the bone names of a skeleton

I’m pretty new to jMonkey and am kind of confused by something I couldn’t find an answer to in the tutorials or the documentation. Let’s say I am using one of the build in models like the one in jme3-test-data and Models.Ninja. I want to be able to individually move the bones, but as far as I can gather, in order to do that I need to know the names of the individual bones. Since these bone names are strings, how do I get the names? The skeleton documentation doesn’t say anything about getListOfBoneNames or anything like this. I’m sure my ignorance is really showing here, but how is this done?

–P-Worm

http://hub.jmonkeyengine.org/javadoc/com/jme3/animation/Skeleton.html#getRoots()
http://hub.jmonkeyengine.org/javadoc/com/jme3/animation/Bone.html#getChildren()
http://hub.jmonkeyengine.org/javadoc/com/jme3/animation/Bone.html#getName()