public interface

ResizeEditorBean

implements ReportFrameElement ViewBeanParserBean
com.microstrategy.web.app.beans.ResizeEditorBean

Class Overview

The ResizeEditorBean is for the "Resize columns and rows" dialog. You can open the editor/dialog by clicking the menu item at Format \ Grid Layout \ Resize Columns and Rows. You can achieve the resizing funtion only if 1) the report is not in graph mode 2) the report is not in outline mode 3) the browser is IE later than 5.0 version

Summary

[Expand]
Inherited Constants
From interface com.microstrategy.utils.serialization.EnumWebPersistableState
From interface com.microstrategy.web.app.beans.AppComponent
Public Methods
abstract int getDefaultGridWidth()
abstract int getDefaultHeaderWidth()
abstract WebGridWidths getGridWidths()
Retrieves the widths information for the associated grid
abstract boolean isOptionsVisible()
abstract void setOptionsVisible(boolean visible)
Set whether the options in the resize editor are visible
[Expand]
Inherited Methods
From interface com.microstrategy.utils.serialization.Persistable
From interface com.microstrategy.web.app.beans.AppComponent
From interface com.microstrategy.web.app.beans.FrameElement
From interface com.microstrategy.web.app.beans.ReportFrameElement
From interface com.microstrategy.web.app.beans.ViewBeanParserBean
From interface com.microstrategy.web.beans.RequestPersistable
From interface com.microstrategy.web.beans.Transformable
From interface com.microstrategy.web.beans.WebComponent

Public Methods

public abstract int getDefaultGridWidth ()

Returns
  • the default grid width for the report if the report instance had default grid width not equal to -1, the method returns this value; or else it returns the preference value for EnumWebPreferences.WebPreferenceGridDefaultGridWidth

public abstract int getDefaultHeaderWidth ()

Returns
  • the default header width for the report if the report instance had default header width not equal to -1, the method returns this value; or else it returns the preference value for EnumWebPreferences.WebPreferenceGridDefaultHeaderWidth

public abstract WebGridWidths getGridWidths ()

Retrieves the widths information for the associated grid

Returns

public abstract boolean isOptionsVisible ()

Returns
  • whether the options in the resize editor are visible It's used in DHTML mode, as user can resize the column widths by drag and drop without using the editor's dropdown and textboxes.

public abstract void setOptionsVisible (boolean visible)

Set whether the options in the resize editor are visible

Parameters
visible whether the options are visible