public class AttachmentEditorUIModel extends AbstractFaxToMailBeanUIModel<AttachmentModelAware,AttachmentEditorUIModel>
| Modifier and Type | Field and Description |
|---|---|
protected List<Attachment> |
attachments |
protected boolean |
editable |
protected static org.nuiton.util.beans.Binder<AttachmentModelAware,AttachmentEditorUIModel> |
fromBeanBinder |
protected List<AttachmentListener> |
openingListeners |
static String |
PROPERTY_EDITABLE |
protected static org.nuiton.util.beans.Binder<AttachmentEditorUIModel,AttachmentModelAware> |
toBeanBinder |
id, modify, PROPERTY_ID, PROPERTY_MODIFY, PROPERTY_VALID, valid| Modifier | Constructor and Description |
|---|---|
protected |
AttachmentEditorUIModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAllAttachment(List<Attachment> attachments) |
void |
addAttachment(Attachment attachment) |
void |
addAttachmentListener(AttachmentListener listener) |
void |
fireAttachmentEdited(Attachment attachment) |
void |
fireAttachmentOpened(Attachment attachment,
boolean original) |
List<Attachment> |
getAttachment() |
boolean |
isEditable() |
protected AttachmentModelAware |
newEntity() |
void |
removeAttachment(Attachment attachment) |
void |
removeAttachmentListener(AttachmentListener listener) |
void |
setAttachment(List<Attachment> attachments) |
void |
setEditable(boolean editable) |
firePropertyChanged, fromBean, fromEntity, getId, getIdAsInt, isCreate, isModify, isValid, setId, setId, setModify, setValid, toBean, toEntity, toEntityaddPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, clone, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, hasPropertyChangeListeners, hasVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListenerpublic static final String PROPERTY_EDITABLE
protected boolean editable
protected final List<Attachment> attachments
protected List<AttachmentListener> openingListeners
protected static org.nuiton.util.beans.Binder<AttachmentEditorUIModel,AttachmentModelAware> toBeanBinder
protected static org.nuiton.util.beans.Binder<AttachmentModelAware,AttachmentEditorUIModel> fromBeanBinder
public boolean isEditable()
public void setEditable(boolean editable)
public List<Attachment> getAttachment()
public void addAllAttachment(List<Attachment> attachments)
public void addAttachment(Attachment attachment)
public void removeAttachment(Attachment attachment)
public void setAttachment(List<Attachment> attachments)
protected AttachmentModelAware newEntity()
newEntity in class AbstractFaxToMailBeanUIModel<AttachmentModelAware,AttachmentEditorUIModel>public void addAttachmentListener(AttachmentListener listener)
public void removeAttachmentListener(AttachmentListener listener)
public void fireAttachmentOpened(Attachment attachment, boolean original)
public void fireAttachmentEdited(Attachment attachment)
Copyright © 2014–2016 CodeLutin. All rights reserved.