Package org.apache.myfaces.trinidad.event

Examples of org.apache.myfaces.trinidad.event.FocusEvent


            tree.setRowKey(focusRowKey);
            tree.setRowIndex(newStart);
            // queue a focusChange event as well as range change event.
            // TODO - The FocusRowKey has not changed only the start row index has changed.
            // Is queueing a FocusEvent really necessary?
            new FocusEvent(tree, focusRowKey,  focusRowKey).queue();
          }
          else // large record set navigation
          {
            // set the currency to be the container that was scrolled:
            _restorePathFromParam(parameters, tree);
View Full Code Here


          // of the component is EL-bound,  this will call the EL getter, otherwise
          // we get the "local" FocusRowKey set on the component
          Object oldKey = tree.getFocusRowKey();
          _restorePathFromParam(parameters, tree);
          Object newKey = tree.getRowKey();
          new FocusEvent(tree, oldKey, newKey).queue();
        }
      };
      preserve.run((UIXHierarchy) tree);
    }
  }
View Full Code Here

            startParam = parameters.get(XhtmlConstants.VALUE_PARAM);
            newStart = Integer.parseInt(startParam) - 1; // value is based at one.
            tree.setRowKey(tree.getFocusRowKey());
            tree.setRowIndex(newStart);
            // queue a focusChange event as well as range change event:
            new FocusEvent(tree).queue();
          }
          else // large record set navigation
          {
            // set the currency to be the container that was scrolled:
            _restorePathFromParam(parameters, tree);
View Full Code Here

      {
        @Override
        protected void process(UIXHierarchy tree)
        {
          _restorePathFromParam(parameters, tree);
          new FocusEvent(tree).queue();
        }
      };
      preserve.run((UIXHierarchy) tree);
    }
  }
View Full Code Here

            startParam = parameters.get(XhtmlConstants.VALUE_PARAM);
            newStart = Integer.parseInt(startParam) - 1; // value is based at one.
            tree.setRowKey(tree.getFocusRowKey());
            tree.setRowIndex(newStart);
            // queue a focusChange event as well as range change event:
            new FocusEvent(tree).queue();
          }
          else // large record set navigation
          {
            // set the currency to be the container that was scrolled:
            _restorePathFromParam(parameters, tree);
View Full Code Here

      {
        @Override
        protected void process(UIXHierarchy tree)
        {
          _restorePathFromParam(parameters, tree);
          new FocusEvent(tree).queue();
        }
      };
      preserve.run((UIXHierarchy) tree);
    }
  }
View Full Code Here

TOP

Related Classes of org.apache.myfaces.trinidad.event.FocusEvent

Copyright © 2018 www.massapicom. 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.