Package org.jitterbit.ui.layout

Examples of org.jitterbit.ui.layout.CardPanel


    private ReplaceService replaceService;

    @SuppressWarnings("unchecked")
    public LocatableSearchFieldsPanel(SourceTarget st) {
        this.st = st;
        cards = new CardPanel();
        cards.add(new JLabel(" "), BLANK_CARD);
        typePanels = Maps.newEnumMap(DataLocationType.class);
        List<SearchableProperty> props = SearchMetaData.getSupportedProperties((st == SourceTarget.Source) ?
                        EntityType.Source : EntityType.Target);
        List<PropertySearchField> fields = Lists.newArrayList();
View Full Code Here


        public Ui() {
            treeModel = new PreferencesTreeModel(prefs.getRoot());
            tree = createTree();
            tree.getSelectionModel().addTreeSelectionListener(this);
            cards = new CardPanel();
            titlePane = TextStyles.DefaultBoldLarger.makeLabel(" ");
            titlePane.setBorder(new BorderBuilder().etched().empty(5, 10, 5, 5));
        }
View Full Code Here

    // as well as for the background color of the tab row.

    public SimpleTabPane() {
        tabRow = BoxBuilder.horizontal(new TabRow());
        tabRow.setBorder(Empty.border(9, 5, 0, 5));
        contentPane = new CardPanel();
        nabokov = new Nabokov();
        contentPane.add(nabokov.layout(), "nabokov");
        cardNames = Maps.newIdentityHashMap();
        tabs = Lists.newArrayList();
        tabObjects = Lists.newArrayList();
View Full Code Here

            return limiter.getLimitedString(titleLength);
        }

        private CardPanel createCloseButtonCapsule() {
            JButton closeButton = createCloseButton();
            CardPanel closeButtonCapsule = new CardPanel();
            closeButtonCapsule.add(closeButton, "show");
            Icon empty = Empty.icon(closeButton.getPreferredSize());
            JLabel emptyLabel = new JLabel(empty);
            closeButtonCapsule.add(emptyLabel, "hide");
            return closeButtonCapsule;
        }
View Full Code Here

    public ToggleButtonPartContainer(List<? extends AdminConsolePart> parts) {
        checkArgument(parts.size() > 1, "parts must contain at least 2 items");
        this.parts = Lists.newArrayList(parts);
        JPanel p = new JPanel();
        contentPane = new CardPanel(p);
        buttons = Lists.newArrayList();
        createButtons(parts);
        buttons.get(0).doClick();
        UiUtils.setOpaqueRecursivelySkipDefaults(p, false);
        setInitialActiveState();
View Full Code Here

    public LocationPanelDisplayer(InputPanel parent, Action testConnection) {
        checkNotNull(parent, "parent");
        this.parent = parent;
        this.testConnection = testConnection;
        mapLocationPanels = Maps.newHashMap();
        locationPanelContainer = new CardPanel();
        locationPanelContainer.add(new JPanel(), NO_LOCATION);
    }
View Full Code Here

    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

        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

     */
    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

            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

TOP

Related Classes of org.jitterbit.ui.layout.CardPanel

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.