Package com.nexirius.framework.swing

Examples of com.nexirius.framework.swing.CFJButton


    /**
     * Creates the button component
     */
    public void create() {
        setJComponent(new CFJButton(getFactory().getClientResource(), getDataModel().getFieldName()));
        getShowButton().addActionListener(new PopupListener());
    }
View Full Code Here


    public JLabel createJLabel(String textResourceId) {
        return new CFJLabel(resources, textResourceId);
    }

    public JButton createJButton(String textResourceId, ActionListener actionListener) {
        JButton button = new CFJButton(resources, textResourceId);

        if (actionListener != null) {
            button.addActionListener(actionListener);
        }

        return button;
    }
View Full Code Here

    public JButton[] createButtons(String labels[], JPanel panel) {
        JButton ret[] = new JButton[labels.length];

        for (int i = 0; i < ret.length; ++i) {
            ret[i] = new CFJButton(getText(labels[i]));
        }

        arrangeButtons(ret, panel);

        return ret;
View Full Code Here

TOP

Related Classes of com.nexirius.framework.swing.CFJButton

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.