Package org.eclipse.draw2d

Examples of org.eclipse.draw2d.ChangeListener


      triangle.setDirection(Triangle.SOUTH);
      triangle.setLocation(new Point(5, 3));
      setLayoutManager(new FreeformLayout());
      add(triangle);
      setPreferredSize(15, 15);
      addChangeListener(new ChangeListener() {
        public void handleStateChanged(ChangeEvent event) {
          if (event.getPropertyName().equals(ButtonModel.SELECTED_PROPERTY)) {
            handleExpandedStateChanged();
          }
          else if (event.getPropertyName().equals(ButtonModel.MOUSEOVER_PROPERTY)) {
View Full Code Here


      triangle.setDirection(Triangle.EAST);
      triangle.setLocation(new Point(5, 3));
      setLayoutManager(new FreeformLayout());
      add(triangle);
      setPreferredSize(15, 15);
      addChangeListener(new ChangeListener() {
        public void handleStateChanged(ChangeEvent event) {
          if (event.getPropertyName().equals(ButtonModel.SELECTED_PROPERTY)) {
            handleExpandedStateChanged();
          }
          else if (event.getPropertyName().equals(ButtonModel.MOUSEOVER_PROPERTY)) {
View Full Code Here

TOP

Related Classes of org.eclipse.draw2d.ChangeListener

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.