@Configurable public class ListenerConfig<T> extends DescriptionGroupConfig
DescriptionGroupConfig.Icon
Constructor and Description |
---|
ListenerConfig() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
createListenerObject()
Initialize.
|
void |
destroy() |
ContainerProgram |
getInit()
Gets the init block
|
java.lang.Class<?> |
getListenerClass()
Gets the listener class.
|
void |
setInit(ContainerProgram init)
Sets the init block
|
void |
setListenerClass(java.lang.Class<T> cl)
Sets the listener class.
|
java.lang.String |
toString() |
createIcon, getDisplayName, setDescription, setDisplayName, setId
public void setListenerClass(java.lang.Class<T> cl) throws ConfigException
ConfigException
public java.lang.Class<?> getListenerClass()
public void setInit(ContainerProgram init)
public ContainerProgram getInit()
public java.lang.Object createListenerObject() throws java.lang.Exception
java.lang.Exception
public void destroy()
public java.lang.String toString()
toString
in class java.lang.Object