public class PaginatorView extends AbstractView<Paginator> implements PaginatorListener
PageableTable,
Serialized FormDEFAULT_BINDER_FACTORY_NAME, errors, height, messageSource, width| Constructor and Description |
|---|
PaginatorView()
Create a PaginatorView with default paginator
|
PaginatorView(Paginator paginator)
Create a PaginatorView using this Paginator
|
| Modifier and Type | Method and Description |
|---|---|
protected JComponent |
buildPanel()
Build the JComponent that hold controls.
|
void |
doRefresh()
Refresh view with data of model
|
void |
doUpdate() |
Icon |
getFirstIcon() |
Icon |
getLastIcon() |
Icon |
getNextIcon() |
String[] |
getPageSizes() |
Paginator |
getPaginator() |
Icon |
getPreviousIcon() |
void |
init()
Initialize paginator after property set.
|
void |
pageChanged(PageChangedEvent event)
Handler for paginator changes.
|
void |
setFirstIcon(Icon firstIcon) |
void |
setLastIcon(Icon lastIcon) |
void |
setNextIcon(Icon nextIcon) |
void |
setPageSizes(String[] pageSizes) |
void |
setPaginator(Paginator paginator) |
void |
setPreviousIcon(Icon previousIcon) |
checkFactories, getPaneladdControlChangeListener, addError, addView, afterRefresh, afterUpdate, autobind, bind, bind, clear, controlChange, enableView, fireControlChange, getBinder, getBinderFactory, getBindingResult, getControlAccessorFactory, getControlInitializer, getErrorMessage, getErrorProcessors, getHeight, getIgnoredProperties, getMessage, getMessage, getMessage, getMessageSource, getModel, getName, getValidator, getWidth, ignoreProperties, ignoreProperty, isDirty, isInitializeControls, listen, onSetModel, refresh, removeControlChangeListener, setBinderFactory, setControlAccessorFactory, setControlInitializer, setDirty, setErrorProcessors, setHeight, setIgnoredProperties, setInitializeControls, setMessageSource, setModel, setName, setValidator, setWidth, update, validateViewclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddControlChangeListener, clear, enableView, getErrorMessage, getName, isDirty, removeControlChangeListener, validateViewgetBindingResult, refresh, updategetModel, setModelpublic PaginatorView()
public PaginatorView(Paginator paginator)
paginator - the paginator to use as modelpublic void init()
protected JComponent buildPanel()
buildPanel in class AbstractView<Paginator>public void pageChanged(PageChangedEvent event)
pageChanged in interface PaginatorListenerevent - the PaginatorChangedEventpublic void doRefresh()
doRefresh in class ViewSupport<Paginator>public void doUpdate()
doUpdate in class ViewSupport<Paginator>public Icon getNextIcon()
public void setNextIcon(Icon nextIcon)
nextIcon - the nextIcon to setpublic Icon getPreviousIcon()
public void setPreviousIcon(Icon previousIcon)
previousIcon - the previousIcon to setpublic Icon getLastIcon()
public void setLastIcon(Icon lastIcon)
lastIcon - the lastIcond to setpublic Icon getFirstIcon()
public void setFirstIcon(Icon firstIcon)
firstIcon - the firstIcon to setpublic String[] getPageSizes()
public void setPageSizes(String[] pageSizes)
pageSizes - the pageSizes to setpublic Paginator getPaginator()
public void setPaginator(Paginator paginator)
paginator - the paginator to setCopyright © 2014 JDAL. All Rights Reserved.