Examples of Focus


Examples of org.eclipse.wst.xml.xpath2.processor.internal.Focus

                           fDynamicContext.node_position(contextNode)));
           if (xPathDefaultNamespace != null) {
             fDynamicContext.add_namespace(null, xPathDefaultNamespace)
           }
          
           fDynamicContext.set_focus(new Focus(nodeEvalRS));
        }
        else {
           eval = new DefaultEvaluator(fDynamicContext, null);  
        }
       
View Full Code Here

Examples of org.eclipse.wst.xml.xpath2.processor.internal.Focus

                           fDynamicContext.node_position(contextNode)));
           if (xPathDefaultNamespace != null) {
             fDynamicContext.add_namespace(null, xPathDefaultNamespace)
           }
          
           fDynamicContext.set_focus(new Focus(nodeEvalRS));
        }
        else {
           eval = new DefaultEvaluator(fDynamicContext, null);  
        }
       
View Full Code Here

Examples of org.jemmy.interfaces.Focus

        return super.as(interfaceClass, type);
    }

    @Override
    public Focus focuser() {       
        return new Focus() {
/*TODO We can't simulate user input in order to switch tabs because there is no way to get real node corresponding to Tab.
* http://javafx-jira.kenai.com/browse/RT-18230
* So focus is requested and tabs are switched by keyboard*/
            public void focus() {
                new GetAction<Void>(){
View Full Code Here

Examples of org.timepedia.chronoscope.client.Focus

    // TODO: add new method to detect non-drawable datasets
//    if (dataSet.getNumSamples() < 2) {
//      return;
//    }

    Focus focus = plot.getFocus();
    int focusSeries, focusPoint;
    double focusDomainX = -1;

    if (focus == null) {
      focusSeries = -1;
      focusPoint = -1;
    } else {
      focusSeries = focus.getDatasetIndex();
      focusPoint = focus.getPointIndex();
      focusDomainX = focus.getDomainX();
    }

    MipMap currMipMap = dds.currMipMap;
    final int domainStartIdx = dds.visDomainStartIndex;
    final int domainEndIdx = dds.visDomainEndIndex;
View Full Code Here

Examples of org.timepedia.chronoscope.client.Focus

        || numDatasets != datasetRenderOrder.length) {
      datasetRenderOrder = new int[numDatasets];
    }

    int d = 0;
    Focus focus = plot.getFocus();

    //  all unfocused barcharts first
    for (int i = 0; i < numDatasets; i++) {
      DatasetRenderer<T> renderer = drawableDatasets.get(i).getRenderer();
      if (renderer instanceof BarChartXYRenderer && (focus == null
          || focus.getDatasetIndex() != i)) {
        datasetRenderOrder[d++] = i;
      }
    }

    // next render unfocused non-barcharts
    for (int i = 0; i < numDatasets; i++) {
      DatasetRenderer<T> renderer = drawableDatasets.get(i).getRenderer();
      if (!(renderer instanceof BarChartXYRenderer) && (focus == null
          || focus.getDatasetIndex() != i)) {
        datasetRenderOrder[d++] = i;
      }
    }

    // finally render the focused series
View Full Code Here

Examples of org.timepedia.chronoscope.client.Focus

    return "zoomed";
  }

  @Export
  public JavaScriptObject getSelection() {
    Focus focus = cp.getChart().getPlot().getFocus();
    if (focus == null) {
      return JavaScriptObject.createArray();
    }

    return GVizEventHelper
        .selection(dataset2Column.get(focus.getDatasetIndex()),
            focus.getPointIndex());
  }
View Full Code Here

Examples of org.timepedia.chronoscope.client.Focus

    Properties sel = JavascriptHelper.jsArrGet(selection, 0).cast();
    dontfire = true;

    for (Map.Entry<Integer, Integer> e : dataset2Column.entrySet()) {
      if (e.getValue() == sel.getInt("col")) {
        Focus focus = new Focus();
        focus.setDatasetIndex(e.getKey());
        focus.setPointIndex(sel.getInt("row"));
        cp.getChart().getPlot().setFocus(focus);
      }
    }
    ((DefaultXYPlot) cp.getChart().getPlot()).redraw(true);
  }
View Full Code Here

Examples of org.zkoss.zss.ui.Focus

  }
 
  //if browser is closed directly
  private void syncFocus() {
    for (final Iterator<Object> it = _focusMap.keySet().iterator(); it.hasNext(); ) {
      final Focus focus = (Focus) it.next();
      if (focus.isDetached()) {
        it.remove();
      }
    }
  }
View Full Code Here

Examples of xbird.xquery.meta.Focus

                throw new XQRTException("Failed grouping", e);
            }
            this._shuffler = null;
        }
        GroupingIterator itor = new GroupingIterator(_map, _dynEnv);
        return new Focus(this, itor, _dynEnv);
    }
View Full Code Here

Examples of xbird.xquery.meta.Focus

            _sorter.sort();
        } catch (XQueryException e) {
            throw new XQRTException(e);
        }
        KeyStrippingIterator itor = new KeyStrippingIterator(_items, _orderSpecs);
        return new Focus(this, itor, _dynEnv); // FIXME
    }
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.