com.japisoft.xmlpad.error
Interface ErrorView

All Superinterfaces:
ErrorListener
All Known Implementing Classes:
DefaultErrorView

public interface ErrorView
extends ErrorListener

Interface for defining the Error Panel. This is the panel that is shown below the main panel while parsing the whole document.

Version:
1.0
Author:
(c) 2004 JAPISoft / http://www.japisoft.com

Method Summary
 void addErrorSelectionListener(ErrorSelectionListener listener)
          Add a selection listener for listening error choosen
 void dispose()
          Call when the view is not be used more.
 javax.swing.JComponent getView()
          It must always return the same view object.
 boolean isShownForOnTheFly()
           
 void removeErrorSelectionListener(ErrorSelectionListener listener)
          Remove a selection listener for listening error not choosen
 
Methods inherited from interface com.japisoft.xmlpad.error.ErrorListener
initErrorProcessing, notifyError, notifyNoError, stopErrorProcessing
 

Method Detail

getView

public javax.swing.JComponent getView()
It must always return the same view object. Don't create a new object for this method return


isShownForOnTheFly

public boolean isShownForOnTheFly()
Returns:
true if the error panel is shown for onTheFly error (while inserting characters)

addErrorSelectionListener

public void addErrorSelectionListener(ErrorSelectionListener listener)
Add a selection listener for listening error choosen


removeErrorSelectionListener

public void removeErrorSelectionListener(ErrorSelectionListener listener)
Remove a selection listener for listening error not choosen


dispose

public void dispose()
Call when the view is not be used more. Useful for freeing some memory parts



Copyright © 2006 JAPISoft. All Rights Reserved.