Examples of CardPanel


Examples of com.cburch.logisim.gui.generic.CardPanel

    // set up the left-side components
    ToolbarModel projectToolbarModel = new ExplorerToolbarModel(this, menuListener);
    projectToolbar = new Toolbar(projectToolbarModel);
    toolbox = new Toolbox(proj, menuListener);
    simExplorer = new SimulationExplorer(proj, menuListener);
    explorerPane = new CardPanel();
    explorerPane.addView(VIEW_TOOLBOX, toolbox);
    explorerPane.addView(VIEW_SIMULATION, simExplorer);
    explorerPane.setView(VIEW_TOOLBOX);
    attrTable = new AttrTable(this);
    zoom = new ZoomControl(layoutZoomModel);

    // set up the central area
    CanvasPane canvasPane = new CanvasPane(layoutCanvas);
    mainPanelSuper = new JPanel(new BorderLayout());
    canvasPane.setZoomModel(layoutZoomModel);
    mainPanel = new CardPanel();
    mainPanel.addView(EDIT_LAYOUT, canvasPane);
    mainPanel.setView(EDIT_LAYOUT);
    mainPanelSuper.add(mainPanel, BorderLayout.CENTER);

    // set up the contents, split down the middle, with the canvas
View Full Code Here

Examples of com.cburch.logisim.gui.generic.CardPanel

        // set up the left-side components
        ToolbarModel projectToolbarModel = new ExplorerToolbarModel(this, menuListener);
        projectToolbar = new Toolbar(projectToolbarModel);
        toolbox = new Toolbox(proj, menuListener);
        simExplorer = new SimulationExplorer(proj, menuListener);
        explorerPane = new CardPanel();
        explorerPane.addView(VIEW_TOOLBOX, toolbox);
        explorerPane.addView(VIEW_SIMULATION, simExplorer);
        explorerPane.setView(VIEW_TOOLBOX);
        attrTable = new AttrTable(this);
        zoom = new ZoomControl(layoutZoomModel);

        // set up the central area
        CanvasPane canvasPane = new CanvasPane(layoutCanvas);
        mainPanelSuper = new JPanel(new BorderLayout());
        canvasPane.setZoomModel(layoutZoomModel);
        mainPanel = new CardPanel();
        mainPanel.addView(EDIT_LAYOUT, canvasPane);
        mainPanel.setView(EDIT_LAYOUT);
        mainPanelSuper.add(mainPanel, BorderLayout.CENTER);

        // set up the contents, split down the middle, with the canvas
View Full Code Here

Examples of com.jgoodies.uif.panel.CardPanel

     */
    protected JComponent buildContent()
    {
        buildPanels();

        cpanel = new CardPanel();
        for (IWizardPage panel : panels) cpanel.add((Component)panel);

        Dimension size = Resizer.DEFAULT.fromWidth(600);
        cpanel.setMinimumSize(size);
        cpanel.setMaximumSize(size);
View Full Code Here

Examples of jimmm.gui.CardPanel

    mainFrame.setBounds(100, 100, 1000, 500);
   
   
    for(Color c : Color.values()) {
      for(Value v : Value.values()) {
        CardPanel cp = new CardPanel(new Card(v, c, true));
        mainFrame.add(cp);
      }
     
    }
   
View Full Code Here

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

Examples of org.jitterbit.ui.layout.CardPanel

        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

Examples of org.jitterbit.ui.layout.CardPanel

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

Examples of org.jitterbit.ui.layout.CardPanel

            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

Examples of org.jitterbit.ui.layout.CardPanel

    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

Examples of org.jitterbit.ui.layout.CardPanel

    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
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.