Examples of View


Examples of android.view.View

    setContentView(R.layout.main);
        testResult = (TextSwitcher) findViewById(R.id.text_result);
       
        LayoutInflater inflater = LayoutInflater.from(this);
        View v0 = inflater.inflate(R.layout.text_view, null);
        View v1 = inflater.inflate(R.layout.text_view, null);
        LayoutParams layoutParams = new ViewGroup.LayoutParams(ViewGroup.LayoutParams.FILL_PARENT, ViewGroup.LayoutParams.FILL_PARENT);
        testResult.addView(v0, 0, layoutParams);
        testResult.addView(v1, 1, layoutParams);
        testResult.setText("WARNING, before calling any test make sure server.py is running !!!");
View Full Code Here

Examples of at.jku.sii.sqlitereader.model.View

public final class ViewRecord extends MasterTableRecord {
  private final View view;

  public ViewRecord(Record c) {
    super(c);
    this.view = new View(this);
  }
View Full Code Here

Examples of bm.core.mvc.View

    protected void process( final ControllerEvent event )
    {
        try
        {
            boolean consumed = false;
            final View source = event.getSource();
            if( source instanceof ListBrowserView )
            {
                consumed = processListBrowserView( event );
            }
            if( !consumed )
View Full Code Here

Examples of bpntojava.view.View.View

    /**
     * Konstruktor.
     */
    public Controller() {
        view = new View(this);
        view.setGetTableButtonUsable(false);
    }
View Full Code Here

Examples of ca.simplegames.micro.View

                    e.printStackTrace();
                }
            }

            if (viewModel != null) {
                return new View(viewModel);
            }
        }
        return null;
    }
View Full Code Here

Examples of chunmap.view.View

  }

  public void mouseReleased(MouseEvent e) {
    if (draging) {

      View view=map.getView();
     
      int dx = e.getX() - x;
      int dy = e.getY() - y;
     
      double w = view.getWidth() / 2d - dx;
            double h = view.getHeight() / 2d - dy;

            double xx = view.x2World(w);
            double yy = view.y2World(h);

      MoveToCommand cmd = new MoveToCommand(map, xx, yy);
      map.executeCommand(cmd);

      draging = false;
View Full Code Here

Examples of collide.gwtc.ui.GwtCompilerShell.View

      };
    };
  }

  protected GwtCompilerShell initializeView() {
    View view = new GwtCompilerShell.View(context,model,gwtResources.get());
    return GwtCompilerShell.create(view, context);
  }
View Full Code Here

Examples of com.ateam.webstore.ui.views.View

   * @return
   */
  public OrderDetailsView getOrderDetailsView(Orders order, boolean admin) {

   
    View main = null;
    if (admin) {
      main = getMainAdminView();
    }
    else {
      main = getMainView();
View Full Code Here

Examples of com.basemovil.vc.view.View

            final IconSet iconSet = (IconSet) i.next();
            iconSet.store( index );
        }
        for( final Iterator i = views.values().iterator(); i.hasNext(); )
        {
            final View view = (View) i.next();
            view.store( index );
        }
        FileOutputStream fos = null;
        try
        {
            System.out.println( "Index size: " + store.getSize() + " bytes" );
View Full Code Here

Examples of com.caucho.config.gen.View

    out
        .println("  throws IllegalAccessException, java.lang.reflect.InvocationTargetException");
    out.println("{");
    out.pushDepth();

    View objectView = null;

    for (View view : getViews()) {
      if (view instanceof StatelessView) {
        objectView = view;
        break;
      }
    }

    if (objectView != null) {
      out.print(beanClass + " bean = ");
      objectView.generateNewInstance(out);
      out.println(";");
      out.println("method.invoke(bean, timer);");
      objectView.generateFreeInstance(out, "bean");
    }

    out.popDepth();
    out.println("}");

    out.println();
    out
        .println("public void __caucho_timeout_callback(java.lang.reflect.Method method)");
    out
        .println("  throws IllegalAccessException, java.lang.reflect.InvocationTargetException");
    out.println("{");
    out.pushDepth();

    if (objectView != null) {
      out.print(beanClass + " bean = ");
      objectView.generateNewInstance(out);
      out.println(";");
      out.println("method.invoke(bean);");
      objectView.generateFreeInstance(out, "bean");
    }

    out.popDepth();
    out.println("}");
  }
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.