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

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


        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

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

        panel.addEntry(1, 1, "transparentRatio : ", transparentRatio = new JSpinner(new SpinnerNumberModel(0.0, 0.0, 1.0, 0.05)));
        transparentRatio.addChangeListener(
                new ChangeListenerAction(SlidingTypeDescriptor.class,
                        "transparentRatio",
                        new ViewContextSource(viewContext, SlidingTypeDescriptor.class),
                        new ToFloatSource(new SpinnerValueSource(transparentRatio)))
View Full Code Here

                        "transparentRatio",
                        new ViewContextSource(viewContext, SlidingTypeDescriptor.class),
                        new ToFloatSource(new SpinnerValueSource(transparentRatio)))
        );

        panel.addEntry(2, 1, "transparentDelay : ", transparentDelay = new JSpinner(new SpinnerNumberModel(0, 0, 5000, 500)));
        transparentDelay.addChangeListener(
                new ChangeListenerAction(SlidingTypeDescriptor.class,
                        "transparentDelay",
                        new ViewContextSource(viewContext, SlidingTypeDescriptor.class),
                        new SpinnerValueSource(transparentDelay))
View Full Code Here

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

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

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

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

        modal.setAction(new DynamicAction(FloatingTypeDescriptor.class,
                                          "modal",
                                          new ViewContextSource(viewContext, FloatingTypeDescriptor.class),
                                          new ChecBoxSelectionSource(modal)));

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

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

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

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

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