Package org.jitterbit.ui.layout

Examples of org.jitterbit.ui.layout.BorderLayoutBuilder.decorate()


    public void decorate(UiCanvas canvas) {
        BorderLayoutBuilder layout = new BorderLayoutBuilder(0, 5);
        JLabel disclaimer = showDisclaimer ? createDisclaimer() : null;
        layout.north(disclaimer).center(table);
        layout.setOpaque(false);
        layout.decorate(canvas);
    }

    private static JLabel createDisclaimer() {
        TextStyle style = TextStyle.newStyle(TextStyles.ErrorInfoText, Font.BOLD);
        return style.makeLabel(PackageResources.UpdateSourcePage.DISCLAIMER);
View Full Code Here


    @Override
    public void decorate(UiCanvas canvas) {
        BorderLayoutBuilder layout = new BorderLayoutBuilder();
        layout.northToSouth(toolbar.getDisplayer(), displayer, filterDescriptionPanel);
        layout.decorate(canvas);
    }

    @Override
    public void requestFocus() {
        displayer.requestFocus();
View Full Code Here

    @Override
    public void decorate(UiCanvas canvas) {
        if (caption != null) {
            BorderLayoutBuilder layout = new BorderLayoutBuilder(0, 3);
            layout.north(caption).center(table).setOpaqueRecursively(false);
            layout.decorate(canvas);
        } else {
            table.decorate(canvas);
        }
    }
View Full Code Here

    @Override
    public void decorate(UiCanvas canvas) {
        BorderLayoutBuilder p = new BorderLayoutBuilder(0, 5);
        p.north(PackageResources.SearchParamsDefiner.FILTER).center(textArea);
        statusPanel.layout(p.container(), BorderLayout.SOUTH);
        p.decorate(canvas);
    }

    @Override
    public void requestFocus() {
        textArea.requestFocusInWindow();
View Full Code Here

    @Override
    public void decorate(UiCanvas canvas) {
        BorderLayoutBuilder layout = new BorderLayoutBuilder(0, 5);
        layout.center(tree.asUiProvider()).south(filterField);
        layout.decorate(canvas);
    }

    @Override
    public void requestFocus() {
        tree.requestFocusInWindow();
View Full Code Here

        BorderLayoutBuilder p = new BorderLayoutBuilder().setOpaque(false);
        JButton loadSource = createLoadSourceButton();
        JComponent toolbar = createToolbar(toggleSourceTreeExpansionButton, sourceSearchButton,
                        sourceTransferButton, loadSource);
        p.north(toolbar).center(sourceTree.m_scroll);
        p.decorate(canvas);
    }

    private JButton createLoadSourceButton() {
        Action action = sourceTree.getLoadSourceDataAction();
        return (action == null) ? null : new KongaButton(action);
View Full Code Here

    @Override
    public void decorate(UiCanvas canvas) {
        BorderLayoutBuilder layout = new BorderLayoutBuilder();
        layout.northToSouth(navigationControl.getDisplayer(), layoutTableAndButtons(), filterDescriptionPanel);
        layout.decorate(canvas);
    }

    private JComponent layoutTableAndButtons() {
        BorderLayoutBuilder layout = new BorderLayoutBuilder();
        layout.center(table).south(createButtonBox());
View Full Code Here

    @Override
    public void decorate(UiCanvas canvas) {
        JLabel label = createLabel();
        BorderLayoutBuilder layout = new BorderLayoutBuilder(0, 3);
        layout.north(label).center(availableTables);
        layout.decorate(canvas);
    }

    private JLabel createLabel() {
        JLabel label = UiProviderLabel.create(ObjectSelectionPage.Labels.AVAILABLE_ITEMS, availableTables);
        WizardStyleSheet.SMALL_CAPTION_STYLE.makeOver(label);
View Full Code Here

    @Override
    public void decorate(UiCanvas canvas) {
        if (localFileSelector == null) {
            BorderLayoutBuilder layout = new BorderLayoutBuilder();
            layout.northToSouth(existingStructureChoice, wrapFileSelector(existingFileSelector), fromSampleFileChoice);
            layout.decorate(canvas);
        } else {
            OneColumnPanel col = new OneColumnPanel();
            col.setWeightX(1.0);
            col.setFill(Fill.HORIZONTAL);
            col.add(existingStructureChoice);
View Full Code Here

        @Override
        public void decorate(UiCanvas canvas) {
            BorderLayoutBuilder layout = new BorderLayoutBuilder(0, 5);
            layout.northToSouth(getString("Trashcan.RevivalInspector.Message"), list, "Do you want to continue?");
            layout.decorate(canvas);
        }

        @Override
        public void requestFocus() {/**/}
    }
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.