qx.ui.table.rowrenderer
Class Default

java.lang.Object
  extended by qx.core.Object
      extended by qx.core.Target
          extended by qx.ui.table.rowrenderer.Default
All Implemented Interfaces:
IRowRenderer
Direct Known Subclasses:
SimpleTreeDataRowRenderer

public class Default
extends Target
implements IRowRenderer

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

Default

public Default()

Default

public Default(java.lang.Object table)
Method Detail

_postponedUpdateTableContent

public void _postponedUpdateTableContent()

Does a postponed update of the table content.


_renderFont

public void _renderFont()

Render the new font and update the table pane content to reflect the font change.


_styleBgcolEven

public void _styleBgcolEven(java.lang.String value,
                            java.lang.String old)

Theme styler for color property.


_styleBgcolFocused

public void _styleBgcolFocused(java.lang.String value,
                               java.lang.String old)

Theme styler for color property.


_styleBgcolFocusedSelected

public void _styleBgcolFocusedSelected(java.lang.String value,
                                       java.lang.String old)

Theme styler for color property.


_styleBgcolOdd

public void _styleBgcolOdd(java.lang.String value,
                           java.lang.String old)

Theme styler for color property.


_styleBgcolSelected

public void _styleBgcolSelected(java.lang.String value,
                                java.lang.String old)

Theme styler for color property.


_styleColNormal

public void _styleColNormal(java.lang.String value,
                            java.lang.String old)

Theme styler for color property.


_styleColSelected

public void _styleColSelected(java.lang.String value,
                              java.lang.String old)

Theme styler for color property.


_styleFont

public void _styleFont(Font value)

Utility method to render the given font. Calls the _renderFont() method.


_updateTableContent

public void _updateTableContent()

Update the table pane content to reflect visual changes.


createRowStyle

public void createRowStyle(java.lang.Object rowInfo)
Description copied from interface: IRowRenderer

Create a style string, which will be set as the style property of the row.

Specified by:
createRowStyle in interface IRowRenderer

getHighlightFocusRow

public boolean getHighlightFocusRow()

Returns the (computed) value of the property highlightFocusRow.

For further details take a look at the property definition: highlightFocusRow.


getRowClass

public void getRowClass(java.lang.Object rowInfo)
Description copied from interface: IRowRenderer

Create a HTML class string, which will be set as the class property of the row.

Specified by:
getRowClass in interface IRowRenderer

initHighlightFocusRow

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.


isHighlightFocusRow

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.


resetHighlightFocusRow

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.


setHighlightFocusRow

public void setHighlightFocusRow(boolean arg)

Sets the user value of the property highlightFocusRow.

For further details take a look at the property definition: highlightFocusRow.


toggleHighlightFocusRow

public boolean toggleHighlightFocusRow()

Toggles the (computed) value of the boolean property highlightFocusRow.

For further details take a look at the property definition: highlightFocusRow.


updateDataRowElement

public void updateDataRowElement(java.lang.Object rowInfo,
                                 java.lang.Object rowElement)
Description copied from interface: IRowRenderer

Updates a data row.

The rowInfo map contains the following properties:

Specified by:
updateDataRowElement in interface IRowRenderer


Copyright © 2008 1&1. All Rights Reserved.