|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Controller interface that allows external code to control the DIFF component.
| Field Summary | |
static String |
PROP_DIFF_COUNT
This property is fired when the difference count has changed. |
| Method Summary | |
void |
addPropertyChangeListener(PropertyChangeListener l)
Add a property change listener. |
boolean |
canSetCurrentDifference()
Test whether this view can change the current difference. |
Component |
getComponent()
Gets the visual DIFF component that modules can include in their GUI. |
int |
getCurrentDifference()
Get the current difference that is displayed in the view. |
int |
getDifferenceCount()
Gets the number of differences found in sources. |
JToolBar |
getToolBar()
Get a toolbar, that is adviced to be displayed together with the component obtained from getComponent(). |
void |
removePropertyChangeListener(PropertyChangeListener l)
Remove a property change listener. |
void |
setCurrentDifference(int diffNo)
Instructs the DIFF view to navigate to the n-th difference. |
| Field Detail |
public static final String PROP_DIFF_COUNT
| Method Detail |
public Component getComponent()
public int getDifferenceCount()
public boolean canSetCurrentDifference()
public void setCurrentDifference(int diffNo)
throws UnsupportedOperationException
diffNo - The difference number
UnsupportedOperationException - iff canSetCurrentDifference()
returns false.
public int getCurrentDifference()
throws UnsupportedOperationException
UnsupportedOperationException - iff canSetCurrentDifference()
returns false.public JToolBar getToolBar()
getComponent().
null when no toolbar is provided by
this view.public void addPropertyChangeListener(PropertyChangeListener l)
l - The property change listenerpublic void removePropertyChangeListener(PropertyChangeListener l)
l - The property change listener
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||