|
||||||||||
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.table.rowrenderer.Default
public class Default
The default data row renderer.
Constructor Summary | |
---|---|
Default()
|
|
Default(java.lang.Object table)
|
Method Summary | |
---|---|
void |
_postponedUpdateTableContent()
Does a postponed update of the table content. |
void |
_renderFont()
Render the new font and update the table pane content to reflect the font change. |
void |
_styleBgcolEven(java.lang.String value,
java.lang.String old)
Theme styler for color property. |
void |
_styleBgcolFocused(java.lang.String value,
java.lang.String old)
Theme styler for color property. |
void |
_styleBgcolFocusedSelected(java.lang.String value,
java.lang.String old)
Theme styler for color property. |
void |
_styleBgcolOdd(java.lang.String value,
java.lang.String old)
Theme styler for color property. |
void |
_styleBgcolSelected(java.lang.String value,
java.lang.String old)
Theme styler for color property. |
void |
_styleColNormal(java.lang.String value,
java.lang.String old)
Theme styler for color property. |
void |
_styleColSelected(java.lang.String value,
java.lang.String old)
Theme styler for color property. |
void |
_styleFont(Font value)
Utility method to render the given font. |
void |
_updateTableContent()
Update the table pane content to reflect visual changes. |
void |
createRowStyle(java.lang.Object rowInfo)
Create a style string, which will be set as the style property of the row. |
boolean |
getHighlightFocusRow()
Returns the (computed) value of the property highlightFocusRow . |
void |
getRowClass(java.lang.Object rowInfo)
Create a HTML class string, which will be set as the class property of the row. |
void |
initHighlightFocusRow(boolean arg)
Calls the apply method and dispatches the change event of the property highlightFocusRow
with the default value defined by the class developer. |
boolean |
isHighlightFocusRow()
Check whether the (computed) value of the boolean property highlightFocusRow equals true . |
void |
resetHighlightFocusRow()
Resets the user value of the property highlightFocusRow . |
void |
setHighlightFocusRow(boolean arg)
Sets the user value of the property highlightFocusRow . |
boolean |
toggleHighlightFocusRow()
Toggles the (computed) value of the boolean property highlightFocusRow . |
void |
updateDataRowElement(java.lang.Object rowInfo,
java.lang.Object rowElement)
Updates a data row. |
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 Default()
public Default(java.lang.Object table)
Method Detail |
---|
public void _postponedUpdateTableContent()
Does a postponed update of the table content.
public void _renderFont()
Render the new font and update the table pane content to reflect the font change.
public void _styleBgcolEven(java.lang.String value, java.lang.String old)
Theme styler for color property.
public void _styleBgcolFocused(java.lang.String value, java.lang.String old)
Theme styler for color property.
public void _styleBgcolFocusedSelected(java.lang.String value, java.lang.String old)
Theme styler for color property.
public void _styleBgcolOdd(java.lang.String value, java.lang.String old)
Theme styler for color property.
public void _styleBgcolSelected(java.lang.String value, java.lang.String old)
Theme styler for color property.
public void _styleColNormal(java.lang.String value, java.lang.String old)
Theme styler for color property.
public void _styleColSelected(java.lang.String value, java.lang.String old)
Theme styler for color property.
public void _styleFont(Font value)
Utility method to render the given font. Calls the
_renderFont()
method.
public void _updateTableContent()
Update the table pane content to reflect visual changes.
public void createRowStyle(java.lang.Object rowInfo)
IRowRenderer
Create a style string, which will be set as the style property of the row.
createRowStyle
in interface IRowRenderer
public boolean getHighlightFocusRow()
Returns the (computed) value of the property highlightFocusRow
.
For further details take a look at the property definition: highlightFocusRow
.
public void getRowClass(java.lang.Object rowInfo)
IRowRenderer
Create a HTML class string, which will be set as the class property of the row.
getRowClass
in interface IRowRenderer
public void initHighlightFocusRow(boolean arg)
Calls the apply method and dispatches the change event of the property highlightFocusRow
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: highlightFocusRow
.
public boolean isHighlightFocusRow()
Check whether the (computed) value of the boolean property highlightFocusRow
equals true
.
For further details take a look at the property definition: highlightFocusRow
.
public void resetHighlightFocusRow()
Resets the user value of the property highlightFocusRow
.
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: highlightFocusRow
.
public void setHighlightFocusRow(boolean arg)
Sets the user value of the property highlightFocusRow
.
For further details take a look at the property definition: highlightFocusRow
.
public boolean toggleHighlightFocusRow()
Toggles the (computed) value of the boolean property highlightFocusRow
.
For further details take a look at the property definition: highlightFocusRow
.
public void updateDataRowElement(java.lang.Object rowInfo, java.lang.Object rowElement)
IRowRenderer
Updates a data row.
The rowInfo map contains the following properties:
TableModel#getRowData()
updateDataRowElement
in interface IRowRenderer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |