Package com.actelion.research.gui.swing
Class SwingComponent
- java.lang.Object
-
- com.actelion.research.gui.swing.SwingComponent
-
- All Implemented Interfaces:
GenericComponent
- Direct Known Subclasses:
SwingCheckBox
,SwingComboBox
,SwingLabel
,SwingPopupMenu
,SwingTextField
public class SwingComponent extends java.lang.Object implements GenericComponent
-
-
Constructor Summary
Constructors Constructor Description SwingComponent(javax.swing.JComponent c)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.JComponent
getComponent()
DialogEventConsumer
getEventConsumer()
void
setEnabled(boolean b)
void
setEventConsumer(DialogEventConsumer consumer)
-
-
-
Method Detail
-
setEventConsumer
public void setEventConsumer(DialogEventConsumer consumer)
- Specified by:
setEventConsumer
in interfaceGenericComponent
-
setEnabled
public void setEnabled(boolean b)
- Specified by:
setEnabled
in interfaceGenericComponent
-
getComponent
public javax.swing.JComponent getComponent()
-
getEventConsumer
public DialogEventConsumer getEventConsumer()
- Specified by:
getEventConsumer
in interfaceGenericComponent
-
-