Examples of Selector

@version $Revision: 1.1 $ $Date: 2004/11/26 01:50:44 $ @author Tim Anderson
  • org.graphstream.ui.graphicGraph.stylesheet.Selector
    A selector is the part of a CSS rule that defines to which element a style applies in the graph. @author Antoine Dutot @author Yoann Pign�
  • org.jamesii.asf.database.hibernate.Selector
    Hibernate implementation of a selector. @author Roland Ewald
  • org.jamesii.asf.spdm.generators.Selector
    Super class for selectors, implements idea of using a predictor (see {@link IPerfComparisonPredictor}) to sort a list. @author Roland Ewald
  • org.jboss.dna.graph.query.model.Selector
  • org.jboss.jms.selector.Selector
    This class implements a Message Selector. @author Norbert Lataille @author Juha Lindfors @author Jason Dillon @author Scott Stark @author Tim Fox @version $Revision: 2284 $$Id: Selector.java 2284 2007-02-13 06:47:23Z ovidiu.feodorov@jboss.com $
  • org.jboss.jms.server.selector.Selector
    This class implements a Message Selector. @author Norbert Lataille @author Juha Lindfors @author Jason Dillon @author Scott Stark @author Tim Fox @version $Revision: 3168 $$Id: Selector.java 3168 2007-10-03 02:34:11Z clebert.suconic@jboss.com $
  • org.jitterbit.application.ui.widget.SectionedSplitPane.Selector
  • org.mizartools.dli.Selector
  • org.modeshape.jcr.query.model.Selector
  • org.openstreetmap.josm.gui.mappaint.mapcss.Selector
    MapCSS selector. A rule has two parts, a selector and a declaration block e.g.
     way[highway=residential]     { width: 10; color: blue; }  
    The selector decides, if the declaration block gets applied or not. All implementing classes of Selector are immutable.
  • org.sbml.jsbml.ext.multi.Selector
    A selector is a mask describing the rules that an entity has to pass in order to be used or rejected. This selector is built of different components, carrying state features. The components can be bound together or not. In a population-based model, the selector, when applied to a pool of entities, permits to filter it, and to obtain a further, more refined, entity pool.

    A selector can be reused in various places of a model, to restrict the application of a procedure to a certain set of topologies and states. Selectors can be used to refine the initial conditions of a species, for instance to specify the initial distribution of different states and topologies. They can also be used in a reaction to decide if a this reaction happens, or to modulate its velocity, in function of the state or topology of a reactant.

    A selector defines the list of components composing the mask, that are species type existing under a given state (that can be an ensemble of elementary states). In addition to the components, the selector lists the possible or mandatory bonds, as well as the components that must not be bound. It is to be noted that a selector must not necessarily be the most parsimonious. One can use the selectors to describe the fine-grained topology of complexes, even if this topology is not used to decide upon particular reactions. @author Nicolas Rodriguez @since 1.0 @version $Rev: 1639 $

  • org.scale7.cassandra.pelops.Selector
    Facilitates the selective retrieval of column data from rows in a Cassandra keyspace.

    Note:The methods that are marked as throwing {@link org.scale7.cassandra.pelops.exceptions.NotFoundException}are the only methods in Pelops that throw exceptions under non-failure conditions. @author dominicwilliams

  • org.scopemvc.core.Selector
  • org.skyscreamer.yoga.selector.Selector
  • org.w3c.css.sac.Selector
    This interface defines a selector.

    Remarks: Not all the following selectors are supported (or will be supported) by CSS.

    All examples are CSS2 compliant. @version $Revision: 1.12 $ @author Philippe Le Hegaret

  • org.w3c.flex.forks.css.sac.Selector
    This interface defines a selector.

    Remarks: Not all the following selectors are supported (or will be supported) by CSS.

    All examples are CSS2 compliant. @version $Revision: 1.2 $ @author Philippe Le Hegaret

  • org.xhtmlrenderer.css.newmatch.Selector
    A Selector is really a chain of CSS selectors that all need to be valid for the selector to match. @author Torbjörn Gannholm
  • org.xorm.query.Selector
  • org.zkoss.selector.model.Selector
    @author simonpai
  • r.nodes.exec.Selector
  • reactor.event.selector.Selector
    A {@literal Selector} is a wrapper around an arbitrary object. @author Jon Brisbin @author Stephane Maldini @author Andy Wilkinson
  • tripleplay.ui.Selector
    Maintains a single selected item among a specified set of {@code Element} instances. Theelements may be added individually, or the children of an {@code Elements} may be trackedautomatically.

    A click on a tracked element that implements {@code Clickable} makes it the selected item, or{@code selected} can be used to manually control the selected item.


  • Examples of com.google.api.ads.adwords.lib.jaxb.v201406.Selector

      // public static void runExample(AdWordsSession session, String reportFile) throws Exception {
      public static void runExample(AdWordsSession session) throws Exception {
        String output;
        // Create selector.
        Selector selector = new Selector();
        selector.getFields().addAll(Lists.newArrayList(
            "AccountCurrencyCode",
            "AccountDescriptiveName",
            "AverageCpc",
            "AverageCpm",
            "AverageTimeOnSite",
    View Full Code Here

    Examples of com.google.api.adwords.v201306.cm.Selector

              user.getService(AdWordsService.V201306.ADGROUP_CRITERION_SERVICE);

          Long adGroupId = Long.parseLong("INSERT_AD_GROUP_ID_HERE");

          // Create selector.
          Selector selector = new Selector();
          selector.setFields(new String[] {"Id", "AdGroupId", "Status"});
          selector.setOrdering(new OrderBy[] {new OrderBy("Id", SortOrder.ASCENDING)});

          // Create predicates.
          Predicate statusPredicate =
              new Predicate("Status", PredicateOperator.IN, new String[] {"ACTIVE"});
          Predicate adGroupIdPredicate =
              new Predicate("AdGroupId", PredicateOperator.IN, new String[] {adGroupId.toString()});
          selector.setPredicates(new Predicate[] {statusPredicate, adGroupIdPredicate});

          // Get all active ad group criteria.
          AdGroupCriterionPage page = adGroupCriterionService.get(selector);

          // Display ad group criteria.
    View Full Code Here

    Examples of com.google.api.adwords.v201306.jaxb.cm.Selector

          // Location to download report to.
          String reportFile = "/tmp/report.csv";

          // Create selector.
          Selector selector = new Selector();
          List<String> fields = selector.getFields();
          fields.add("AdGroupId");
          fields.add("Id");
          fields.add("KeywordText");
          fields.add("KeywordMatchType");
          fields.add("Impressions");
    View Full Code Here

    Examples of com.google.api.adwords.v201309.cm.Selector

          // Get the ServicedAccountService.
          ManagedCustomerServiceInterface managedCustomerService =
              user.getService(AdWordsService.V201309.MANAGED_CUSTOMER_SERVICE);

          // Create selector.
          Selector selector = new Selector();
          selector.setFields(new String[] {"Login", "CustomerId"});

          // Get results.
          ManagedCustomerPage page = managedCustomerService.get(selector);

          if (page.getEntries() != null) {
    View Full Code Here

    Examples of com.google.api.adwords.v201309.jaxb.cm.Selector

          // Location to download report to.
          String reportFile = "/tmp/report.csv";

          // Create selector.
          Selector selector = new Selector();
          List<String> fields = selector.getFields();
          fields.add("AdGroupId");
          fields.add("Id");
          fields.add("KeywordText");
          fields.add("KeywordMatchType");
          fields.add("Impressions");
    View Full Code Here

    Examples of com.google.gwt.query.client.Selector

        return generatedPkgName + "." + generatedClassName;
      }

      public void generateMethod(SourceWriter sw, JMethod method, TreeLogger logger)
          throws UnableToCompleteException {
        Selector selectorAnnotation = method.getAnnotation(Selector.class);
        if (selectorAnnotation == null) {
          return;
        }

        JParameter[] params = method.getParameters();

        String retType = method.getReturnType()
            .getParameterizedQualifiedSourceName();
        sw.print("public final " + retType + " " + method.getName());
        boolean hasContext = false;
        if (params.length == 0) {
          sw.print("()");
        } else if (params.length == 1) {
          JClassType type = params[0].getType().isClassOrInterface();
          if (type != null && type.isAssignableTo(nodeType)) {
            sw.print("(Node root)");
            hasContext = true;
          }
        }
        sw.println(" {");
        sw.indent();
        Selector sel = method.getAnnotation(Selector.class);

        if (sel != null && sel.value().matches("^#\\w+$")) {
          // short circuit #foo
          sw.println("return "
              + wrap(method, "JsNodeArray.create(((Document)root).getElementById(\""
                  + sel.value().substring(1) + "\"))") + ";");
        } else if (sel != null && sel.value().matches("^\\w+$")) {
          // short circuit FOO
          sw.println("return "
              + wrap(method,
                  "JsNodeArray.create(((Element)root).getElementsByTagName(\""
                      + sel.value() + "\"))") + ";");
        } else if (sel != null && sel.value().matches("^\\.\\w+$")
            && hasGetElementsByClassName()) {
          // short circuit .foo for browsers with native getElementsByClassName
          sw.println("return "
              + wrap(method, "JsNodeArray.create(getElementsByClassName(\""
                  + sel.value().substring(1) + "\", root))") + ";");
        } else {
          generateMethodBody(sw, method, logger, hasContext);
        }
        sw.outdent();
        sw.println("}");
    View Full Code Here

    Examples of com.hp.hpl.jena.rdf.model.Selector

                            //read the RDF/XML file
                            model.read(new InputStreamReader(
                                    new FileInputStream(modelPath)), "");

                            //predicate for filtering the category location
                            Selector selector = new SelectorImpl(null,
                                    RP.categoryLocation, (RDFNode) null);

                            // Filtering
                            StmtIterator iter = model.listStatements(selector);
    View Full Code Here

    Examples of com.jbidwatcher.ui.table.Selector

        }
      }

      public void selectBySearch(String srch) {
        JTable curTable = getCurrentTable();
        Selector mySelector = new mySelector(srch);
        if(!mySelector.select(curTable)) {
          java.awt.Toolkit.getDefaultToolkit().beep();
          MQFactory.getConcrete("Swing").enqueue("No entries matched!");
        }
      }
    View Full Code Here

    Examples of com.puppetlabs.xtext.dommodel.formatter.css.Select.Selector

      @Override
      public DomCSS get() {

        // look up grammar elements and create reusable selectors to make the style sheet more readable
        //
        final Selector attributeOperationsComma = Select.grammar(grammarAccess.getAttributeOperationsAccess().getCommaKeyword_1_0_0());

        final Selector resourceBodyTitleColon = Select.grammar(grammarAccess.getResourceBodyAccess().getColonKeyword_0_1());

        final Selector resourceSingleBodyTitle = Select.node(ResourceStyle.SINGLEBODY_TITLE);
        final Selector resourceSingleBodyNoTitle = Select.node(ResourceStyle.SINGLEBODY_NO_TITLE);
        final Selector resourceCompactable = Select.node(ResourceStyle.COMPACTABLE);
        final Selector inline = Select.node(StatementStyle.INLINE);
        final Selector notInline = Select.not(Select.node(StatementStyle.INLINE));

        final Selector lambdaLeftBrace = Select.grammar(
          grammarAccess.getJava8LambdaAccess().getLeftCurlyBracketKeyword_5(),
          grammarAccess.getRubyLambdaAccess().getLAMBDATerminalRuleCall_0());

        final Selector lambdaRightBrace = Select.grammar(
          grammarAccess.getJava8LambdaAccess().getRightCurlyBracketKeyword_7(),
          grammarAccess.getRubyLambdaAccess().getRightCurlyBracketKeyword_6());

        final Selector inCompactableResource = Select.containment(resourceCompactable);
        final Selector inASingleBodiesResourceWithTitle = Select.containment(resourceSingleBodyTitle);
        final Selector inASingleBodiesResourceWithoutTitle = Select.containment(resourceSingleBodyNoTitle);

        final ResourceExpressionElements resourceExpressionAccess = grammarAccess.getResourceExpressionAccess();
        final Selector resourceLeftCurlyBracket = Select.grammar(resourceExpressionAccess.findKeywords("{"));
        final Selector resourceRightCurlyBracket = Select.grammar(resourceExpressionAccess.findKeywords("}"));
        final Selector resourceBodySemicolon = Select.grammar(resourceExpressionAccess.findKeywords(";"));
        final Selector optionalResourceEndBodySemicolon = Select.grammar(
          resourceExpressionAccess.getSemicolonKeyword_0_1_2_2(), //
          resourceExpressionAccess.getSemicolonKeyword_1_3_2());

        final Selector elseAndElsifKeywords = Select.grammar(Iterables.concat(
          grammarAccess.getIfExpressionAccess().findKeywords("else", "elsif"), //
          grammarAccess.getElseIfExpressionAccess().findKeywords("else", "elsif")));

        final Selector relationshipEdgeOperator = Select.grammar(grammarAccess.getRelationshipExpressionAccess().getOpNameEdgeOperatorParserRuleCall_1_1_0());
        final Selector atExpressionLeftBracket = Select.grammar(grammarAccess.getAtExpressionAccess().getLeftSquareBracketKeyword_1_1());

        // interpolation
        final Selector interpolationStart = Select.grammar(
          grammarAccess.getTextExpressionAccess().getDollarSignLeftCurlyBracketKeyword_1_1(), //
          grammarAccess.getUnquotedStringAccess().getDollarSignLeftCurlyBracketKeyword_1());
        final Selector interpolationEnd = Select.grammar(
          grammarAccess.getTextExpressionAccess().getRightCurlyBracketKeyword_1_3(), //
          grammarAccess.getUnquotedStringAccess().getRightCurlyBracketKeyword_3());

        final StyleSet resourceRightCurlyStyleNoDedent = StyleSet.withImmutableStyles(//
          styles.oneLineBreak(), //
    View Full Code Here

    Examples of com.sun.corba.se.pept.transport.Selector

                    if (orb.transportDebugFlag) {
                        dprint(".close: exception: " + this, ex);
                    }
                }
                try {
                    Selector selector = orb.getTransportManager().getSelector(0);
                    selector.unregisterForEvent(this);
                    if (socketChannel != null) {
                        socketChannel.close();
                    }
                    socket.close();
                } catch (IOException e) {
    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.