public class EntityDisplayEvent extends DataMapDisplayEvent
| Modifier and Type | Field and Description |
|---|---|
protected Entity |
entity |
protected boolean |
entityChanged
True if different from current entity.
|
protected boolean |
mainTabFocus
If true, the event causes entity editor to switch to the main entity tab.
|
protected boolean |
unselectAttributes |
dataMap, dataMapChangeddataNode, dataNodeChangeddomain, domainChangedchanged, pathObject, refiredsource| Constructor and Description |
|---|
EntityDisplayEvent(Object src,
Entity entity) |
EntityDisplayEvent(Object src,
Entity entity,
DataMap map,
DataChannelDescriptor dataChannelDescriptor) |
EntityDisplayEvent(Object src,
Entity entity,
DataMap map,
DataNodeDescriptor node,
DataChannelDescriptor dataChannelDescriptor) |
| Modifier and Type | Method and Description |
|---|---|
Entity |
getEntity()
Returns entity associated with this event.
|
boolean |
isEntityChanged()
True if entity different from current entity.
|
boolean |
isMainTabFocus() |
boolean |
isUnselectAttributes() |
void |
setEntity(Entity entity) |
void |
setEntityChanged(boolean temp) |
void |
setMainTabFocus(boolean searched) |
void |
setUnselectAttributes(boolean unselectAttributes) |
getDataMap, isDataMapChanged, setDataMap, setDataMapChangedgetDataNode, isDataNodeChanged, setDataNode, setDataNodeChangedgetDomain, isDomainChanged, setDomain, setDomainChangedgetPathObject, isChanged, isRefired, pointsTo, setChanged, setRefiredgetSource, toStringprotected Entity entity
protected boolean mainTabFocus
protected boolean entityChanged
protected boolean unselectAttributes
public EntityDisplayEvent(Object src, Entity entity, DataMap map, DataChannelDescriptor dataChannelDescriptor)
public EntityDisplayEvent(Object src, Entity entity, DataMap map, DataNodeDescriptor node, DataChannelDescriptor dataChannelDescriptor)
public Entity getEntity()
public boolean isEntityChanged()
public void setEntityChanged(boolean temp)
public boolean isUnselectAttributes()
public void setUnselectAttributes(boolean unselectAttributes)
public void setEntity(Entity entity)
public void setMainTabFocus(boolean searched)
public boolean isMainTabFocus()
Copyright © 2001–2015 Apache Cayenne. All rights reserved.