Package com.peterhi.obj

Examples of com.peterhi.obj.PropertyListener


public class SimpleProtocolTest {

  public static void main(String[] args) throws Exception {
    Person person = new Person();
    person.addPropertyListener(Person.PROPERTY_NAME, new PropertyListener() {
      @Override
      public void update(PropertyEvent event) {
        if (event.getName().equals(Person.PROPERTY_NAME)) {
          if (event.isAccess()) {
            event.setValue("Decorate: " + event.getValue());
View Full Code Here

TOP

Related Classes of com.peterhi.obj.PropertyListener

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.