public class ALDSwingComponentLabel extends ALDSwingComponent
JLabel
.Modifier and Type | Field and Description |
---|---|
protected JLabel |
compLabel
Associated Swing component.
|
listenerList
Constructor and Description |
---|
ALDSwingComponentLabel(String labelText)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
JLabel |
getJComponent()
Method to request the provider's GUI element.
|
addValueChangeEventListener, fireALDSwingValueChangeEvent, removeValueChangeEventListener
protected JLabel compLabel
public ALDSwingComponentLabel(String labelText)
labelText
- Text for the label.public JLabel getJComponent()
ALDSwingComponent
getJComponent
in class ALDSwingComponent
public void disableComponent()
ALDSwingComponent
disableComponent
in class ALDSwingComponent
public void enableComponent()
ALDSwingComponent
enableComponent
in class ALDSwingComponent
public void dispose()
ALDSwingComponent
dispose
in class ALDSwingComponent
Copyright © 2010–2021 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.