Package net.suberic.pooka

Examples of net.suberic.pooka.AddressBookEntry


   * Selects the next available address entry.
   */
  public void selectNextEntry() {
    Selection currentSelection = getCurrentSelection();
    net.suberic.pooka.AddressMatcher matcher = getNewMessageUI().getSelectedProfile().getAddressMatcher();
    AddressBookEntry newValue = matcher.getNextMatch(currentSelection.text);
    if (newValue != null) {
      replaceAddressText(currentSelection, newValue.getID());
    }

  }
View Full Code Here


   */
  public void selectPreviousEntry() {
    Selection currentSelection = getCurrentSelection();
    net.suberic.pooka.AddressMatcher matcher = getNewMessageUI().getSelectedProfile().getAddressMatcher();
    if (matcher != null) {
      AddressBookEntry newValue = matcher.getPreviousMatch(currentSelection.text);
      if (newValue != null) {
  replaceAddressText(currentSelection, newValue.getID());
      }
    }
  }
View Full Code Here

TOP

Related Classes of net.suberic.pooka.AddressBookEntry

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.