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

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


                    );
                    valueChanging = false;
                }
            }
        });
        panel.addEntry(1, 0, "Tab Layout : ", tabLayouts);

        // isShowAlwaysTab
        isShowAlwaysTab = new JCheckBox();
        isShowAlwaysTab.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
View Full Code Here


                ((MultiSplitContentManagerUI) toolWindowManager.getContentManager().getContentManagerUI()).setShowAlwaysTab(
                        isShowAlwaysTab.isSelected()
                );
            }
        });
        panel.addEntry(2, 0, "IsShowAlwaysTab : ", isShowAlwaysTab);

        return panel;
    }

    public void contextChange(ViewContextChangeEvent evt) {
View Full Code Here

                        "previewTransparentRatio",
                        new ViewContextSource(viewContext, DockedTypeDescriptor.class),
                        new ToFloatSource(new SpinnerValueSource(previewTransparentRatio)))
        );

        panel.addEntry(3, 1, "animating : ", animating = new JCheckBox());
        animating.setSelected(true);
        animating.setAction(new DynamicAction(ToolWindowTypeDescriptor.class,
                "animating",
                new ViewContextSource(viewContext, DockedTypeDescriptor.class),
                new ChecBoxSelectionSource(animating)));
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

                    );
                    valueChanging = false;
                }
            }
        });
        panel.addEntry(1, 0, "Tab Layout : ", tabLayouts);

        // isShowAlwaysTab
        isShowAlwaysTab = new JCheckBox();
        isShowAlwaysTab.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
View Full Code Here

                ((TabbedContentManagerUI) toolWindowManager.getContentManager().getContentManagerUI()).setShowAlwaysTab(
                        isShowAlwaysTab.isSelected()
                );
            }
        });
        panel.addEntry(2, 0, "IsShowAlwaysTab : ", isShowAlwaysTab);

        return panel;
    }

    public void contextChange(ViewContextChangeEvent evt) {
View Full Code Here

    }

    protected Component initComponent() {
        MatrixPanel panel = new MatrixPanel(3, 2);

        panel.addEntry(0, 0, "enabled : ", enabled = new JCheckBox());
        enabled.setAction(new DynamicAction(ToolWindowTypeDescriptor.class,
                "enabled",
                new ViewContextSource(viewContext, ToolWindowTypeDescriptor.class),
                new ChecBoxSelectionSource(enabled)));
View Full Code Here

        enabled.setAction(new DynamicAction(ToolWindowTypeDescriptor.class,
                "enabled",
                new ViewContextSource(viewContext, ToolWindowTypeDescriptor.class),
                new ChecBoxSelectionSource(enabled)));

        panel.addEntry(1, 0, "animating : ", animating = new JCheckBox());
        animating.setSelected(true);
        animating.setAction(new DynamicAction(ToolWindowTypeDescriptor.class,
                "animating",
                new ViewContextSource(viewContext, SlidingTypeDescriptor.class),
                new ChecBoxSelectionSource(animating)));
View Full Code Here

        animating.setAction(new DynamicAction(ToolWindowTypeDescriptor.class,
                "animating",
                new ViewContextSource(viewContext, SlidingTypeDescriptor.class),
                new ChecBoxSelectionSource(animating)));

        panel.addEntry(2, 0, "idVisibleOnTitleBar : ", idVisibleOnTitleBar = new JCheckBox());
        idVisibleOnTitleBar.setAction(new DynamicAction(ToolWindowTypeDescriptor.class,
                "idVisibleOnTitleBar",
                new ViewContextSource(viewContext, SlidingTypeDescriptor.class),
                new ChecBoxSelectionSource(idVisibleOnTitleBar)));
View Full Code Here

                "idVisibleOnTitleBar",
                new ViewContextSource(viewContext, SlidingTypeDescriptor.class),
                new ChecBoxSelectionSource(idVisibleOnTitleBar)));


        panel.addEntry(0, 1, "transparentMode : ", transparentMode = new JCheckBox());
        transparentMode.setAction(new DynamicAction(SlidingTypeDescriptor.class,
                "transparentMode",
                new ViewContextSource(viewContext, SlidingTypeDescriptor.class),
                new ChecBoxSelectionSource(transparentMode)));
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.