|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectqx.core.Object
qx.core.Target
qx.ui.core.Widget
qx.ui.basic.Terminator
qx.ui.table.pane.Pane
public class Pane
The table pane that shows a certain section from a table. This class handles the display of the data part of a table and is therefore the base for virtual scrolling.
Field Summary |
---|
Fields inherited from class qx.ui.core.Widget |
---|
AUTO |
Constructor Summary | |
---|---|
Pane()
|
|
Pane(Scroller paneScroller)
|
Method Summary | |
---|---|
void |
_afterAppear()
|
void |
_applyFirstVisibleRow(int value,
int old)
Applies changes of the property value of the property firstVisibleRow . |
void |
_applyMaxCacheLines(int value,
int old)
Applies changes of the property value of the property maxCacheLines . |
void |
_applyVisibleRowCount(int value,
int old)
Applies changes of the property value of the property visibleRowCount . |
java.lang.String |
_getRowsHtml(java.lang.Integer firstRow,
java.lang.Integer rowCount)
Get the HTML table fragment for the given row range. |
void |
_onColOrderChanged(java.lang.Object evt)
Event handler. |
void |
_onColWidthChanged(java.lang.Object evt)
Event handler. |
void |
_onFocusChanged(java.lang.Object evt)
Event handler. |
void |
_onPaneModelChanged(java.lang.Object evt)
Event handler. |
void |
_onSelectionChanged(java.lang.Object evt)
Event handler. |
void |
_onTableModelDataChanged(java.lang.Object evt)
Event handler. |
void |
_onTableModelMetaDataChanged(java.lang.Object evt)
Event handler. |
void |
_scrollContent(java.lang.Integer rowOffset)
Scrolls the pane’s contents by the given offset. |
void |
_updateAllRows()
Updates the content of the pane (implemented using array joins). |
void |
_updateContent(boolean completeUpdate,
java.lang.Integer scrollOffset,
java.lang.Integer onlyRow,
boolean onlySelectionOrFocusChanged)
Updates the content of the pane. |
void |
_updateRowStyles(java.lang.Object onlyRow)
If only focus or selection changes it is sufficient to only update the row styles. |
int |
getFirstVisibleRow()
Returns the (computed) value of the property firstVisibleRow . |
int |
getMaxCacheLines()
Returns the (computed) value of the property maxCacheLines . |
Scroller |
getPaneScroller()
Returns the TablePaneScroller this pane belongs to. |
Table |
getTable()
Returns the table this pane belongs to. |
int |
getVisibleRowCount()
Returns the (computed) value of the property visibleRowCount . |
void |
initFirstVisibleRow(int arg)
Calls the apply method and dispatches the change event of the property firstVisibleRow
with the default value defined by the class developer. |
void |
initMaxCacheLines(int arg)
Calls the apply method and dispatches the change event of the property maxCacheLines
with the default value defined by the class developer. |
void |
initVisibleRowCount(int arg)
Calls the apply method and dispatches the change event of the property visibleRowCount
with the default value defined by the class developer. |
void |
resetFirstVisibleRow()
Resets the user value of the property firstVisibleRow . |
void |
resetMaxCacheLines()
Resets the user value of the property maxCacheLines . |
void |
resetVisibleRowCount()
Resets the user value of the property visibleRowCount . |
void |
setFirstVisibleRow(int arg)
Sets the user value of the property firstVisibleRow . |
void |
setFocusedCell(java.lang.Integer col,
java.lang.Integer row,
boolean massUpdate)
Sets the currently focused cell. |
void |
setMaxCacheLines(int arg)
Sets the user value of the property maxCacheLines . |
void |
setVisibleRowCount(int arg)
Sets the user value of the property visibleRowCount . |
Methods inherited from class qx.ui.basic.Terminator |
---|
_computeBoxHeightFallback, _computeBoxWidthFallback, _computePreferredInnerHeight, _computePreferredInnerWidth, _isHeightEssential, _isWidthEssential, _layoutPost, _postApply, _renderContent, renderPadding |
Methods inherited from class qx.core.Target |
---|
_dispatchEvent, addChangeSelectionListener, addChangeValueListener, addEventListener, addExecuteListener, addJavaEventListener, createDispatchChangeEvent, createDispatchDataEvent, createDispatchEvent, dispatchEvent, hasEventListeners, removeEventListener |
Methods inherited from class qx.core.Object |
---|
_disposeFields, _disposeObjectDeep, _disposeObjects, base, dispose, get, getDisposed, isDisposed, reset, self, set, toHashCode, toString_ |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Pane()
public Pane(Scroller paneScroller)
Method Detail |
---|
public void _afterAppear()
_afterAppear
in class Widget
public void _applyFirstVisibleRow(int value, int old)
Applies changes of the property value of the property firstVisibleRow
.
For further details take a look at the property definition: _applyFirstVisibleRow(int, int)
.
public void _applyMaxCacheLines(int value, int old)
Applies changes of the property value of the property maxCacheLines
.
For further details take a look at the property definition: _applyMaxCacheLines(int, int)
.
public void _applyVisibleRowCount(int value, int old)
Applies changes of the property value of the property visibleRowCount
.
For further details take a look at the property definition: _applyVisibleRowCount(int, int)
.
public java.lang.String _getRowsHtml(java.lang.Integer firstRow, java.lang.Integer rowCount)
Get the HTML table fragment for the given row range.
public void _onColOrderChanged(java.lang.Object evt)
Event handler. Called the column order has changed.
public void _onColWidthChanged(java.lang.Object evt)
Event handler. Called when the width of a column has changed.
public void _onFocusChanged(java.lang.Object evt)
Event handler. Called when the table gets or looses the focus.
public void _onPaneModelChanged(java.lang.Object evt)
Event handler. Called when the pane model has changed.
public void _onSelectionChanged(java.lang.Object evt)
Event handler. Called when the selection has changed.
public void _onTableModelDataChanged(java.lang.Object evt)
Event handler. Called when the table model data has changed.
public void _onTableModelMetaDataChanged(java.lang.Object evt)
Event handler. Called when the table model meta data has changed.
public void _scrollContent(java.lang.Integer rowOffset)
Scrolls the pane’s contents by the given offset.
public void _updateAllRows()
Updates the content of the pane (implemented using array joins).
public void _updateContent(boolean completeUpdate, java.lang.Integer scrollOffset, java.lang.Integer onlyRow, boolean onlySelectionOrFocusChanged)
Updates the content of the pane.
public void _updateRowStyles(java.lang.Object onlyRow)
If only focus or selection changes it is sufficient to only update the row styles. This method updates the row styles of all visible rows or of just one row.
public int getFirstVisibleRow()
Returns the (computed) value of the property firstVisibleRow
.
For further details take a look at the property definition: firstVisibleRow
.
public int getMaxCacheLines()
Returns the (computed) value of the property maxCacheLines
.
For further details take a look at the property definition: maxCacheLines
.
public Scroller getPaneScroller()
Returns the TablePaneScroller this pane belongs to.
public Table getTable()
Returns the table this pane belongs to.
public int getVisibleRowCount()
Returns the (computed) value of the property visibleRowCount
.
For further details take a look at the property definition: visibleRowCount
.
public void initFirstVisibleRow(int arg)
Calls the apply method and dispatches the change event of the property firstVisibleRow
with the default value defined by the class developer. This function can
only be called from the constructor of a class.
For further details take a look at the property definition: firstVisibleRow
.
public void initMaxCacheLines(int arg)
Calls the apply method and dispatches the change event of the property maxCacheLines
with the default value defined by the class developer. This function can
only be called from the constructor of a class.
For further details take a look at the property definition: maxCacheLines
.
public void initVisibleRowCount(int arg)
Calls the apply method and dispatches the change event of the property visibleRowCount
with the default value defined by the class developer. This function can
only be called from the constructor of a class.
For further details take a look at the property definition: visibleRowCount
.
public void resetFirstVisibleRow()
Resets the user value of the property firstVisibleRow
.
The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.
For further details take a look at the property definition: firstVisibleRow
.
public void resetMaxCacheLines()
Resets the user value of the property maxCacheLines
.
The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.
For further details take a look at the property definition: maxCacheLines
.
public void resetVisibleRowCount()
Resets the user value of the property visibleRowCount
.
The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.
For further details take a look at the property definition: visibleRowCount
.
public void setFirstVisibleRow(int arg)
Sets the user value of the property firstVisibleRow
.
For further details take a look at the property definition: firstVisibleRow
.
public void setFocusedCell(java.lang.Integer col, java.lang.Integer row, boolean massUpdate)
Sets the currently focused cell.
public void setMaxCacheLines(int arg)
Sets the user value of the property maxCacheLines
.
For further details take a look at the property definition: maxCacheLines
.
public void setVisibleRowCount(int arg)
Sets the user value of the property visibleRowCount
.
For further details take a look at the property definition: visibleRowCount
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |