info.joseluismartin.gui
Class AttachmentView
java.lang.Object
info.joseluismartin.gui.AbstractView<List<Attachment>>
info.joseluismartin.gui.AttachmentView
- All Implemented Interfaces:
- BinderHolder, ControlChangeListener, Binder<List<Attachment>>, ModelHolder<List<Attachment>>, View<List<Attachment>>, EventListener
public class AttachmentView
- extends AbstractView<List<Attachment>>
Attachment View
- Author:
- Jose Luis Martin - (jlm@joseluismartin.info)
Methods inherited from class info.joseluismartin.gui.AbstractView |
addControlChangeListener, addView, afterRefresh, afterUpdate, autobind, bind, bind, clear, controlChange, enableView, fireControlChange, getBinder, getBinderFactory, getBindingResult, getControlAccessorFactory, getControlInitializer, getErrorMessage, getErrorProcessors, getHeight, getIgnoredProperties, getMessage, getMessage, getMessageSource, getModel, getName, getPanel, getValidator, getWidth, ignoreProperties, ignoreProperty, isAutobinding, isDirty, isInitializeControls, listen, onSetModel, refresh, removeControlChangeListener, setAutobinding, setBinderFactory, setControlAccessorFactory, setControlInitializer, setDirty, setErrorProcessors, setHeight, setIgnoredProperties, setInitializeControls, setMessageSource, setModel, setName, setValidator, setWidth, update, validateView |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttachmentView
public AttachmentView()
AttachmentView
public AttachmentView(ArrayList<Attachment> attachments)
init
public void init()
buildPanel
protected JComponent buildPanel()
- Build the JComponent that hold controls.
- Specified by:
buildPanel
in class AbstractView<List<Attachment>>
- Returns:
- a JCompoent
doRefresh
protected void doRefresh()
- Allow subclasses to do custom refresh
- Overrides:
doRefresh
in class AbstractView<List<Attachment>>
doUpdate
protected void doUpdate()
- Callback method on update()
- Overrides:
doUpdate
in class AbstractView<List<Attachment>>
getAddIcon
public Icon getAddIcon()
setAddIcon
public void setAddIcon(Icon addIcon)
getRemoveIcon
public Icon getRemoveIcon()
setRemoveIcon
public void setRemoveIcon(Icon removeIcon)
getListCellRenderer
public ListCellRenderer getListCellRenderer()
setListCellRenderer
public void setListCellRenderer(ListCellRenderer listCellRenderer)
Copyright © 2013 JDAL. All Rights Reserved.