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 ar.Selector

        } else {
          throw new IllegalArgumentException("Renderer type not known: " + rend);
        }
       
        AffineTransform vt = Util.zoomFit(glyphs.bounds(), width, height);
        Selector s = TouchesPixel.make(glyphs);
        long taskCount = cores * tasksPerThread;
       
        if (header) {
          System.out.println("source, elapse/avg agg, elapse/avg trans, iter num, width, height, renderer, cores, tasks (max)");
        }
    View Full Code Here

    Examples of at.bestsolution.efxclipse.tooling.css.cssDsl.selector

       * <!-- end-user-doc -->
       * @generated
       */
      public NotificationChain basicSetSelector(selector newSelector, NotificationChain msgs)
      {
        selector oldSelector = selector;
        selector = newSelector;
        if (eNotificationRequired())
        {
          ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, CssDslPackage.SELECTOR__SELECTOR, oldSelector, newSelector);
          if (msgs == null) msgs = notification; else msgs.add(notification);
    View Full Code Here

    Examples of br.com.starcode.parccser.model.Selector

            List<Selector> groups = new ArrayList<Selector>();
            int groupNumber = 0;
            while (!end()) {
                ignoreWhitespaces();
                parserListener.beginGroup(groupNumber, pos);
                Selector selector = selector();
                groups.add(selector);
                parserListener.endGroup(selector);
                groupNumber++;
                ignoreWhitespaces();
                if (!end() && current != ',') {
    View Full Code Here

    Examples of ca.forklabs.javaxpcom.select.Selector

        * Creates a selector on the document and its children.
        * @return   the selector.
        */
       public Selector selector() {
          nsIDOMNode document = this.getDocument();
          Selector selector = this.selector(document);
          return selector;
          }
    View Full Code Here

    Examples of cli_fmw.utils.Selector

            try {
                DirectoryEnterprise directoryEnterprise = DirectoryLocator.getDirectory(DirectoryEnterprise.class, false);
                DirectoryDialogDefault dlg = new DirectoryDialogDefault(false, null, "\\", directoryEnterprise);
                dlg.setVisible(true);
                if (dlg.getDlgResult() == ModalDialog.DLG_OK) {
                    Selector items = dlg.getSelectedItems();
                    DirectoryEnterpriseItem enterprise = (DirectoryEnterpriseItem) items.get(0);
                    tfEnterprise.setText(enterprise.getTitle());
                    jPanel12.revalidate();
                    filter.enterpriseId = enterprise.getID();
                } else {
                    chbEnterprise.setSelected(false);
    View Full Code Here

    Examples of com.adobe.dp.css.Selector

        if (className == null)
          className = "z";
        props = props.cloneObject();
        int count = 1;
        cls = className;
        Selector selector;
        while (true) {
          selector = css.getSimpleSelector(null, cls);
          if (css.getRuleForSelector(selector, false) == null)
            break;
          cls = className + (count++);
    View Full Code Here

    Examples of com.asakusafw.directio.hive.tools.cli.ClassCollector.Selector

            return new OutputStreamWriter(new FileOutputStream(file), ENCODING);
        }

        private ClassCollector collect(Configuration configuration) {
            final Pattern pattern = configuration.acceptTableNames;
            ClassCollector collector = new ClassCollector(configuration.classLoader, new Selector() {
                @Override
                public boolean accept(Class<?> aClass) {
                    if (HiveTableInfo.class.isAssignableFrom(aClass) == false) {
                        return false;
                    }
    View Full Code Here

    Examples of com.cognifide.sling.query.selector.Selector

      private Predicate<Resource> predicate;

      public HasFunction(String selectorString, SearchStrategy searchStrategy) {
        this.findFunction = new FindFunction(selectorString, searchStrategy);
        this.predicate = new Selector(selectorString, searchStrategy).asPredicate();
      }
    View Full Code Here

    Examples of com.connect_group.thymesheet.css.selectors.Selector

        AttributeSpecifier.Match attributeMatch = null;

        String pseudoNthClass = null;
       
        boolean isNegation = false;
        Selector negationSelector = null;
       
       
    // line 1538 "../java/se/fishtank/css/selectors/scanner/Scanner.java"
      {
      cs = Scanner_start;
      top = 0;
      }

    // line 221 "Scanner.java.rl"
       
    // line 1546 "../java/se/fishtank/css/selectors/scanner/Scanner.java"
      {
      int _klen;
      int _trans = 0;
      int _acts;
      int _nacts;
      int _keys;
      int _goto_targ = 0;

      _goto: while (true) {
      switch ( _goto_targ ) {
      case 0:
      if ( p == pe ) {
        _goto_targ = 4;
        continue _goto;
      }
      if ( cs == 0 ) {
        _goto_targ = 5;
        continue _goto;
      }
    case 1:
      _match: do {
      _keys = _Scanner_key_offsets[cs];
      _trans = _Scanner_index_offsets[cs];
      _klen = _Scanner_single_lengths[cs];
      if ( _klen > 0 ) {
        int _lower = _keys;
        int _mid;
        int _upper = _keys + _klen - 1;
        while (true) {
          if ( _upper < _lower )
            break;

          _mid = _lower + ((_upper-_lower) >> 1);
          if ( data[p] < _Scanner_trans_keys[_mid] )
            _upper = _mid - 1;
          else if ( data[p] > _Scanner_trans_keys[_mid] )
            _lower = _mid + 1;
          else {
            _trans += (_mid - _keys);
            break _match;
          }
        }
        _keys += _klen;
        _trans += _klen;
      }

      _klen = _Scanner_range_lengths[cs];
      if ( _klen > 0 ) {
        int _lower = _keys;
        int _mid;
        int _upper = _keys + (_klen<<1) - 2;
        while (true) {
          if ( _upper < _lower )
            break;

          _mid = _lower + (((_upper-_lower) >> 1) & ~1);
          if ( data[p] < _Scanner_trans_keys[_mid] )
            _upper = _mid - 2;
          else if ( data[p] > _Scanner_trans_keys[_mid+1] )
            _lower = _mid + 2;
          else {
            _trans += ((_mid - _keys)>>1);
            break _match;
          }
        }
        _trans += _klen;
      }
      } while (false);

      _trans = _Scanner_indicies[_trans];
      cs = _Scanner_trans_targs[_trans];

      if ( _Scanner_trans_actions[_trans] != 0 ) {
        _acts = _Scanner_trans_actions[_trans];
        _nacts = (int) _Scanner_actions[_acts++];
        while ( _nacts-- > 0 )
      {
          switch ( _Scanner_actions[_acts++] )
          {
      case 0:
    // line 44 "Scanner.java.rl"
      {
          AttributeSpecifier specifier;
          if (attributeValue != null) {
              specifier = new AttributeSpecifier(attributeName, attributeValue, attributeMatch);
          } else {
              specifier = new AttributeSpecifier(attributeName);
          }
         
          specifiers.add(specifier);
      }
      break;
      case 1:
    // line 55 "Scanner.java.rl"
      {
          attributeName = getSlice(mark, p);
      }
      break;
      case 2:
    // line 59 "Scanner.java.rl"
      {
          String m = getSlice(mark, p);
          if ("=".equals(m)) {
              attributeMatch = AttributeSpecifier.Match.EXACT;
          } else if ("~=".equals(m)) {
              attributeMatch = AttributeSpecifier.Match.LIST;
          } else if ("|=".equals(m)) {
              attributeMatch = AttributeSpecifier.Match.HYPHEN;
          } else if ("^=".equals(m)) {
              attributeMatch = AttributeSpecifier.Match.PREFIX;
          } else if ("$=".equals(m)) {
              attributeMatch = AttributeSpecifier.Match.SUFFIX;
          } else if ("*=".equals(m)) {
              attributeMatch = AttributeSpecifier.Match.CONTAINS;
          }
      }
      break;
      case 3:
    // line 76 "Scanner.java.rl"
      {
          String value = getSlice(mark, p);
          if (value.charAt(0) == '"' || value.charAt(0) == '\'') {
              value = value.substring(1, value.length() - 1);
          }
             
          attributeValue = value;
      }
      break;
      case 4:
    // line 85 "Scanner.java.rl"
      {
          specifiers.add(new AttributeSpecifier("class",
              getSlice(mark, p), AttributeSpecifier.Match.LIST));
      }
      break;
      case 5:
    // line 90 "Scanner.java.rl"
      {
          switch (data[p]) {
          case ' ':
              combinator = Selector.Combinator.DESCENDANT;
              break;
          case '>':
              combinator = Selector.Combinator.CHILD;
              break;
          case '+':
              combinator = Selector.Combinator.ADJACENT_SIBLING;
              break;
          case '~':
              combinator = Selector.Combinator.GENERAL_SIBLING;
              break;
          }
      }
      break;
      case 6:
    // line 107 "Scanner.java.rl"
      {
          parts = new LinkedList<Selector>();
      }
      break;
      case 7:
    // line 111 "Scanner.java.rl"
      {
          selectors.add(parts);
      }
      break;
      case 8:
    // line 115 "Scanner.java.rl"
      {
          specifiers.add(new AttributeSpecifier("id",
              getSlice(mark, p), AttributeSpecifier.Match.EXACT));
      }
      break;
      case 9:
    // line 120 "Scanner.java.rl"
      {
          mark = p;
      }
      break;
      case 10:
    // line 124 "Scanner.java.rl"
      {
          isNegation = true;
      }
      break;
      case 11:
    // line 128 "Scanner.java.rl"
      {
          specifiers.add(new NegationSpecifier(negationSelector));
          isNegation = false;
      }
      break;
      case 12:
    // line 133 "Scanner.java.rl"
      {
                specifiers.add(new PseudoClassSpecifier(getSlice(mark, p)));   
      }
      break;
      case 13:
    // line 137 "Scanner.java.rl"
      {
          specifiers.add(new PseudoNthSpecifier(pseudoNthClass, getSlice(mark, p)));
      }
      break;
      case 14:
    // line 141 "Scanner.java.rl"
      {
          pseudoNthClass = getSlice(mark, p);
      }
      break;
      case 15:
    // line 145 "Scanner.java.rl"
      {
          Selector selector;
          List<Specifier> list = specifiers.isEmpty() ? null : specifiers;
          if (isNegation) {
              negationSelector = new Selector(negationTagName, list);
          } else {
              if (combinator == null) {
                  selector = new Selector(tagName, list);
              } else {
                  selector = new Selector(tagName, combinator, list);
              }
             
              parts.add(selector);
              tagName = Selector.UNIVERSAL_TAG;
              combinator = null;
          }
         
          negationTagName = Selector.UNIVERSAL_TAG;
          attributeName = null;
          attributeValue = null;
          attributeMatch = null;
          pseudoNthClass = null;
          specifiers = new LinkedList<Specifier>();
      }
      break;
      case 16:
    // line 170 "Scanner.java.rl"
      {
          if (isNegation) {
              negationTagName = getSlice(mark, p);
          } else {
              tagName = getSlice(mark, p);
          }
      }
      break;
      case 17:
    // line 28 "ScannerCommon.rl"
      { {stack[top++] = cs; cs = 150; _goto_targ = 2; if (true) continue _goto;} }
      case 18:
    // line 42 "ScannerCommon.rl"
      { {cs = stack[--top];_goto_targ = 2; if (true) continue _goto;} }
    // line 1802 "../java/se/fishtank/css/selectors/scanner/Scanner.java"
          }
        }
      }

    case 2:
      if ( cs == 0 ) {
        _goto_targ = 5;
        continue _goto;
      }
      if ( ++p != pe ) {
        _goto_targ = 1;
        continue _goto;
      }
    case 4:
      if ( p == eof )
      {
      int __acts = _Scanner_eof_actions[cs];
      int __nacts = (int) _Scanner_actions[__acts++];
      while ( __nacts-- > 0 ) {
        switch ( _Scanner_actions[__acts++] ) {
      case 4:
    // line 85 "Scanner.java.rl"
      {
          specifiers.add(new AttributeSpecifier("class",
              getSlice(mark, p), AttributeSpecifier.Match.LIST));
      }
      break;
      case 7:
    // line 111 "Scanner.java.rl"
      {
          selectors.add(parts);
      }
      break;
      case 8:
    // line 115 "Scanner.java.rl"
      {
          specifiers.add(new AttributeSpecifier("id",
              getSlice(mark, p), AttributeSpecifier.Match.EXACT));
      }
      break;
      case 12:
    // line 133 "Scanner.java.rl"
      {
                specifiers.add(new PseudoClassSpecifier(getSlice(mark, p)));   
      }
      break;
      case 15:
    // line 145 "Scanner.java.rl"
      {
          Selector selector;
          List<Specifier> list = specifiers.isEmpty() ? null : specifiers;
          if (isNegation) {
              negationSelector = new Selector(negationTagName, list);
          } else {
              if (combinator == null) {
                  selector = new Selector(tagName, list);
              } else {
                  selector = new Selector(tagName, combinator, list);
              }
             
              parts.add(selector);
              tagName = Selector.UNIVERSAL_TAG;
              combinator = null;
    View Full Code Here

    Examples of com.extjs.gxt.ui.client.core.Templates.Selector

          if (!(returnsEl || returnsElement)) {
            return;
          }

          String selector;
          Selector selectorAnn = method.getAnnotation(Selector.class);
          if (selectorAnn == null || "".equals(selectorAnn.value())) {
            return;
          }
          selector = selectorAnn.value();

          sw.indent();
          sw.print(method.getReadableDeclaration(false, false, false, false, true));
          sw.println(" {");
          sw.indent();
    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.