Examples of Window


Examples of ae.java.awt.Window

    private synchronized void addClientWindowListeners() {
        Component client = getClientComponent();
        if (client == null) {
            return;
        }
        Window window = getComponentWindow(client);
        if (window == null) {
            return;
        }
        window.addComponentListener(this);
        window.addWindowListener(this);
        clientWindowListened = window;
    }
View Full Code Here

Examples of android.view.Window

    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle icicle) {
        super.onCreate(icicle);

        Window lWin = getWindow();
        lWin.setFormat(PixelFormat.TRANSLUCENT);

        requestWindowFeature(Window.FEATURE_NO_TITLE);

        // needs to be called before setContentView to be applied
        lWin.setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
                WindowManager.LayoutParams.FLAG_FULLSCREEN);

        setContentView(R.layout.camera_hvga_p);

        mSurfaceView = (SurfaceView) findViewById(R.id.sfvCamera);
View Full Code Here

Examples of ca.nengo.ui.lib.world.piccolo.objects.Window

     */
    protected Window getViewerWindow() {
        if (!isViewerWindowVisible()) {

            NodeViewer nodeViewer = createViewerInstance();
            Window viewerWindow = new Window(this, nodeViewer);
            nodeViewer.applyDefaultLayout();

            SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    if (getWorld() != null) {
View Full Code Here

Examples of charva.awt.Window

     *
     * @param mnemonic_ the keycode of the mnemonic key.
     */
    public void setMnemonic(int mnemonic_) {
  _mnemonic = mnemonic_;
  Window ancestor = super.getAncestorWindow();
  if (ancestor != null) {
      ancestor.addKeyListener(this);
  }
    }
View Full Code Here

Examples of cl.alejo.jcsim.window.Window

    if (_windows == null)
      return;

    for (Iterator iter = _windows.iterator(); iter.hasNext();) {
      Window window = (Window) iter.next();
      window.setTitle(_name);
    }
  }
View Full Code Here

Examples of com.badlogic.gdx.scenes.scene2d.ui.Window

    public UI () {
      create();
    }

    public void create () {
      window = new Window("Light", skin);

      root = new Table(skin);
      root.pad(2, 4, 4, 4).defaults().space(6);
      root.columnDefaults(0).top().right();
      root.columnDefaults(1).left();
View Full Code Here

Examples of com.drakulo.games.ais.ui.component.window.Window

    });
    gameMenuButtons.add(exitButton);
    add(exitButton);

    // The game menu background
    gameMenuWindow = new Window(0, 0, buttonWidth + 20, MENU_SMALL_HEIGHT);
    gameMenuWindow.show();
  }
View Full Code Here

Examples of com.epsilon5.client.window.Window

public class App {

    public static void main(String[] args) {
        final Injector injector = Guice.createInjector(new AppModule());
        final Window window = injector.getInstance(Window.class);
        window.show();

        final NetworkChannel channel = injector.getInstance(NetworkChannel.class);
        channel.open();
    }
View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.Window

        Component c = ComponentManager.get().find(pe.getTarget());
        if (key == 117) {
          onToggle(c, pe);
        }
        Window w = null;
        if (c != null) {
          w = isWindow(c);
          if (w == null) {
            focusComponent = c;
          }
View Full Code Here

Examples of com.facebook.presto.sql.tree.Window

        }

        List<FunctionCall> windowFunctions = extractor.getWindowFunctions();

        for (FunctionCall windowFunction : windowFunctions) {
            Window window = windowFunction.getWindow().get();

            WindowFunctionExtractor nestedExtractor = new WindowFunctionExtractor();
            for (Expression argument : windowFunction.getArguments()) {
                nestedExtractor.process(argument, null);
            }

            for (Expression expression : window.getPartitionBy()) {
                nestedExtractor.process(expression, null);
            }

            for (SortItem sortItem : window.getOrderBy()) {
                nestedExtractor.process(sortItem.getSortKey(), null);
            }

            if (window.getFrame().isPresent()) {
                nestedExtractor.process(window.getFrame().get(), null);
            }

            if (!nestedExtractor.getWindowFunctions().isEmpty()) {
                throw new SemanticException(NESTED_WINDOW, node, "Cannot nest window functions inside window function '%s': %s",
                        windowFunction,
                        extractor.getWindowFunctions());
            }

            if (windowFunction.isDistinct()) {
                throw new SemanticException(NOT_SUPPORTED, node, "DISTINCT in window function parameters not yet supported: %s", windowFunction);
            }

            if (window.getFrame().isPresent()) {
                throw new SemanticException(NOT_SUPPORTED, node, "Window frames not yet supported");
            }

            List<Type> argumentTypes = Lists.transform(windowFunction.getArguments(), new Function<Expression, Type>()
            {
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.