Package org.noos.xing.yasaf.plaf.component

Examples of org.noos.xing.yasaf.plaf.component.MatrixPanel.addEntry()


                                             new ViewContextSource(viewContext, ToolBarKey.LEFT_TOOLBAR),
                                             new SpinnerValueSource(leftDividerSize)
                    )
            );

            panel.addEntry(3, 0, "DividerSize (RIGHT) : ",
                           rightDividerSize = new JSpinner(new SpinnerNumberModel(5, 0, 20, 1)));
            rightDividerSize.addChangeListener(
                    new ChangeListenerAction(ToolWindowBar.class,
                                             "setDividerSize",
                                             new ViewContextSource(viewContext, ToolBarKey.RIGHT_TOOLBAR),
View Full Code Here


                                             new ViewContextSource(viewContext, ToolBarKey.RIGHT_TOOLBAR),
                                             new SpinnerValueSource(rightDividerSize)
                    )
            );

            panel.addEntry(4, 0, "DividerSize (TOP) : ",
                           topDividerSize = new JSpinner(new SpinnerNumberModel(5, 0, 20, 1)));
            topDividerSize.addChangeListener(
                    new ChangeListenerAction(ToolWindowBar.class,
                                             "setDividerSize",
                                             new ViewContextSource(viewContext, ToolBarKey.TOP_TOOLBAR),
View Full Code Here

                                             new ViewContextSource(viewContext, ToolBarKey.TOP_TOOLBAR),
                                             new SpinnerValueSource(topDividerSize)
                    )
            );

            panel.addEntry(5, 0, "DividerSize (BOTTOM) : ",
                           bottomDividerSize = new JSpinner(new SpinnerNumberModel(5, 0, 20, 1)));
            bottomDividerSize.addChangeListener(
                    new ChangeListenerAction(ToolWindowBar.class,
                                             "setDividerSize",
                                             new ViewContextSource(viewContext, ToolBarKey.BOTTOM_TOOLBAR),
View Full Code Here

            pushAwayMode.addItemListener(new ItemListener() {
                public void itemStateChanged(ItemEvent e) {
                    viewContext.put(PushAwayMode.class, e.getItem());
                }
            });
            panel.addEntry(0, 1, "pushAwayMode : ", pushAwayMode);

            panel.addEntry(1, 1, "showUnavailableTools : ", showUnavailableTools = new JCheckBox());
            showUnavailableTools.setAction(new DynamicAction(ToolWindowManagerDescriptor.class,
                                                             "showUnavailableTools",
                                                             new ViewContextSource(viewContext, ToolWindowManagerDescriptor.class),
View Full Code Here

                    viewContext.put(PushAwayMode.class, e.getItem());
                }
            });
            panel.addEntry(0, 1, "pushAwayMode : ", pushAwayMode);

            panel.addEntry(1, 1, "showUnavailableTools : ", showUnavailableTools = new JCheckBox());
            showUnavailableTools.setAction(new DynamicAction(ToolWindowManagerDescriptor.class,
                                                             "showUnavailableTools",
                                                             new ViewContextSource(viewContext, ToolWindowManagerDescriptor.class),
                                                             new ChecBoxSelectionSource(showUnavailableTools)));
View Full Code Here

            showUnavailableTools.setAction(new DynamicAction(ToolWindowManagerDescriptor.class,
                                                             "showUnavailableTools",
                                                             new ViewContextSource(viewContext, ToolWindowManagerDescriptor.class),
                                                             new ChecBoxSelectionSource(showUnavailableTools)));

            panel.addEntry(2, 1, "Agg Mode (LEFT) : ", leftAggregateMode = new JCheckBox());
            leftAggregateMode.setAction(new DynamicAction(ToolWindowBar.class,
                                                          "setAggregateMode",
                                                          new ViewContextSource(viewContext, ToolBarKey.LEFT_TOOLBAR),
                                                                  new ChecBoxSelectionSource(leftAggregateMode)
            ));
View Full Code Here

                                                          "setAggregateMode",
                                                          new ViewContextSource(viewContext, ToolBarKey.LEFT_TOOLBAR),
                                                                  new ChecBoxSelectionSource(leftAggregateMode)
            ));

            panel.addEntry(3, 1, "Agg Mode (RIGHT) : ", rightAggregateMode = new JCheckBox());
            rightAggregateMode.setAction(new DynamicAction(ToolWindowBar.class,
                                                           "setAggregateMode",
                                                           new ViewContextSource(viewContext, ToolBarKey.RIGHT_TOOLBAR),
                                                                   new ChecBoxSelectionSource(rightAggregateMode)
            ));
View Full Code Here

                                                           new ViewContextSource(viewContext, ToolBarKey.RIGHT_TOOLBAR),
                                                                   new ChecBoxSelectionSource(rightAggregateMode)
            ));


            panel.addEntry(4, 1, "Agg Mode (TOP) : ", topAggregateMode = new JCheckBox());
            topAggregateMode.setAction(new DynamicAction(ToolWindowBar.class,
                                                         "setAggregateMode",
                                                         new ViewContextSource(viewContext, ToolBarKey.TOP_TOOLBAR),
                                                                 new ChecBoxSelectionSource(topAggregateMode)
            ));
View Full Code Here

                                                         new ViewContextSource(viewContext, ToolBarKey.TOP_TOOLBAR),
                                                                 new ChecBoxSelectionSource(topAggregateMode)
            ));


            panel.addEntry(5, 1, "Agg Mode (BOTTOM) : ", bottomAggregateMode = new JCheckBox());
            bottomAggregateMode.setAction(new DynamicAction(ToolWindowBar.class,
                                                            "setAggregateMode",
                                                            new ViewContextSource(viewContext, ToolBarKey.BOTTOM_TOOLBAR),
                                                                    new ChecBoxSelectionSource(topAggregateMode)
            ));
View Full Code Here

                    );
                    valueChanging = false;
                }
            }
        });
        panel.addEntry(0, 0, "Tab Placement : ", tabPlaces);

        // Tab Layout
        tabLayouts = new JComboBox(new Object[]{
                TabbedContentManagerUI.TabLayout.SCROLL,
                TabbedContentManagerUI.TabLayout.WRAP
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.