public String getObjectImage ( int groupID , int objectID ) { if ( groupID >= 0 && groupID < objectGroups . size ( ) ) { ObjectGroup grp = ( ObjectGroup ) objectGroups . get ( groupID ) ; if ( objectID >= 0 && objectID < grp . objects . size ( ) ) { GroupObject object = ( GroupObject ) grp . objects . get ( objectID ) ; if ( object == null ) { return null ; } return object . image ; } } return null ; }
Retrieve the image source property for a given object