public class Content extends ContentBase
mContentDescriptor
Constructor and Description |
---|
Content(ContentDescriptor pContentDescriptor)
Create a new Content described by the given
Content Descriptor |
Modifier and Type | Method and Description |
---|---|
Content |
copy()
Creates a copy of this content object, with the same content descriptor and
syncs it. |
protected void |
requirePropertyType(String pName,
Class<?> pType)
Used to assert that the requested property is of the expected type.
|
void |
sync(ContentBase pOther)
In order for the Swing client to maintain the correct state, we need to update the object values instead of
replacing object instances whenever possible.
|
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, getDescriptor, getProperty, getProperty, getPropertyChangeListeners, getPropertyChangeListeners, hasValueForProperty, isValid, readResolve, removePropertyChangeListener, removePropertyChangeListener, setProperty, setProperty, toString, transfer
public Content(ContentDescriptor pContentDescriptor)
Content Descriptor
pContentDescriptor
- the Content Descriptor defining this Content instance.public Content copy()
syncs
it.public void sync(ContentBase pOther)
ContentBase
sync
in class ContentBase
pOther
- the ContentBase instance to sync with.© 1998- 2021 Escenic AS