org.dllearner.tools.ore
Class RepairPanelDescriptor

java.lang.Object
  extended by org.dllearner.tools.ore.WizardPanelDescriptor
      extended by org.dllearner.tools.ore.RepairPanelDescriptor
All Implemented Interfaces:
ActionListener, MouseListener, EventListener, ListSelectionListener

public class RepairPanelDescriptor
extends WizardPanelDescriptor
implements ActionListener, ListSelectionListener, MouseListener

Wizard panel descriptor where it is possible torepair wrong examples.

Author:
Lorenz Buehmann

Field Summary
static String IDENTIFIER
           
static String INFORMATION
           
 
Fields inherited from class org.dllearner.tools.ore.WizardPanelDescriptor
FINISH
 
Constructor Summary
RepairPanelDescriptor()
           
 
Method Summary
 void aboutToDisplayPanel()
          Override this method to provide functionality that will be performed just before the panel is to be displayed.
 void actionPerformed(ActionEvent event)
          Method to control actions by button pressed.
 Object getBackPanelDescriptor()
          Override this class to provide the Object-based identifier of the panel that the user should traverse to when the Back button is pressed.
 Object getNextPanelDescriptor()
          Override this class to provide the Object-based identifier of the panel that the user should traverse to when the Next button is pressed.
 Set<org.semanticweb.owl.model.OWLOntologyChange> getOntologyChanges()
          Returns all ontology changes been done by repairing ontology.
 void mouseClicked(MouseEvent e)
          Method provides repair action by double click on list element.
 void mouseEntered(MouseEvent e)
           
 void mouseExited(MouseEvent e)
           
 void mousePressed(MouseEvent e)
           
 void mouseReleased(MouseEvent e)
           
 void refreshExampleLists()
          Adds the wrong negative and positive examples to the lists.
 void valueChanged(ListSelectionEvent arg0)
           
 
Methods inherited from class org.dllearner.tools.ore.WizardPanelDescriptor
aboutToHidePanel, displayingPanel, getPanelComponent, getPanelDescriptorIdentifier, getWizard, getWizardModel, setPanelComponent, setPanelDescriptorIdentifier
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IDENTIFIER

public static final String IDENTIFIER
See Also:
Constant Field Values

INFORMATION

public static final String INFORMATION
See Also:
Constant Field Values
Constructor Detail

RepairPanelDescriptor

public RepairPanelDescriptor()
Method Detail

getNextPanelDescriptor

public Object getNextPanelDescriptor()
Description copied from class: WizardPanelDescriptor
Override this class to provide the Object-based identifier of the panel that the user should traverse to when the Next button is pressed. Note that this method is only called when the button is actually pressed, so that the panel can change the next panel's identifier dynamically at runtime if necessary. Return null if the button should be disabled. Return FinishIdentfier if the button text should change to 'Finish' and the dialog should end.

Overrides:
getNextPanelDescriptor in class WizardPanelDescriptor
Returns:
Object-based identifier.

getBackPanelDescriptor

public Object getBackPanelDescriptor()
Description copied from class: WizardPanelDescriptor
Override this class to provide the Object-based identifier of the panel that the user should traverse to when the Back button is pressed. Note that this method is only called when the button is actually pressed, so that the panel can change the previous panel's identifier dynamically at runtime if necessary. Return null if the button should be disabled.

Overrides:
getBackPanelDescriptor in class WizardPanelDescriptor
Returns:
Object-based identifier

aboutToDisplayPanel

public void aboutToDisplayPanel()
Description copied from class: WizardPanelDescriptor
Override this method to provide functionality that will be performed just before the panel is to be displayed.

Overrides:
aboutToDisplayPanel in class WizardPanelDescriptor

refreshExampleLists

public void refreshExampleLists()
Adds the wrong negative and positive examples to the lists.


actionPerformed

public void actionPerformed(ActionEvent event)
Method to control actions by button pressed.

Specified by:
actionPerformed in interface ActionListener

mouseClicked

public void mouseClicked(MouseEvent e)
Method provides repair action by double click on list element.

Specified by:
mouseClicked in interface MouseListener

mouseEntered

public void mouseEntered(MouseEvent e)
Specified by:
mouseEntered in interface MouseListener

mouseExited

public void mouseExited(MouseEvent e)
Specified by:
mouseExited in interface MouseListener

mousePressed

public void mousePressed(MouseEvent e)
Specified by:
mousePressed in interface MouseListener

mouseReleased

public void mouseReleased(MouseEvent e)
Specified by:
mouseReleased in interface MouseListener

getOntologyChanges

public Set<org.semanticweb.owl.model.OWLOntologyChange> getOntologyChanges()
Returns all ontology changes been done by repairing ontology.


valueChanged

public void valueChanged(ListSelectionEvent arg0)
Specified by:
valueChanged in interface ListSelectionListener


SourceForge.net Logo DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2008 Jens Lehmann