Package org.jitterbit.ui.widget.overlay

Examples of org.jitterbit.ui.widget.overlay.KongaLayeredPane$GlassPane


        this.designLauncher = designLauncher;
        this.adminLauncher = adminLauncher;
        contentPanel = new JPanel(new BorderLayout());
        controlPanel = createControlPanel();
        center = layoutMainPanel();
        layeredPane = new KongaLayeredPane(center);
        layoutLogo();
    }
View Full Code Here


    public GenericEditor(String id, String mainTitle, String subTitle) {
        super(id);
        ApplicationUiUtils.logIfNotOnEDT(getClass(), "<init>");
        this.mainTitle = mainTitle;
        this.subTitle = subTitle;
        overlayContainer = useLayeredPane() ? new KongaLayeredPane() : null;
        savePointDistances = new Stack<Integer>();
        toolbarButtons = Lists.newArrayList();
        toolbarPopupMenuActions = Lists.newArrayList();
        includeCloseButton = true;
        undoManager = new UndoManager();
View Full Code Here

     */
    @SuppressWarnings("unchecked")
    public WizardPageDisplayer(Wizard wizard, String id) {
        super(id, wizard.getTitle());
        this.wizard = wizard;
        pageAreaContainer = new KongaLayeredPane();
        wizard.setDisplayer(this);
        // We suppress this unchecked warning because what we are doing is safe. The listener we add is
        // not interested in the object created by the wizard, it only needs to know when the wizard completes.
        wizard.addWizardListener(new WizardListenerImpl());
        actions = new WizardDisplayerActionSupport(wizard);
View Full Code Here

        inputListeners = new CopyOnWriteArrayList<GraphInputListener>();
        mouseEventDispatcher = new MouseEventDispatcher();
        setNavigationOrder(null);
        registerInputHandler();
        bindDebugActions();
        ui = new KongaLayeredPane(scroll);
    }
View Full Code Here

        inputPanel.addInputChangeListener(lst);
    }

    @Override
    public void decorate(UiCanvas canvas) {
        KongaLayeredPane layers = new KongaLayeredPane(layoutFields());
        undoRedo = new InputPanelUndoRedoEnabler(inputPanel, layers);
        canvas.display(layers);
    }
View Full Code Here

    private final KongaLayeredPane layeredPane;

    public ImportJitterPackOption(final ApplicationWindow appWin, final ProjectManager projectManager) {
        super(Strings.format("Launcher.Import.Name", JitterPackConstants.SINGULAR), ClientIcons.JITTERPAK_32);
        this.appWin = appWin;
        layeredPane = new KongaLayeredPane();
        // HACK: This is to allow the main window to be created completely.
        // Otherwise we bomb out in a NullPointerException when we create the
        // ImportJitterPackUi.
        // To fix me, defer creation of the importPage until we're first activated.
        EventQueue.invokeLater(new Runnable() {
View Full Code Here

        }
    }

    @Override
    public void decorate(UiCanvas canvas) {
        KongaLayeredPane layers = new KongaLayeredPane(layoutFields());
        undoRedo = new InputPanelUndoRedoEnabler(inputPanel, layers);
        canvas.display(layers);
    }
View Full Code Here

    public AbstractEngineUi(ServerEngine engine) {
        this.engine = engine;
        controller = new EngineController(engine);
        statusPanel = createStatusPanel();
        actionPanel = createActionPanel();
        container = new KongaLayeredPane(layout());
        statusPanel.setWaitService(container);
        actionPanel.setWaitService(container);
        getStatus();
    }
View Full Code Here

        OneColumnPanel ui = new OneColumnPanel();
        ui.setInsets(0, 0, 10, 0);
        ui.setWeightX(1.0);
        ui.add("Click on Greeting");
        ui.add(dd.getDisplayer());
        KongaLayeredPane layers = new KongaLayeredPane();
        layers.setBaseComponent(ui.getUi());
        KongaScrollPane scroll = new KongaScrollPane(layers);
        QuickFrame.show(scroll, "DropDownPanelTest");
    }
View Full Code Here

    private JComponent doLayout() {
        JPanel base = new JPanel();
        base.setBackground(Color.WHITE);
        base.add(new JLabel(Empty.iconOfSameSize(icon)));
        base.setBorder(new BorderBuilder().line().empty(24, 16, 24, 16));
        KongaLayeredPane layers = new KongaLayeredPane();
        layers.setBaseComponent(base);
        layers.addOverlay(logoPanel, new OverlayCenterPositioner());
        Grid grid = Grid.oneColumn(20);
        grid.setOpaque(false);
        grid.addAll(dataComesIn, dataGoesOut, cantExplainThat);
        grid.get().setSize(grid.get().getPreferredSize());
        layers.addOverlay(grid.get(), new OverlayCenterPositioner());
        layers.setBorder(new BorderBuilder().line().empty(32));
        return layers;
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.ui.widget.overlay.KongaLayeredPane$GlassPane

Copyright © 2018 www.massapicom. 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.