Examples of CardPanel


Examples of org.jitterbit.ui.layout.CardPanel

    public FtpSecurityModePanel(FtpLocation loc) {
        location = loc;
        modeSelector = createModeSelector();
        sslOptionsPanel = new SslOptionPanel();
        authenticationPanel = new FtpsAuthenticationPanel();
        extraOptionsContainer = new CardPanel();
        extraOptionsContainer.add(new JPanel(), HIDE_EXTRA_OPTIONS);
        layoutExtraOptions();
        addInputPanel(sslOptionsPanel);
        addInputPanel(authenticationPanel);
        layout();
View Full Code Here

Examples of org.jitterbit.ui.layout.CardPanel

        yes = new KongaToggleButton("&Yes");
        no = new KongaToggleButton("&No");
        ButtonUtils.makeMutuallyExclusive(yes, no);
        ButtonUtils.addActionListener(new ButtonListener(), yes, no);
        WizardStyleSheet.SMALL_CAPTION_STYLE.makeOver(yes, no);
        cards = new CardPanel();
        cards.add(new JLabel(), "no");
        cards.add(controlPanel, "yes");
        cards.show("no");
        setCanContinue(true);
        nextPageBinding = new NextPageEnabledBinding();
View Full Code Here

Examples of org.jitterbit.ui.layout.CardPanel

     */
    public EditorPanelService(EntityExplorerSupport projectExplorer, EditorPanel editorPanel) {
        this.projectExplorer = new ProjectExplorerImpl(projectExplorer);
        this.editorPanel = editorPanel;
        editorPanel.getUi().setBorder(new LineBorder(new Color(64, 64, 64)));
        cards = new CardPanel();
        cards.add(new JLabel(" "), "empty");
        cards.add(editorPanel.getUi(), "target");
        editorOwner = new EditorOwnerImpl();
    }
View Full Code Here

Examples of org.jitterbit.ui.layout.CardPanel

            tabIndeces.put(category, index);
            tabListener.internalChange = false;
        }

        private Component addTab(EditorCategory category) {
            CardPanel cards = new CardPanel();
            String title = categoryModel.getCategoryDisplayName(category);
            tabs.addTab(title, category.icon, cards);
            tabCards.add(cards);
            Component tab = tabs.getTabComponentAt(tabs.getTabCount() - 1);
            Font font = tab.getFont();
View Full Code Here

Examples of org.jitterbit.ui.layout.CardPanel

        }

        @Override
        public void editorOpened(EditorCategory category, Editor editor) {
            int index = switchToTabSilently(category);
            CardPanel cards = tabCards.get(index);
            String cardName = editor.getId();
            cards.add(editor, cardName);
            cards.show(cardName);
            updateTabTitle(category, index);
            editor.requestFocus();
            updateTabControllers();
        }
View Full Code Here

Examples of org.jitterbit.ui.layout.CardPanel

        }

        @Override
        public void editorClosed(EditorCategory category, Editor editor) {
            int index = tabIndeces.get(category);
            CardPanel cards = tabCards.get(index);
            cards.remove(editor.getId());
            updateTabTitle(category, index);
            updateTabControllers();
        }
View Full Code Here

Examples of org.jitterbit.ui.layout.CardPanel

        private final MouseHandler mouseHandler;

        public Tabs(List<LaunchOption> options) {
            this.options = options;
            tabs = Lists.newArrayList();
            cards = new CardPanel();
            mouseHandler = new MouseHandler();
            for (LaunchOption o : options) {
                addOption(o);
            }
        }
View Full Code Here

Examples of org.jitterbit.ui.layout.CardPanel

        private final CardPanel cards;

        public MultiCategoryToggleLayout() {
            activators = Lists.newArrayList();
            cards = new CardPanel();
            List<Category> categories = Lists.newArrayList(consoleActions.keySet());
            Collections.sort(categories);
            for (Category c : categories) {
                JToggleButton b = createActivator(c);
                cards.add(createCategoryCard(c), c.getId());
View Full Code Here

Examples of org.jitterbit.ui.layout.CardPanel

    public Editor getActiveEditor() {
        if (tabs.getTabCount() == 0) {
            return null;
        }
        int index = tabs.getSelectedIndex();
        CardPanel cards = tabCards.get(index);
        String id = cards.getCurrentCard();
        Editor active = editorIdMap.get(id);
        return active;
    }
View Full Code Here

Examples of org.jitterbit.ui.layout.CardPanel

    private void selectEditorImpl(Editor editor) {
        tabListener.internalChange = true;
        EditorCategory category = categoryModel.categorize(editor);
        int index = switchToTab(category);
        CardPanel cards = tabCards.get(index);
        cards.show(editor.getId());
        getEditorService().fireActiveEditorChanged();
        updateEditorStates(editor);
        tabListener.internalChange = false;
    }
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.