Package org.enhydra.jawe.base.controller

Examples of org.enhydra.jawe.base.controller.JaWETypeChoiceButton


      JButton b = null;

      ImageIcon ai = ja.getIcon();
      if (ai != null) {
         if (a instanceof NewActionBase && comp instanceof ChoiceButtonListener) {
            b = new JaWETypeChoiceButton(JaWEType.class,
                                         ((NewActionBase) a).getXPDLTypeClass(),
                                         (ChoiceButtonListener) comp,
                                         ai);
         } else if (comp instanceof NewStandardXPDLElementEditor) {
            // CUSTOM
            b = new JButton(label, ai) {
               public float getAlignmentY() {
                  return 0.5f;
               }
            };
            // END CUSTOM
         } else {
            b = new JButton(ai) {
               public float getAlignmentY() {
                  return 0.5f;
               }
            };
         }
      } else {
         if (a instanceof NewActionBase && comp instanceof ChoiceButtonListener) {
            b = new JaWETypeChoiceButton(JaWEType.class,
                                         ((NewActionBase) a).getXPDLTypeClass(),
                                         (ChoiceButtonListener) comp,
                                         ai);
         } else {
            b = new JButton(label) {
View Full Code Here

TOP

Related Classes of org.enhydra.jawe.base.controller.JaWETypeChoiceButton

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.