org.dllearner.tools.ore
Class ClassPanelOWLDescriptor

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

public class ClassPanelOWLDescriptor
extends WizardPanelDescriptor
implements ListSelectionListener

Wizard panel descriptor for selecting one of the atomic classes in OWL-ontology that has to be (re)learned.

Author:
Lorenz Buehmann

Field Summary
static String IDENTIFIER
          Identification string for class choose panel.
static String INFORMATION
          Information string for class choose panel.
 
Fields inherited from class org.dllearner.tools.ore.WizardPanelDescriptor
FINISH
 
Constructor Summary
ClassPanelOWLDescriptor()
          Constructor creates new panel and adds listener to list.
 
Method Summary
 void aboutToDisplayPanel()
          Override this method to provide functionality that will be performed just before the panel is to be displayed.
 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.
 ClassPanelOWL getOwlClassPanel()
          Returns the JPanel with the GUI elements.
 void valueChanged(ListSelectionEvent e)
          Method is called when other element in list is selected, and sets next button enabled.
 
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
Identification string for class choose panel.

See Also:
Constant Field Values

INFORMATION

public static final String INFORMATION
Information string for class choose panel.

See Also:
Constant Field Values
Constructor Detail

ClassPanelOWLDescriptor

public ClassPanelOWLDescriptor()
Constructor creates new panel and adds listener to list.

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

valueChanged

public void valueChanged(ListSelectionEvent e)
Method is called when other element in list is selected, and sets next button enabled.

Specified by:
valueChanged in interface ListSelectionListener
Parameters:
e - ListSelectionEvent

getOwlClassPanel

public ClassPanelOWL getOwlClassPanel()
Returns the JPanel with the GUI elements.

Returns:
extended JPanel


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