private int getStyleOption(Object genericBindingObject)
{
if (styleOption == OPTION_NOT_SET && genericBindingObject != null)
{
// init() was never called, try to determine the 'style' based on what we have/know
Binding binding = getBindingObject(genericBindingObject);
// Try to determine the style from the Binding Object
if (binding != null)
{
List list = binding.getEExtensibilityElements();
Iterator valuesIt = getExtensibilityElementAttributeValue(list, "style").iterator();
while (valuesIt.hasNext())
{
String style = (String)valuesIt.next();