Examples of ExtendedTableLayout


Examples of org.noos.xing.mydoggy.plaf.ui.cmp.ExtendedTableLayout

        public TestSelectorPanel(ViewContext viewContext) {
            super(viewContext);
        }

        protected Component initComponent() {
            JPanel panel = new JPanel(new ExtendedTableLayout(new double[][]{{150,3,-1,3, 100},{-1}}));

            Container container = (Container) viewContext.get("windowAnchestor");
            ToolWindowManager toolWindowManager = viewContext.get(ToolWindowManager.class);

            try {
View Full Code Here

Examples of org.noos.xing.mydoggy.plaf.ui.cmp.ExtendedTableLayout

        public TestDescriptionPanel(ViewContext viewContext) {
            super(viewContext);
        }

        protected Component initComponent() {
            JPanel panel = new JPanel(new ExtendedTableLayout(new double[][]{{-1},{-1}}));
            panel.setBorder(new LineBorder(Color.DARK_GRAY));

            this.editorPane = new JEditorPane();
            editorPane.setEditorKit(new HTMLEditorKit());
            editorPane.setEditable(false);
View Full Code Here

Examples of org.noos.xing.mydoggy.plaf.ui.cmp.ExtendedTableLayout

    public PreferencePanelView(ViewContext viewContext) {
        super(viewContext);
    }

    protected Component initComponent() {
        preferencePanel = new JPanel(new ExtendedTableLayout(new double[][]{{-1}, {20, 3, -1}}));
        preferencePanel.setBorder(new TitledBorder("Preferences"));


        typeDescriptorContainer = new PanelViewContainer() {
            protected void initComponents() {
View Full Code Here

Examples of org.noos.xing.mydoggy.plaf.ui.cmp.ExtendedTableLayout

    public ContentTableView(ViewContext viewContext) {
        super(viewContext);
    }

    protected Component initComponent() {
        JPanel main = new JPanel(new ExtendedTableLayout(new double[][]{{-1},{-1}}));
        main.setBorder(new TitledBorder("Contents"));

        JTable contentsTable = new JTable(new ContentsTableModel(viewContext.get(ToolWindowManager.class)));
        contentsTable.getTableHeader().setReorderingAllowed(false);
        contentsTable.getSelectionModel().addListSelectionListener(
View Full Code Here

Examples of org.noos.xing.mydoggy.plaf.ui.cmp.ExtendedTableLayout

        public TypeDescriptorSelectorView(ViewContext viewContext) {
            super(viewContext);
        }

        protected Component initComponent() {
            JPanel panel = new JPanel(new ExtendedTableLayout(new double[][]{{150, 3, -1, 5 , 100}, {-1}}));

            types = new JComboBox(new Object[]{
                    "<none>",
                    DockedTypeDescriptor.class,
                    SlidingTypeDescriptor.class,
View Full Code Here

Examples of org.noos.xing.mydoggy.plaf.ui.cmp.ExtendedTableLayout

        protected boolean restore;

        public LensPanel() {
            setBorder(BorderFactory.createLineBorder(Color.BLUE));
            setAlphaModeRatio(0.15f);
            setLayout(new ExtendedTableLayout(new double[][]{{2, -1, 2}, {2, -1, 2}}));
            setFocusable(true);

            FloatingResizeMouseInputHandler floatingResizeMouseInputHandler = new FloatingResizeMouseInputHandler(this);
            floatingResizeMouseInputHandler.setMinimumSize(new Dimension(40,40));
            addMouseListener(floatingResizeMouseInputHandler);
View Full Code Here

Examples of org.noos.xing.mydoggy.plaf.ui.cmp.ExtendedTableLayout

    public NullTypeDescriptorView(ViewContext viewContext) {
        super(viewContext);
    }

    protected Component initComponent() {
        return new JPanel(new ExtendedTableLayout(new double[][]{{-1},{-1}}));
    }
View Full Code Here

Examples of org.noos.xing.mydoggy.plaf.ui.cmp.ExtendedTableLayout

    }


    private void initSlidingComponents() {
        mainPanel = new JPanel();
        sheet = new TranslucentPanel(new ExtendedTableLayout(new double[][]{{2, TableLayout.FILL, 2}, {2, TableLayout.FILL, 2}}));
        border = new SlidingBorder();
        slidingAnimation = new SlidingAnimation();

        Window anchestor = descriptor.getWindowAnchestor();
        if (anchestor instanceof RootPaneContainer) {
View Full Code Here

Examples of org.noos.xing.mydoggy.plaf.ui.layout.ExtendedTableLayout

    splitPane.setFocusCycleRoot(true);

    contentPane = new JPanel();
    if (anchor == ToolWindowAnchor.LEFT || anchor == ToolWindowAnchor.RIGHT) {
      horizontal = false;
      contentPane.setLayout(new ExtendedTableLayout(new double[][]{COLUMNS, {0}}));
      orientation = JSplitPane.VERTICAL_SPLIT;
    } else if (anchor == ToolWindowAnchor.TOP || anchor == ToolWindowAnchor.BOTTOM) {
      horizontal = true;
      contentPane.setLayout(new ExtendedTableLayout(new double[][]{{0}, ROWS}));
      orientation = JSplitPane.HORIZONTAL_SPLIT;
    }

    toolScrollBar = new JToolScrollBar(orientation, contentPane);
View Full Code Here

Examples of org.noos.xing.mydoggy.plaf.ui.layout.ExtendedTableLayout

        this.frame = new JFrame("MyDoggy-Set...");
        this.frame.setSize(640, 480);
        this.frame.setLocation(100, 100);
        this.frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        this.frame.getContentPane().setLayout(new ExtendedTableLayout(new double[][]{{0, -1, 0}, {0, -1, 0}}));

        this.contentPane = this.frame.getContentPane();

        JMenuBar menuBar = new JMenuBar();
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.