Change-Id: I61233d704eae50447d3ccb5a5c485fe3ef98c436tags/7.5.0.alpha1
* Should be called whenever this bundle is attached to the DOM (typically, | * Should be called whenever this bundle is attached to the DOM (typically, | ||||
* from the onLoad of the containing widget). Used to ensure the DOM scroll | * from the onLoad of the containing widget). Used to ensure the DOM scroll | ||||
* position is maintained when detaching and reattaching the bundle. | * position is maintained when detaching and reattaching the bundle. | ||||
* | |||||
* @since 7.4.1 | |||||
*/ | */ | ||||
public void onLoad() { | public void onLoad() { | ||||
internalSetScrollPos(toInt32(scrollPos)); | internalSetScrollPos(toInt32(scrollPos)); |
* cannot rely on the columns being the correct width after the call | * cannot rely on the columns being the correct width after the call | ||||
* returns. | * returns. | ||||
* | * | ||||
* @since | |||||
* @since 7.4.1 | |||||
*/ | */ | ||||
public void recalculateColumnWidths() { | public void recalculateColumnWidths() { | ||||
autoColumnWidthsRecalculator.schedule(); | autoColumnWidthsRecalculator.schedule(); |
/** | /** | ||||
* Called when the connection to the client has been lost. | * Called when the connection to the client has been lost. | ||||
* | * | ||||
* @since | |||||
* @since 7.4.1 | |||||
*/ | */ | ||||
public void connectionLost() { | public void connectionLost() { | ||||
resource = null; | resource = null; |
* Returns the codebase. | * Returns the codebase. | ||||
* | * | ||||
* @see #setCodebase(String) | * @see #setCodebase(String) | ||||
* @since 7.4 | |||||
* @since 7.4.1 | |||||
* @return Current codebase. | * @return Current codebase. | ||||
*/ | */ | ||||
public String getCodebase() { | public String getCodebase() { | ||||
* Returns the current codetype. | * Returns the current codetype. | ||||
* | * | ||||
* @see #setCodetype(String) | * @see #setCodetype(String) | ||||
* @since 7.4 | |||||
* @since 7.4.1 | |||||
* @return Current codetype. | * @return Current codetype. | ||||
*/ | */ | ||||
public String getCodetype() { | public String getCodetype() { | ||||
* Returns current archive. | * Returns current archive. | ||||
* | * | ||||
* @see #setArchive(String) | * @see #setArchive(String) | ||||
* @since 7.4 | |||||
* @since 7.4.1 | |||||
* @return Current archive. | * @return Current archive. | ||||
*/ | */ | ||||
public String getArchive() { | public String getArchive() { | ||||
/** | /** | ||||
* Returns standby. | * Returns standby. | ||||
* | * | ||||
* @since | |||||
* @since 7.4.1 | |||||
* @return Standby string. | * @return Standby string. | ||||
*/ | */ | ||||
public String getStandby() { | public String getStandby() { | ||||
* | * | ||||
* @see #setParameter(String, String) | * @see #setParameter(String, String) | ||||
* @see #getParameter(String) | * @see #getParameter(String) | ||||
* @since 7.4 | |||||
* @since 7.4.1 | |||||
* @return An iterable with declared parameter names. | * @return An iterable with declared parameter names. | ||||
*/ | */ | ||||
public Iterable<String> getParameterNames() { | public Iterable<String> getParameterNames() { |
* but this method can be used to force recalculation in situations when | * but this method can be used to force recalculation in situations when | ||||
* grid does not recalculate automatically. | * grid does not recalculate automatically. | ||||
* | * | ||||
* @since | |||||
* @since 7.4.1 | |||||
*/ | */ | ||||
public void recalculateColumnWidths() { | public void recalculateColumnWidths() { | ||||
getRpcProxy(GridClientRpc.class).recalculateColumnWidths(); | getRpcProxy(GridClientRpc.class).recalculateColumnWidths(); |