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

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

Introduction

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

Prototype

byte PANE_UPPER_RIGHT

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

Click Source Link

Usage

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

License:Open Source License

private int getActivePane(String pane) {
    pane = pane.toUpperCase();// www  .j av a  2  s.c om
    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;
}