Package javax.swing

Examples of javax.swing.JScrollPane.addPropertyChangeListener()


        final JScrollPane planScrollPane = new HomeScrollPane(planView);
        setPlanRulersVisible(planScrollPane, controller, preferences.isRulersVisible());
        final JComponent lockUnlockBasePlanButton = createLockUnlockBasePlanButton(home);
        if (lockUnlockBasePlanButton != null) {
          planScrollPane.setCorner(JScrollPane.UPPER_LEADING_CORNER, lockUnlockBasePlanButton);
          planScrollPane.addPropertyChangeListener("componentOrientation",
              new PropertyChangeListener () {
                public void propertyChange(PropertyChangeEvent ev) {
                  if (lockUnlockBasePlanButton.getParent() != null) {
                    planScrollPane.setCorner(JScrollPane.UPPER_LEADING_CORNER, lockUnlockBasePlanButton);
                  }
View Full Code Here


                .addComponentListener(componentListener);
            currentScrollPane.getVerticalScrollBar()
                .addAdjustmentListener(this);
            currentScrollPane.getHorizontalScrollBar()
                .addAdjustmentListener(this);
            currentScrollPane.addPropertyChangeListener(this);
          }
          backingGraph.setGraphLayoutCache(sourceGraph
              .getGraphLayoutCache());
        }
        updateScale();
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.