com.f1j.ss
Interface SheetView


public interface SheetView
extends Lockable

An object representing a view state for a sheet. "View state" refers to settings such as selected cells, frozen panes, etc.

The SheetView is the part of the BookView that is specific to each sheet in the workbook. A BookView contains one SheetView for each sheet. See BookView for more information.

Since:
12.0
See Also:
BookView, BookView.getSheetView(Sheet), BookView.getSheetView(int), BookView.getActiveSheetView()

Method Summary
 BookView getBookView()
           
 Sheet getSheet()
           
 boolean isSheetSelected()
           
 void setSheetSelected(boolean selected)
          Selects or unselects the sheet.
 
Methods inherited from interface com.f1j.util.Lockable
getLock, releaseLock
 

Method Detail

getBookView

public BookView getBookView()
Returns:
The BookView to which this SheetView belongs.
Since:
12.0

getSheet

public Sheet getSheet()
Returns:
The Sheet associated with this SheetView.
Since:
12.0

isSheetSelected

public boolean isSheetSelected()
Returns:
true if the sheet is selected; otherwise false.
Since:
12.0
See Also:
setSheetSelected(boolean)

setSheetSelected

public void setSheetSelected(boolean selected)

Selects or unselects the sheet.

This method will not select a hidden sheet, and it will not unselect the active sheet. If either of these conditions arise, the method will have no effect.

Parameters:
selected - true to select the sheet; false to unselect it
Since:
12.0
See Also:
isSheetSelected()