Example usage for org.apache.poi.ss.usermodel Sheet PANE_LOWER_RIGHT

List of usage examples for org.apache.poi.ss.usermodel Sheet PANE_LOWER_RIGHT

Introduction

In this page you can find the example usage for org.apache.poi.ss.usermodel Sheet PANE_LOWER_RIGHT.

Prototype

byte PANE_LOWER_RIGHT

To view the source code for org.apache.poi.ss.usermodel Sheet PANE_LOWER_RIGHT.

Click Source Link

Usage

From source file:com.miraisolutions.xlconnect.Workbook.java

License:Open Source License

public void createSplitPane(int sheetIndex, int xSplitPos, int ySplitPos, int leftColumn, int topRow) {
    getSheet(sheetIndex).createSplitPane(xSplitPos, ySplitPos, leftColumn, topRow, Sheet.PANE_LOWER_RIGHT);
}

From source file:org.alanwilliamson.openbd.plugin.spreadsheet.functions.SpreadsheetAddSplitPane.java

License:Open Source License

private int getActivePane(String pane) {
    pane = pane.toUpperCase();/*from   w w  w  . j a va  2  s.  c  o  m*/
    if (pane.equals("PANE_LOWER_RIGHT"))
        return Sheet.PANE_LOWER_RIGHT;
    else if (pane.equals("PANE_LOWER_LEFT"))
        return Sheet.PANE_LOWER_LEFT;
    else if (pane.equals("PANE_UPPER_RIGHT"))
        return Sheet.PANE_UPPER_RIGHT;
    else if (pane.equals("PANE_LOWER_RIGHT"))
        return Sheet.PANE_LOWER_RIGHT;
    else
        return Sheet.PANE_LOWER_LEFT;
}