public class GridManager
extends java.lang.Object
Panel
instance, the life of the main Table
object, by having it working on
a built-in instance of a NavigationBuffer
class.
The loading of data, the updating of the Table upon deletion or adding of
records are responsibility of this class. Also the exchange of data between
the components on the panel (a DataAccessPanel
in this case) and the
currently selected row, when the record changes or when the selection
changes, is another task of the class.
The class manages also the association between the rows of the Table and the
possibly existing set of AnalogicalRowSelector
objects coordinating
the selection status of them.
At last the class makes easy the access to the work buffer.
Table
,
NavigatorBuffer
,
Panel
,
DataAccessPanel
,
AnalogicalRowSelector
Modifier and Type | Class and Description |
---|---|
static interface |
GridManager.IRenderAnalogicalSelector |
Modifier and Type | Field and Description |
---|---|
JotyDialog |
m_dialog |
NavigatorBuffer |
m_gridBuffer |
ScrollGridPane |
m_listComponent |
GridManager.IRenderAnalogicalSelector |
m_renderAnalogicalSelector |
java.util.Vector<java.lang.Boolean> |
m_selectorHeavyStates |
java.util.HashMap<java.lang.Long,AnalogicalRowSelector> |
m_selectorMap |
TermContainerPanel |
m_termContainerPanel |
Constructor and Description |
---|
GridManager() |
GridManager(TermContainerPanel termContainerPanel) |
Modifier and Type | Method and Description |
---|---|
void |
clearPreviousAnalogSelection() |
void |
enable() |
void |
ensureSelectionIsVisible() |
long |
getCurrId() |
int |
getFieldIndex(java.lang.String fieldName) |
ScrollGridPane |
getListComponent() |
int |
getRowQty() |
void |
manageAnalogSelection(long rowKeyValue,
boolean master) |
void |
removeAll() |
void |
renderHeavyStatus(int row) |
void |
renderOnAppend(int iDim) |
void |
setCurSel(int nSelect) |
void |
setHeavyStatus(int row,
boolean heavy) |
void |
setSelectionOnKeyVal(long keyVal) |
void |
storeSelectedValues(java.lang.String keyFieldName) |
public TermContainerPanel m_termContainerPanel
public NavigatorBuffer m_gridBuffer
public JotyDialog m_dialog
public ScrollGridPane m_listComponent
public java.util.HashMap<java.lang.Long,AnalogicalRowSelector> m_selectorMap
public GridManager.IRenderAnalogicalSelector m_renderAnalogicalSelector
public java.util.Vector<java.lang.Boolean> m_selectorHeavyStates
public GridManager()
public GridManager(TermContainerPanel termContainerPanel)
public void clearPreviousAnalogSelection()
public void enable()
public void ensureSelectionIsVisible()
public long getCurrId()
public int getFieldIndex(java.lang.String fieldName)
public ScrollGridPane getListComponent()
public int getRowQty()
public void manageAnalogSelection(long rowKeyValue, boolean master)
public void removeAll()
public void renderHeavyStatus(int row)
public void renderOnAppend(int iDim)
public void setCurSel(int nSelect)
public void setHeavyStatus(int row, boolean heavy)
public void setSelectionOnKeyVal(long keyVal)
public void storeSelectedValues(java.lang.String keyFieldName)