storing UIElement data as a java hash