de.unihalle.informatik.Alida.dataio.provider.swing.components
Class ALDSwingComponentCheckBox

java.lang.Object
  extended by de.unihalle.informatik.Alida.dataio.provider.swing.events.ALDSwingValueChangeReporter
      extended by de.unihalle.informatik.Alida.dataio.provider.swing.components.ALDSwingComponent
          extended by de.unihalle.informatik.Alida.dataio.provider.swing.components.ALDSwingComponentCheckBox
All Implemented Interfaces:
ItemListener, EventListener

public class ALDSwingComponentCheckBox
extends ALDSwingComponent
implements ItemListener

Alida-specific Swing component linked to a JCheckBox.

Author:
moeller

Field Summary
protected  JCheckBox compCheckBox
          Associated Swing component.
 
Fields inherited from class de.unihalle.informatik.Alida.dataio.provider.swing.events.ALDSwingValueChangeReporter
listenerList
 
Constructor Summary
ALDSwingComponentCheckBox()
          Default constructor.
 
Method Summary
 void disableComponent()
          Method to disable the component, i.e. all graphical elements, to prohibit parameter changes.
 void dispose()
          Releases all resources, i.e. closes all sub-windows.
 void enableComponent()
          Method to enable the component with all graphical elements again.
 JCheckBox getJComponent()
          Method to request the provider's GUI element.
 void itemStateChanged(ItemEvent e)
           
 
Methods inherited from class de.unihalle.informatik.Alida.dataio.provider.swing.events.ALDSwingValueChangeReporter
addValueChangeEventListener, fireALDSwingValueChangeEvent, removeValueChangeEventListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

compCheckBox

protected JCheckBox compCheckBox
Associated Swing component.

Constructor Detail

ALDSwingComponentCheckBox

public ALDSwingComponentCheckBox()
Default constructor.

Method Detail

getJComponent

public JCheckBox getJComponent()
Description copied from class: ALDSwingComponent
Method to request the provider's GUI element.

Specified by:
getJComponent in class ALDSwingComponent
Returns:
Component to be integrated in a graphical user interface.

itemStateChanged

public void itemStateChanged(ItemEvent e)
Specified by:
itemStateChanged in interface ItemListener

disableComponent

public void disableComponent()
Description copied from class: ALDSwingComponent
Method to disable the component, i.e. all graphical elements, to prohibit parameter changes.

Specified by:
disableComponent in class ALDSwingComponent

enableComponent

public void enableComponent()
Description copied from class: ALDSwingComponent
Method to enable the component with all graphical elements again.

Specified by:
enableComponent in class ALDSwingComponent

dispose

public void dispose()
Description copied from class: ALDSwingComponent
Releases all resources, i.e. closes all sub-windows.

Specified by:
dispose in class ALDSwingComponent


Copyright © 2010–2014 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.