Examples of View


Examples of com.zaranux.os.client.ui.View

  protected void setWidget(Widget widget, int width, int height ,AsyncCallback<Boolean> callback)
  {

    if(_w != -1) // deserialized
    {
      View view = screen.getView(_v);
      zwindow = new ZWindow(widget,_w, _h, callback);
      view.addWindow(zwindow, _l, _t);
    }else
    {
      View activeView = screen.getActiveView();

      if(zwindow == null)
      {
        zwindow = new ZWindow(widget,width, height, callback);
      }
      int centerX = (activeView.getWidth() - width) / 2;
      int centerY = (activeView.getHeight() - height)/2;
      activeView.addWindow(zwindow, centerX, centerY);
    }
    zwindow.setTitle((title!=null ? title : getProcessName()));

    // else ignore it
  }
View Full Code Here

Examples of diva.gui.View

        _documents.removeElement(d);

        List views = (List) _documentMap.get(d);

        for (Iterator i = views.iterator(); i.hasNext();) {
            View v = (View) i.next();
            i.remove();
            removeView(v);
        }

        _documentMap.remove(d);
View Full Code Here

Examples of edu.hawaii.ics.csdl.jupiter.file.preference.View

   * @param preference The preference object that the data is to be added to.
   * @throws XMLStreamException Thrown if there is an error reading from the reader.
   */
  private static void parseView(XMLStreamReader reader, Preference preference)
      throws XMLStreamException {
    View view = new View();
    view.setDefault(reader.getAttributeValue(null, ATTRIBUTE_DEFAULT));

    boolean endFound = false;
    while (!endFound) {
      if (reader.hasNext()) {
        int eventType = reader.next();
View Full Code Here

Examples of event_manager.views.View

    public static void login(JFrame v, Staff staff) {
        try {
            DBHelper.openConnection();
            if(staff.isAdmin()) {
                v.dispose();
                new View().maximize().setVisible(true);
            } else {
                ViewHelper.showDialog("Invalid Login");
            }
        } finally {
            DBHelper.closeConnection();
View Full Code Here

Examples of gov.nasa.arc.mct.gui.View

     * Creates a new instance of this for the selected view type.
     * @param component to use to attach view to
     * @return new instance of view
     */
    public View createView(final AbstractComponent component) {
        View v;
        /* Try to build under MCT's color model */
        try {
            v = LookAndFeelSettings.getColorProperties().getColorSchemeFor(getViewClass().getSimpleName()).callUnderColorScheme( new Callable<View>() {
                public View call() throws Exception {
                    return newView(component);               
View Full Code Here

Examples of gov.nasa.worldwind.View

    //*************************************************************

    @Override
    protected void moveControlPoint(GfrMrkMoveHoriz controlPoint, Point lastMousePoint, Point moveToPoint)
    {
        View view = super._wwd.getView();
        Globe globe = super._wwd.getModel().getGlobe();

        Position refPos = controlPoint.getPosition();
        if (refPos == null)
            return;

        Line ray = view.computeRayFromScreenPoint(moveToPoint.getX(), moveToPoint.getY());
        Line previousRay = view.computeRayFromScreenPoint(lastMousePoint.getX(), lastMousePoint.getY());

        Vec4 vec = AirspaceEditorUtil.intersectGlobeAt(super._wwd, refPos.getElevation(), ray);
        Vec4 previousVec = AirspaceEditorUtil.intersectGlobeAt(super._wwd, refPos.getElevation(), previousRay);

        if (vec == null || previousVec == null)
View Full Code Here

Examples of hudson.model.View

                }

                // initialize views by inserting the default view if necessary
                // this is both for clean Hudson and for backward compatibility.
                if(views.size()==0 || primaryView==null) {
                    View v = new AllView(Messages.Hudson_ViewName());
                    setViewOwner(v);
                    views.add(0,v);
                    primaryView = v.getViewName();
                }

                // read in old data that doesn't have the security field set
                if(authorizationStrategy==null) {
                    if(useSecurity==null || !useSecurity)
View Full Code Here

Examples of io.dropwizard.views.View

public class ViewResource {
    @GET
    @Produces("text/html;charset=UTF-8")
    @Path("/utf8.ftl")
    public View freemarkerUTF8() {
        return new View("/views/ftl/utf8.ftl", Charsets.UTF_8) {
        };
    }
View Full Code Here

Examples of it.uniroma1.dptu.stan.gui.View

  view.getDocPrinter().pageDialog();
  */
    }

    private void printIt() {
  View view = (View)Application.getCurrentView();

  PdfDocPrinter pdp = view.getDocPrinter();
  pdp.addAttribute(
      javax.print.attribute.standard.MediaSizeName.ISO_A4
  );

  try {
View Full Code Here

Examples of javax.media.j3d.View

    viewPlatformTransform.setCapability(TransformGroup.ALLOW_CHILDREN_READ);
   
    Viewer viewer = new Viewer(new Canvas3D [0]);
    SimpleUniverse universe = new SimpleUniverse(viewingPlatform, viewer);
   
    View view = viewer.getView();
    // Update field of view from current camera
    updateView(view, this.home.getCamera(), this.home.getTopCamera() == this.home.getCamera());
   
    // Update point of view from current camera
    updateViewPlatformTransform(viewPlatformTransform, this.home.getCamera(), false);
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.