public class BrowsableEditableData<DataType extends AbstractHibernateObject> extends Object
Modifier and Type | Field and Description |
---|---|
protected EventListenerList |
listeners |
static int |
ST_DELETE |
static int |
ST_INSERT |
static int |
ST_NORECORD |
static int |
ST_UPDATE |
Constructor and Description |
---|
BrowsableEditableData(BrowsableData<DataType> bd,
EditorRecord<DataType> ed,
DirtyManager dirty)
Creates a new instance of BrowsableEditableData
|
BrowsableEditableData(ListProvider<DataType> dataprov,
Comparator<DataType> c,
EditorRecord<DataType> ed,
DirtyManager dirty) |
BrowsableEditableData(ListProvider<DataType> dataprov,
EditorRecord<DataType> ed,
DirtyManager dirty) |
public static final int ST_NORECORD
public static final int ST_UPDATE
public static final int ST_DELETE
public static final int ST_INSERT
protected EventListenerList listeners
public BrowsableEditableData(BrowsableData<DataType> bd, EditorRecord<DataType> ed, DirtyManager dirty)
public BrowsableEditableData(ListProvider<DataType> dataprov, Comparator<DataType> c, EditorRecord<DataType> ed, DirtyManager dirty)
public BrowsableEditableData(ListProvider<DataType> dataprov, EditorRecord<DataType> ed, DirtyManager dirty)
public final ListModel getListModel()
public final boolean isAdjusting()
public final int getIndex()
public final void addStateListener(StateListener l)
public final void removeStateListener(StateListener l)
public final void addEditorListener(EditorListener l)
public final void removeEditorListener(EditorListener l)
public final void addBrowseListener(BrowseListener l)
public final void removeBrowseListener(BrowseListener l)
public int getState()
protected void fireDataBrowse()
public boolean canLoadData()
public boolean canInsertData()
public boolean canDeleteData()
public boolean canUpdateData()
public void refreshCurrent()
public void moveTo(int i) throws BasicException
BasicException
public void refreshData() throws BasicException
BasicException
public void loadData() throws BasicException
BasicException
public void unloadData() throws BasicException
BasicException
public void sort(Comparator<DataType> c) throws BasicException
BasicException
public final void movePrev() throws BasicException
BasicException
public final void moveNext() throws BasicException
BasicException
public final void moveFirst() throws BasicException
BasicException
public final void moveLast() throws BasicException
BasicException
public final int findNext(Finder f) throws BasicException
BasicException
public void saveData() throws BasicException
BasicException
public void actionReloadCurrent(Component c)
public boolean actionClosingForm(Component c) throws BasicException
BasicException
public final void actionLoad() throws BasicException
BasicException
public final void actionInsert() throws BasicException
BasicException
public final void actionDelete() throws BasicException
BasicException
public final void removeCurrent() throws BasicException
BasicException
public final void updateCurrent(DataType value) throws BasicException
BasicException
public final void insertCurrent(DataType value) throws BasicException
BasicException
public BrowsableData<DataType> getBrowsableData()
public boolean isDisplayingTransients()
public void setDisplayingTransients(boolean canContainTransients)
canContainTransients
- the canContainTransients to setCopyright © 2021. All rights reserved.