|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectLumiSoft.UI.Controls.Grid.WGridTableView
public class WGridTableView
Provides tabular data view for WGridControl
| Constructor Summary | |
|---|---|
WGridTableView(WGridControl grid)
Default constructor. |
|
| Method Summary | |
|---|---|
void |
ClearSelection()
Clears view selected rows. |
WGridTableView |
Clone()
Clones grid view. |
void |
DeleteActiveRow()
Deletes active row. |
void |
Dispose()
Clean up any resources being used. |
WGridColumn |
getActiveColumn()
Gets active cell column or null if no current cell. |
WBaseEditor |
getActiveEditor()
Gets currently active editor or null if no active editor. |
DataRowView |
getActiveRow()
Gets currently active row or null if no active row. |
boolean |
getAllowAppendNewRow()
Gets if view allows user to add new rows. |
boolean |
getAllowEdit()
Gets if data is editable. |
boolean |
getAllowMultiSelect()
Gets if multiple selection is allowed. |
boolean |
getAllowReorderColumns()
Gets if columns reordering is allowed. |
boolean |
getAllowSort()
Gets if view is sortable. |
java.awt.Rectangle |
getBounds()
Gets view bounding rectangle. |
WGridColumns |
getColumns()
Gets columns collection. |
DataRelation |
getDataRelation()
Gets detail view datarelation. |
DataView |
getDataSource()
Gets grid data source. |
WGridTableView |
getDetailView()
Gets detail view of this view. |
boolean |
getEnterKeyDoubleClicks()
Gets if enter key simulates mouse double click or moves next. |
WGridControl |
getGrid()
Gets view owner grid control. |
boolean |
getMasterDetail()
Gets is view is master/detail view. |
DataRowView[] |
getSelectedRows()
Returns currently selected rows. |
boolean |
getShowColumns()
Gets if columns are visible. |
boolean |
getShowCurrentCell()
Gets if current cell is shown. |
boolean |
getShowFooter()
Gets if footer is visible. |
boolean |
getShowHorizontalGridlines()
Gets if vertical grid lines are shwon. |
boolean |
getShowMaximizeForMainView()
Gets if maximize/minimaize button is shown to Main grid view. |
boolean |
getShowRowIndicators()
Gets if row indicators are visible. |
boolean |
getShowVerticalGridlines()
Gets if vertical grid lines are shwon. |
java.lang.Object |
getTag()
Gets tag (user data). |
boolean |
IsActiveRowModified()
Gets if active row is modified. |
void |
MoveNext()
Moves current column to next column or if last column, then moves to next row. |
void |
Process_keyPressed(java.awt.event.KeyEvent e)
|
void |
Repaint()
Repaints table view. |
void |
SelectFirstEditableColumn()
Selects first editable column in active row. |
void |
setAllowAppendNewRow(boolean value)
Sets if view allows user to add new rows. |
void |
setAllowEdit(boolean value)
Sets if data is editable. |
void |
setAllowMultiSelect(boolean value)
Sets if multiple selection is allowed. |
void |
setAllowReorderColumns(boolean value)
Sets if columns reordering is allowed. |
void |
setAllowSort(boolean value)
Sets is view is sortable. |
void |
setDataRelation(DataRelation value)
Sets detail view datarelation. |
void |
setDataSource(DataTable table)
Sets grid data source. |
void |
setDataSource(DataView table)
Sets grid data source. |
void |
setDetailView(WGridTableView value)
Sets detail view of this view. |
void |
setEnterKeyDoubleClicks(boolean value)
Sets if enter key simulates mouse double click or moves next. |
void |
setShowColumns(boolean value)
Sets if columns are visible. |
void |
setShowCurrentCell(boolean value)
Sets if current cell is shown. |
void |
setShowFooter(boolean value)
Sets if foother is visible. |
void |
setShowHorizontalGridlines(boolean value)
Sets if vertical grid lines are shwon. |
void |
setShowMaximizeForMainView(boolean value)
Sets if maximize/minimaize button is shown to Main grid view. |
void |
setShowRowIndicators(boolean value)
Sets if row indicators are visible. |
void |
setShowVerticalGridlines(boolean value)
Sets if vertical grid lines are shwon. |
void |
UndoRow()
Restores active row default values. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WGridTableView(WGridControl grid)
grid - | Method Detail |
|---|
public void Dispose()
public WGridTableView Clone()
throws java.lang.Exception
java.lang.Exceptionpublic void Repaint()
public void Process_keyPressed(java.awt.event.KeyEvent e)
public void ClearSelection()
public void SelectFirstEditableColumn()
public boolean IsActiveRowModified()
public void DeleteActiveRow()
public void MoveNext()
public void UndoRow()
public DataView getDataSource()
public void setDataSource(DataTable table)
table - public void setDataSource(DataView table)
table - public WGridTableView getDetailView()
public void setDetailView(WGridTableView value)
value - public DataRelation getDataRelation()
public void setDataRelation(DataRelation value)
value - public boolean getMasterDetail()
public boolean getAllowEdit()
public void setAllowEdit(boolean value)
value - public boolean getAllowAppendNewRow()
public void setAllowAppendNewRow(boolean value)
value - public boolean getAllowSort()
public void setAllowSort(boolean value)
value - public boolean getAllowMultiSelect()
public void setAllowMultiSelect(boolean value)
value - public boolean getAllowReorderColumns()
public void setAllowReorderColumns(boolean value)
value - public boolean getEnterKeyDoubleClicks()
public void setEnterKeyDoubleClicks(boolean value)
value - public boolean getShowMaximizeForMainView()
public void setShowMaximizeForMainView(boolean value)
public boolean getShowColumns()
public void setShowColumns(boolean value)
value - public boolean getShowRowIndicators()
public void setShowRowIndicators(boolean value)
value - public boolean getShowFooter()
public void setShowFooter(boolean value)
value - public boolean getShowCurrentCell()
public void setShowCurrentCell(boolean value)
value - public boolean getShowVerticalGridlines()
public void setShowVerticalGridlines(boolean value)
value - public boolean getShowHorizontalGridlines()
public void setShowHorizontalGridlines(boolean value)
value - public WGridColumns getColumns()
public java.awt.Rectangle getBounds()
public WBaseEditor getActiveEditor()
public WGridColumn getActiveColumn()
public DataRowView getActiveRow()
public DataRowView[] getSelectedRows()
public java.lang.Object getTag()
public WGridControl getGrid()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||