public class DirtyStateAdapter extends Object implements PropertyChangeListener
Constructor and Description |
---|
DirtyStateAdapter() |
Modifier and Type | Method and Description |
---|---|
protected void |
handleDirty(PropertyChangeEvent event)
Sets the dirty flag.
|
boolean |
isActive()
True, if the adapter handles notifications.
|
boolean |
isDirty()
Returns true, if the dto structure became dirty.
|
void |
propertyChange(PropertyChangeEvent event) |
void |
setActive(boolean active)
True, if the adapter handles notifications.
|
public DirtyStateAdapter()
public void propertyChange(PropertyChangeEvent event)
propertyChange
in interface PropertyChangeListener
public boolean isActive()
public void setActive(boolean active)
active
- the new activeprotected void handleDirty(PropertyChangeEvent event)
event
- the eventpublic boolean isDirty()
Copyright © 2013-2016 Loetz GmbH&Co.KG - Heidelberg - Germany, Eclipse OSBP Project, OS.bee