Class WorkbookView
java.lang.Object
com.independentsoft.office.spreadsheet.WorkbookView
The Class WorkbookView.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()intGets the active sheet index.intGets the first sheet.intGets the sheet tab ratio.intGets the upper left corner x.intGets the upper left corner y.Gets the visibility state.intGets the window height.intGets the window width.booleanChecks if is auto filter date grouping.booleanChecks if is minimized.booleanChecks if is show horizontal scroll.booleanChecks if is show sheet tabs.booleanChecks if is show vertical scroll.voidsetActiveSheetIndex(int activeSheetIndex)Sets the active sheet index.voidsetAutoFilterDateGrouping(boolean autoFilterDateGrouping)Sets the auto filter date grouping.voidsetFirstSheet(int firstSheet)Sets the first sheet.voidsetMinimized(boolean minimized)Sets the minimized.voidsetSheetTabRatio(int sheetTabRatio)Sets the sheet tab ratio.voidsetShowHorizontalScroll(boolean showHorizontalScroll)Sets the show horizontal scroll.voidsetShowSheetTabs(boolean showSheetTabs)Sets the show sheet tabs.voidsetShowVerticalScroll(boolean showVerticalScroll)Sets the show vertical scroll.voidsetUpperLeftCornerX(int upperLeftCornerX)Sets the upper left corner x.voidsetUpperLeftCornerY(int upperLeftCornerY)Sets the upper left corner y.voidsetVisibilityState(SheetVisibilityType visibilityState)Sets the visibility state.voidsetWindowHeight(int windowHeight)Sets the window height.voidsetWindowWidth(int windowWidth)Sets the window width.toString()
-
Constructor Details
-
WorkbookView
public WorkbookView()Instantiates a new workbook view.
-
-
Method Details
-
clone
-
toString
-
getActiveSheetIndex
public int getActiveSheetIndex()Gets the active sheet index.- Returns:
- the active sheet index
-
setActiveSheetIndex
public void setActiveSheetIndex(int activeSheetIndex)Sets the active sheet index.- Parameters:
activeSheetIndex- the new active sheet index
-
isAutoFilterDateGrouping
public boolean isAutoFilterDateGrouping()Checks if is auto filter date grouping.- Returns:
- true, if is auto filter date grouping
-
setAutoFilterDateGrouping
public void setAutoFilterDateGrouping(boolean autoFilterDateGrouping)Sets the auto filter date grouping.- Parameters:
autoFilterDateGrouping- the new auto filter date grouping
-
getFirstSheet
public int getFirstSheet()Gets the first sheet.- Returns:
- the first sheet
-
setFirstSheet
public void setFirstSheet(int firstSheet)Sets the first sheet.- Parameters:
firstSheet- the new first sheet
-
isMinimized
public boolean isMinimized()Checks if is minimized.- Returns:
- true, if is minimized
-
setMinimized
public void setMinimized(boolean minimized)Sets the minimized.- Parameters:
minimized- the new minimized
-
isShowHorizontalScroll
public boolean isShowHorizontalScroll()Checks if is show horizontal scroll.- Returns:
- true, if is show horizontal scroll
-
setShowHorizontalScroll
public void setShowHorizontalScroll(boolean showHorizontalScroll)Sets the show horizontal scroll.- Parameters:
showHorizontalScroll- the new show horizontal scroll
-
isShowSheetTabs
public boolean isShowSheetTabs()Checks if is show sheet tabs.- Returns:
- true, if is show sheet tabs
-
setShowSheetTabs
public void setShowSheetTabs(boolean showSheetTabs)Sets the show sheet tabs.- Parameters:
showSheetTabs- the new show sheet tabs
-
isShowVerticalScroll
public boolean isShowVerticalScroll()Checks if is show vertical scroll.- Returns:
- true, if is show vertical scroll
-
setShowVerticalScroll
public void setShowVerticalScroll(boolean showVerticalScroll)Sets the show vertical scroll.- Parameters:
showVerticalScroll- the new show vertical scroll
-
getSheetTabRatio
public int getSheetTabRatio()Gets the sheet tab ratio.- Returns:
- the sheet tab ratio
-
setSheetTabRatio
public void setSheetTabRatio(int sheetTabRatio)Sets the sheet tab ratio.- Parameters:
sheetTabRatio- the new sheet tab ratio
-
getVisibilityState
Gets the visibility state.- Returns:
- the visibility state
-
setVisibilityState
Sets the visibility state.- Parameters:
visibilityState- the new visibility state
-
getWindowHeight
public int getWindowHeight()Gets the window height.- Returns:
- the window height
-
setWindowHeight
public void setWindowHeight(int windowHeight)Sets the window height.- Parameters:
windowHeight- the new window height
-
getWindowWidth
public int getWindowWidth()Gets the window width.- Returns:
- the window width
-
setWindowWidth
public void setWindowWidth(int windowWidth)Sets the window width.- Parameters:
windowWidth- the new window width
-
getUpperLeftCornerX
public int getUpperLeftCornerX()Gets the upper left corner x.- Returns:
- the upper left corner x
-
setUpperLeftCornerX
public void setUpperLeftCornerX(int upperLeftCornerX)Sets the upper left corner x.- Parameters:
upperLeftCornerX- the new upper left corner x
-
getUpperLeftCornerY
public int getUpperLeftCornerY()Gets the upper left corner y.- Returns:
- the upper left corner y
-
setUpperLeftCornerY
public void setUpperLeftCornerY(int upperLeftCornerY)Sets the upper left corner y.- Parameters:
upperLeftCornerY- the new upper left corner y
-