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 voiddispose()Disposes of the instance.intgetSeverity()Gets the severity.voidonEvent(GEvent event)Property event.voidrun()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:
onEventin interfaceEventListener- Parameters:
event- The event.
run
public void run()
The runner for SWT: updates the owner with error input or value.- Specified by:
runin interfacejava.lang.Runnable