Package org.pentaho.reporting.designer.core.util

Examples of org.pentaho.reporting.designer.core.util.ActionToggleButton$SelectedHandler


    return toolBar;
  }

  private JToggleButton createButton(final DesignerContextAction action)
  {
    final ActionToggleButton button = new ActionToggleButton();
    action.addPropertyChangeListener(new ActionSelectedHandler(button));
    action.setReportDesignerContext(designerContext);
    button.putClientProperty("hideActionText", Boolean.TRUE); // NON-NLS
    button.setFocusable(false);
    button.setAction(action);
    return button;
  }
View Full Code Here


      final ChartType type = types[i];

      final SelectChartExpressionAction action = new SelectChartExpressionAction(type.getExpressionType());
      editModel.getChartExpressionsModel().addListDataListener(action);

      final ActionToggleButton button = new ActionToggleButton();
      button.putClientProperty("hideActionText", Boolean.TRUE); // NON-NLS
      button.setAction(action);
      button.setBorder(new EmptyBorder(0, 0, 0, 0));
      buttonGroup.add(button);
      buttonCarrier.add(button);
    }

    final JPanel panel = new JPanel();
View Full Code Here

      final ChartType type = types[i];

      final SelectChartExpressionAction action = new SelectChartExpressionAction(type.getExpressionType());
      editModel.getChartExpressionsModel().addListDataListener(action);

      final ActionToggleButton button = new ActionToggleButton();
      button.putClientProperty("hideActionText", Boolean.TRUE); // NON-NLS
      button.setAction(action);
      button.setBorder(new EmptyBorder(0, 0, 0, 0));
      buttonGroup.add(button);
      buttonCarrier.add(button);
    }

    final JPanel panel = new JPanel();
View Full Code Here

    return toolBar;
  }

  private JToggleButton createButton(final DesignerContextAction action)
  {
    final ActionToggleButton button = new ActionToggleButton();
    action.addPropertyChangeListener(new ActionSelectedHandler(button));
    action.setReportDesignerContext(designerContext);
    button.putClientProperty("hideActionText", Boolean.TRUE); // NON-NLS
    button.setFocusable(false);
    button.setAction(action);
    return button;
  }
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.designer.core.util.ActionToggleButton$SelectedHandler

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.