1 19 20 package org.netbeans.api.diff; 21 22 import java.awt.Component ; 23 import java.beans.PropertyChangeListener ; 24 import javax.swing.JToolBar ; 25 26 31 public interface DiffView { 32 33 36 public static final String PROP_DIFF_COUNT = "diffCount"; 38 43 public Component getComponent(); 44 45 50 public int getDifferenceCount(); 51 52 57 public boolean canSetCurrentDifference(); 58 59 66 public void setCurrentDifference(int diffNo) throws UnsupportedOperationException ; 67 68 75 public int getCurrentDifference() throws UnsupportedOperationException ; 76 77 84 public JToolBar getToolBar(); 85 86 90 public void addPropertyChangeListener(PropertyChangeListener l); 91 92 96 public void removePropertyChangeListener(PropertyChangeListener l); 97 98 } 99 | Popular Tags |