org.dllearner.tools.ore
Class KnowledgeSourcePanelDescriptor

java.lang.Object
  extended by org.dllearner.tools.ore.WizardPanelDescriptor
      extended by org.dllearner.tools.ore.KnowledgeSourcePanelDescriptor
All Implemented Interfaces:
ActionListener, EventListener, DocumentListener

public class KnowledgeSourcePanelDescriptor
extends WizardPanelDescriptor
implements ActionListener, DocumentListener

Wizard panel descriptor where knowledge source is selected.

Author:
Lorenz Buehmann

Field Summary
static String IDENTIFIER
           
static String INFORMATION
           
 
Fields inherited from class org.dllearner.tools.ore.WizardPanelDescriptor
FINISH
 
Constructor Summary
KnowledgeSourcePanelDescriptor()
           
 
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 e)
          Actions for buttons.
 void changedUpdate(DocumentEvent e)
           
 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.
 KnowledgeSourcePanel getPanel()
           
 void insertUpdate(DocumentEvent e)
           
 void removeUpdate(DocumentEvent e)
           
 
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

KnowledgeSourcePanelDescriptor

public KnowledgeSourcePanelDescriptor()
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

actionPerformed

public void actionPerformed(ActionEvent e)
Actions for buttons.

Specified by:
actionPerformed in interface ActionListener
Parameters:
e - ActionListener

changedUpdate

public void changedUpdate(DocumentEvent e)
Specified by:
changedUpdate in interface DocumentListener

insertUpdate

public void insertUpdate(DocumentEvent e)
Specified by:
insertUpdate in interface DocumentListener

removeUpdate

public void removeUpdate(DocumentEvent e)
Specified by:
removeUpdate in interface DocumentListener

getPanel

public KnowledgeSourcePanel getPanel()


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