Examples of TabPanel


Examples of gov.nist.gui.TabPanel

        client.game.addGameListener(this);

        // cb = client.cb;

        // Create a tabbed panel to hold our reports.
        tabs = new TabPanel();
        // debugReport: add new client setting
        Font tabPanelFont = new Font("Dialog", Font.BOLD, //$NON-NLS-1$
                GUIPreferences.getInstance().getInt(
                        "AdvancedChatLoungeTabFontSize"));
        tabs.setTabFont(tabPanelFont);
View Full Code Here

Examples of gov.nist.gui.TabPanel

        super();
        client = clientgui.getClient();
        this.clientgui = clientgui;

        // Create a tabbed panel to hold our components.
        panTabs = new TabPanel();
        Font tabPanelFont = new Font("Dialog", Font.BOLD, //$NON-NLS-1$
                GUIPreferences.getInstance().getInt(
                        "AdvancedChatLoungeTabFontSize"));
        panTabs.setTabFont(tabPanelFont);
View Full Code Here

Examples of gov.nist.gui.TabPanel

     */
    private void init(Frame frame, GameOptions options) {
        this.options = options;
        currentFrame = frame;

        panOptions = new TabPanel();

        texDesc.setEditable(false);

        setupButtons();
        setupPassword();
View Full Code Here

Examples of net.sourceforge.ztail.ui.tabs.TabPanel

  private static TabPanelManager instance = null;
 
  private TabPanel tabPanel;
 
  private TabPanelManager() {
    tabPanel = new TabPanel(BaseManager.instance().getBaseShell());
  }
View Full Code Here

Examples of org.joshy.gfx.node.layout.TabPanel

                Core.getShared().reloadSkins();
            }
        };


        TabPanel tab = new TabPanel();
        tab.add(getString("preferences.generalTab"),new VFlexBox().setBoxAlign(VFlexBox.Align.Left)
            .add(new HFlexBox()
                    .setBoxAlign(HFlexBox.Align.Baseline)
                    .add(trackingCheckbox)
                    .add(new Linkbutton(getString("misc.whatsthis")).onClicked(new Callback<ActionEvent>() {
                public void call(ActionEvent actionEvent) throws Exception {
                    OSUtil.openBrowser("http://code.google.com/p/leonardosketch/wiki/Tracking");
                }
            })))
            .add(new Label(getString("preferences.flickrCache")))
            .add(new Label(Main.FlickrSearchCache.getCacheDir().getAbsolutePath()).setColor(new FlatColor(0x606060)))
            .add(new Button(getString("preferences.deleteFlickrCache")).onClicked(clearFlickrCache))
        );
        tab.add(getString("preferences.advancedTab"), new VFlexBox().setBoxAlign(VFlexBox.Align.Stretch)
                .add(debugMenuCheckbox)
                .add(new Label(getString("preferences.preferredLocale")))
                .add(localeChoice)
                .add(new Label(getString("misc.changesAppliedLater").toString()))
        );
View Full Code Here

Examples of org.joshy.gfx.node.layout.TabPanel

        selectButtonForTool(moveRectTool);

    }

    public void setupSidebar() {
        this.sideBar = new TabPanel();
        this.symbolPanel = new SymbolPanel(getMain().symbolManager, this);
        this.sideBar.add(getString("sidebar.symbols"),this.symbolPanel);
        this.flickrPanel = new FlickrPanel(this);
        this.sideBar.add(getString("sidebar.flickr"), this.flickrPanel);
        this.flickrPanel.setVisible(false);
View Full Code Here

Examples of org.joshy.gfx.node.layout.TabPanel

            gfx.translate(-x,-y);
        }
    };

    private TabPanel buildPanel() throws IOException {
        final TabPanel panel = new TabPanel();
        panel.setPrefWidth(300);
        panel.setPrefHeight(250);

        setupColorTab(panel);
        setupSwatchTab(panel);
        setupRGBTab(panel);
        setupGradientTab(panel);
        setupPatternTab(panel);

        //TODO: is this popup event really working?
        EventBus.getSystem().addListener(panel, MouseEvent.MouseAll, new Callback<MouseEvent>() {
            public void call(MouseEvent event) {
                if(event.getType() == MouseEvent.MouseDragged) {
                    if(!popup.isVisible()) return;
                    Control control = panel.getSelected();
                    if(control instanceof ListView) {
                        ListView lv = (ListView) control;
                        Object item = lv.getItemAt(event.getPointInNodeCoords(lv));
                        if(item instanceof Paint) {
                            setSelectedFill((Paint) item);
                        }
                    }
                }
                if(event.getType() == MouseEvent.MouseReleased) {
                    Point2D pt = event.getPointInNodeCoords(panel);
                    pt = new Point2D.Double(pt.getX()+panel.getTranslateX(),pt.getY()+panel.getTranslateY());
                    if(panel.getVisualBounds().contains(pt)) {
                        popup.setVisible(false);
                    }
                }
            }
        });
View Full Code Here

Examples of org.joshy.gfx.node.layout.TabPanel

        return getString(key);
    }

    @Override
    public void execute() {
        TabPanel sideBar = context.getSidebar();
        if(sideBar != null) {
            sideBar.setSelected(panel);
        }
    }
View Full Code Here

Examples of org.zkoss.zul.Tabpanel

            Tab ntb = new Tab(funName);
            ntb.setId("funTab_" + funIdStr);
            ntb.setClosable(true);

            Tabpanel ntp = new Tabpanel();
            ntp.setId("funPanel_" + funIdStr);

            ntb.setParent(tbs);
            ntp.setParent(tps);

            Include inc = new Include(funPath);
            inc.setMode("defer");
            inc.setParent(ntp);
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.