Examples of BoxedButton


Examples of com.lightcrafts.ui.toolkit.BoxedButton

        // Stuff some Mode controls into a SelectableControl in EditorControls:
        ProofSelectableControl proofOp = new ProofSelectableControl(engine);

        ProofButton pb = new ProofButton(opControls, proofOp);
        BoxedButton proofButton = new BoxedButton(LOCALE.get("SoftProofBorderTitle"), pb);

        proofAction = pb.getShowHideAction();

        // More header controls:
        BoxedButton eyeButton = new BoxedButton(LOCALE.get("EyeBorderTitle"), new EyeButton(engine));

        OneToOneButton oneToOneButton = new OneToOneButton(scale);
        fitButton = new FitButton(this, engine, scale);
        LargerButton largerButton = new LargerButton(scale);
        SmallerButton smallerButton = new SmallerButton(scale);
View Full Code Here

Examples of com.lightcrafts.ui.toolkit.BoxedButton

        AbstractImageBrowser browser = browserScroll.getBrowser();

        RotateButtons rotators = new RotateButtons(browser);
        ToggleTitleBorder.setBorder(rotators, LOCALE.get("RotateBorderTitle"));

        BoxedButton rater = new BoxedButton(LOCALE.get("RateBorderTitle"), new RatingButton(browser));

        CopyPasteButtons copyPaste = new CopyPasteButtons(browser);
        ToggleTitleBorder.setBorder(copyPaste, LOCALE.get("CopyToolsBorderTitle"));

        SortCtrl sort = new SortCtrl(browser);
        ToggleTitleBorder.setBorder(sort, LOCALE.get("SortBorderTitle"));

        SizeSlider sizeSlider = new SizeSlider(browser);
        ToggleTitleBorder.setBorder(sizeSlider, LOCALE.get("SizeBorderTitle"));
        // Use the centering layout only when the SizeSlider is working,
        // so other size changes (like when files come and go) don't result
        // in scroll jumps:
        sizeSlider.addMouseListener(
            new MouseAdapter() {
                public void mousePressed(MouseEvent e) {
                    browserScroll.setCenteringLayout(true);
                }
                public void mouseReleased(MouseEvent e) {
                    browserScroll.setCenteringLayout(false);
                }
            }
        );

        BoxedButton collapse = new BoxedButton(LOCALE.get("CollapseBorderTitle"), new CollapseButton(frame));

        BoxedButton latest = new BoxedButton(LOCALE.get("SelectBorderTitle"), new SelectLatestButton(browser));

        BoxedButton trash = new BoxedButton(LOCALE.get("TrashBorderTitle"), new TrashButton(browser));

        browserScroll.setCenteringLayout(false);

        browserError = new JLabel();
View Full Code Here

Examples of com.lightcrafts.ui.toolkit.BoxedButton

    LayoutHeader(ComboFrame frame) {
        super(BoxLayout.X_AXIS);

        modes = new BrowseEditButtons(frame);
        buttonBox = Box.createHorizontalBox();
        help = new BoxedButton("Help", helpButton = new HelpButton());

        Component logoButton = new LogoComponent();

        add(Box.createHorizontalStrut(22));
        add(modes);
        add(Box.createHorizontalStrut(64));
        add(buttonBox);
        add(Box.createHorizontalGlue());
        add(logoButton);
        add(Box.createHorizontalStrut(16));
        add(help.box);
        add(Box.createHorizontalStrut(4));

        buttonList = new LinkedList<BoxedButton>();

        buttonList.add(browse = new BoxedButton("Done", new DoneButton(frame)));
        buttonList.add(printDoc = new BoxedButton("Print", new PrintDocButton(frame)));
        buttonList.add(exportDoc = new BoxedButton("Export", new ExportDocButton(frame)));
        buttonList.add(save = new BoxedButton("Save", new SaveButton(frame)));
        buttonList.add(revert = new BoxedButton("Revert", new RevertButton(frame)));
        buttonList.add(undoRedo = new BoxedButton("Undo Redo", new UndoButton(frame), new RedoButton(frame)));

        buttonList.add(edit = new BoxedButton("Edit", new EditButton(frame)));
        buttonList.add(send = new BoxedButton("Send", new SendButton(frame)));
        buttonList.add(print = new BoxedButton("Print", new PrintButton(frame)));
        buttonList.add(export = new BoxedButton("Convert", new ExportButton(frame)));
        buttonList.add(styles = new BoxedButton("Styles", new StylesButton(frame)));

        buttonList.add(open = new BoxedButton("Open", new OpenButton(frame)));
    }
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.