Examples of DcToolBarButton


Examples of net.datacrow.console.components.DcToolBarButton

       
        Component c;
        int i = 0;
        while ((c = getComponentAtIndex(i++)) != null) {
            if (c instanceof DcToolBarButton) {
                DcToolBarButton button = (DcToolBarButton) c;
                button.setFont(ComponentFactory.getSystemFont());
            }
        }
    }   
View Full Code Here

Examples of net.datacrow.console.components.DcToolBarButton

  public void setLabelsVisible(boolean b) {
    Component c;
    int i = 0;
    while ((c = getComponentAtIndex(i++)) != null) {
            if (c instanceof DcToolBarButton) {
                DcToolBarButton button = (DcToolBarButton) c;
               
                if (b) button.showText();
                else button.hideText();
            }
    }
        DcSettings.set(DcRepository.Settings.stShowMenuBarLabels, b);
  }
View Full Code Here

Examples of net.datacrow.console.components.DcToolBarButton

        menuItem.setToolTipText(plugin.getHelpText() == null ? menuItem.getText() : plugin.getHelpText());
        return menuItem;
    }

    public static DcToolBarButton getToolBarButton(Plugin plugin) {
        DcToolBarButton button = new DcToolBarButton(plugin);       
        button.setFont(getSystemFont());
        button.setLayout(layout);
        return button;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.