public class NonViralNameDetailElement extends AbstractIdentifiableEntityDetailElement<eu.etaxonomy.cdm.model.name.TaxonName>
isAdvancedView, toggleable_cache
formFactory
NOT_SELECTED, SELECTED
Constructor and Description |
---|
NonViralNameDetailElement(CdmFormFactory formFactory,
ICdmFormElement formElement) |
Modifier and Type | Method and Description |
---|---|
protected void |
createControls(ICdmFormElement formElement,
eu.etaxonomy.cdm.model.name.TaxonName entity,
int style)
Create all content elements
|
void |
handleEvent(java.lang.Object eventSource)
Gets called when the source of the event is a child widget of this
widget.
|
protected void |
handleToggleableCacheField() |
void |
removeElements()
Removes all child
ICdmFormElement s and child Control s
and the element itself. |
void |
setEntity(eu.etaxonomy.cdm.model.name.TaxonName entity)
Sets the entity and updates controls
|
protected void |
updateContent()
Updates all widgets to display the latest data
|
initIsAdvancedDetailsView, updateControlStates, updateToggleableCacheField
getConversationHolder, getEntity, getWarnForReferencedObjects, handleException, handleTitleCacheRelevantChange, isEnabled, isIrrelevant, propertyChange, setEnabled, setEnabled, setIrrelevant, setIrrelevant, setSelected, setWarnForReferencedObjects, setWarnForReferencingObjects, setWarnForReferencingObjectsVisible, update, update
addControl, addElement, containsFormElement, firePropertyChangeEvent, firePropertyChangeEvent, firePropertyChangeEvent, getColor, getControls, getElements, getFormFactory, getLayoutComposite, getParentElement, getPersistentBackground, getPropertyChangeListeners, refresh, removeControl, removeElement, removeElementsAndControls, setBackground, setFocus, setLayoutComposite, setPersistentBackground, setPropertyChangeListeners
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addElement, containsFormElement, getControls, getElements, getFormFactory, getLayoutComposite, getParentElement, getPersistentBackground, getPropertyChangeListeners, refresh, setBackground, setPersistentBackground, setPropertyChangeListeners
firePropertyChangeEvent
public NonViralNameDetailElement(CdmFormFactory formFactory, ICdmFormElement formElement)
protected void createControls(ICdmFormElement formElement, eu.etaxonomy.cdm.model.name.TaxonName entity, int style)
createControls
in class AbstractCdmDetailElement<eu.etaxonomy.cdm.model.name.TaxonName>
formElement
- a ICdmFormElement
object.entity
- a T object.style
- a int.protected void updateContent()
updateContent
in class AbstractCdmDetailElement<eu.etaxonomy.cdm.model.name.TaxonName>
public void setEntity(eu.etaxonomy.cdm.model.name.TaxonName entity)
setEntity
in interface ICdmDetailElement<eu.etaxonomy.cdm.model.name.TaxonName>
setEntity
in class AbstractCdmDetailElement<eu.etaxonomy.cdm.model.name.TaxonName>
entity
- a T object.public void removeElements()
ICdmFormElement
s and child Control
s
and the element itself.removeElements
in interface ICdmFormElement
removeElements
in class AbstractCdmFormElement
public void handleEvent(java.lang.Object eventSource)
handleEvent
in class AbstractCdmDetailElement<eu.etaxonomy.cdm.model.name.TaxonName>
eventSource
- a Object
object.protected void handleToggleableCacheField()
handleToggleableCacheField
in class AbstractIdentifiableEntityDetailElement<eu.etaxonomy.cdm.model.name.TaxonName>
Copyright © 2007-2018. All Rights Reserved.