Package cookxml.common.setter

Examples of cookxml.common.setter.ObjectOrHookVariableSetter


   */
  public static void addListenerSetter (SingleNSTagLibrary tagLibrary, String tag, Class listenerClass)
  {
    String name = listenerClass.getName ();
    String listenerName = name.substring (name.lastIndexOf (".") + 1);
    tagLibrary.setSetter (tag, listenerName.toLowerCase (), new ObjectOrHookVariableSetter ("add" + listenerName, listenerClass));
  }
View Full Code Here


    tagLibrary.setSetter (ABSTRACT_BUTTON, "horizontalalignment", swingConstantsSetter);
    tagLibrary.setSetter (ABSTRACT_BUTTON, "horizontaltextposition", swingConstantsSetter);
    tagLibrary.setSetter (ABSTRACT_BUTTON, "mnemonic", mnemonicConstantSetter);
    tagLibrary.setSetter (ABSTRACT_BUTTON, "verticalalignment", swingConstantsSetter);
    tagLibrary.setSetter (ABSTRACT_BUTTON, "verticaltextposition", swingConstantsSetter);
    tagLibrary.setSetter (ABSTRACT_BUTTON, "action", new ObjectOrHookVariableSetter ("setAction", Action.class));

    // JTextComponent
    tagLibrary.setSetter (TEXTCOMPONENT, "componentorientation", componentOrientationConstantsSetter);
    tagLibrary.inheritTag (COMPONENT, TEXTCOMPONENT);
  }
View Full Code Here

TOP

Related Classes of cookxml.common.setter.ObjectOrHookVariableSetter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.