Package com.iizigo.prop
Class ContainerListener
- java.lang.Object
- com.iizigo.prop.ContainerListener
- All Implemented Interfaces:
EventListener
,java.lang.Runnable
public class ContainerListener extends java.lang.Object implements EventListener, java.lang.Runnable
The event listener for the edited "real" containers.
Constructor Summary
Constructors Constructor Description ContainerListener(PropCnr container, Atom atom, IContainerListenerOwner listener)
Constructor.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
Disposes of the instance.int
getSeverity()
Gets the severity.void
onEvent(GEvent event)
Property event.void
run()
The runner for SWT: updates the owner with error input or value.
Constructor Detail
ContainerListener
public ContainerListener(PropCnr container, Atom atom, IContainerListenerOwner listener)
Constructor.
Method Detail
dispose
public void dispose()
Disposes of the instance.
getSeverity
public int getSeverity()
Gets the severity.- Returns:
- Value including severity for both defined and undefined property.
onEvent
public void onEvent(GEvent event)
Property event.- Specified by:
onEvent
in interfaceEventListener
- Parameters:
event
- The event.
run
public void run()
The runner for SWT: updates the owner with error input or value.- Specified by:
run
in interfacejava.lang.Runnable