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

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.ALDSwingComponentLabel

public class ALDSwingComponentLabel
extends ALDSwingComponent

Alida-specific Swing component linked to a JLabel.

Author:
moeller

Field Summary
protected  javax.swing.JLabel compLabel
          Associated Swing component.
 
Fields inherited from class de.unihalle.informatik.Alida.dataio.provider.swing.events.ALDSwingValueChangeReporter
listenerList
 
Constructor Summary
ALDSwingComponentLabel(java.lang.String labelText)
          Default constructor.
 
Method Summary
 void disableComponent()
          Method to disable the component, i.e. all graphical elements, to prohibit parameter changes.
 void enableComponent()
          Method to enable the component with all graphical elements again.
 javax.swing.JLabel getJComponent()
          Method to request the provider's GUI element.
 
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

compLabel

protected javax.swing.JLabel compLabel
Associated Swing component.

Constructor Detail

ALDSwingComponentLabel

public ALDSwingComponentLabel(java.lang.String labelText)
Default constructor.

Parameters:
labelText - Text for the label.
Method Detail

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

getJComponent

public javax.swing.JLabel 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.