接口 IWorkbookView


public interface IWorkbookView
Represents the view settings of this workbook.
  • 方法详细资料

    • getDisplayHorizontalScrollBar

      boolean getDisplayHorizontalScrollBar()
      True if the horizontal scroll bar is displayed.
    • setDisplayHorizontalScrollBar

      void setDisplayHorizontalScrollBar(boolean value)
      Sets the horizontal scroll bar is displayed. Read/write Boolean.
    • getDisplayVerticalScrollBar

      boolean getDisplayVerticalScrollBar()
      True if the vertical scroll bar is displayed.
    • setDisplayVerticalScrollBar

      void setDisplayVerticalScrollBar(boolean value)
      Sets the vertical scroll bar is displayed. Read/write Boolean.
    • getTabRatio

      double getTabRatio()
      Returns or sets the ratio of the width of the workbook's tab area to the width of the window's horizontal scroll bar (as a number between 0 (zero) and 1; The default value is 0.6).
    • setTabRatio

      void setTabRatio(double value)
      Sets the ratio of the width of the workbook's tab area to the width of the window's horizontal scroll bar (as a number between 0 (zero) and 1; the default value is 0.6). Read/write Double.
    • getDisplayWorkbookTabs

      boolean getDisplayWorkbookTabs()
      True if the workbook tabs are displayed.
    • setDisplayWorkbookTabs

      void setDisplayWorkbookTabs(boolean value)
      Sets if display the workbook tabs.
    • getBackColor

      Color getBackColor()
      Get background color of all worksheets. SpreadJS only.
      返回:
    • setBackColor

      void setBackColor(Color color)
      Set background color of all worksheets. SpreadJS only.
      参数:
      color -
    • getGrayAreaBackColor

      Color getGrayAreaBackColor()
      Get background color of workbook gray area. SpreadJS only.
      返回:
    • setGrayAreaBackColor

      void setGrayAreaBackColor(Color color)
      Set background color of workbook gray area. SpreadJS only.
      参数:
      color -
    • getTabNavigationVisible

      boolean getTabNavigationVisible()
      Gets whether to display navigation buttons in the workbook. SpreadJS only.
    • setTabNavigationVisible

      void setTabNavigationVisible(boolean value)
      Sets whether to display navigation buttons in the workbook. SpreadJS only.
    • getTabEditable

      boolean getTabEditable()
      Gets whether to allow editing of the worksheet name. SpreadJS only.
    • setTabEditable

      void setTabEditable(boolean value)
      Sets whether to allow editing of the worksheet name. SpreadJS only.
    • getAllowSheetReorder

      boolean getAllowSheetReorder()
      Gets whether to allow reordering of worksheet tabs. SpreadJS only.
    • setAllowSheetReorder

      void setAllowSheetReorder(boolean value)
      Sets whether to allow reordering of worksheet tabs. SpreadJS only.
    • getNewTabVisible

      boolean getNewTabVisible()
      Gets whether to show the New Tab button. SpreadJS only.
    • setNewTabVisible

      void setNewTabVisible(boolean value)
      Sets whether to show the New Tab button. SpreadJS only.
    • getTabStripPosition

      SpreadJSTabStripPosition getTabStripPosition()
      Gets the position of tab strip relative to the workbook. SpreadJS only.
    • setTabStripPosition

      void setTabStripPosition(SpreadJSTabStripPosition value)
      Sets the position of tab strip relative to the workbook. SpreadJS only.
    • getTabStripWidth

      int getTabStripWidth()
      Gets the width of tab strip. SpreadJS only.
    • setTabStripWidth

      void setTabStripWidth(int value)
      Sets the width of tab strip. SpreadJS only.
    • getNumbersFitMode

      NumbersFitMode getNumbersFitMode()
      Gets the display mode when date/number data width longer than column width. SpreadJS only.
    • setNumbersFitMode

      void setNumbersFitMode(NumbersFitMode value)
      Sets the display mode when date/number data width longer than column width. SpreadJS only.